CRM
Get v1crmanalyticswon lost trend
GET
/
v1
/
crm
/
analytics
/
won-lost-trend
cURL
curl --request GET \
--url https://api.wazapin.com/v1/crm/analytics/won-lost-trendconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/crm/analytics/won-lost-trend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/analytics/won-lost-trend"
response = requests.get(url)
print(response.text){
"items": [
{
"day": "<string>",
"lost": 123,
"won": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}⌘I
cURL
curl --request GET \
--url https://api.wazapin.com/v1/crm/analytics/won-lost-trendconst options = {method: 'GET'};
fetch('https://api.wazapin.com/v1/crm/analytics/won-lost-trend', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.wazapin.com/v1/crm/analytics/won-lost-trend"
response = requests.get(url)
print(response.text){
"items": [
{
"day": "<string>",
"lost": 123,
"won": 123
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": [
{
"message": "<string>",
"code": "<string>",
"field": "<string>",
"location": "<string>"
}
],
"request_id": "<string>"
}
}