Retrieves the nps evolution for a location on a company by the location_id and company_id on a range of -100 to 100
-
path
company_id
-
Id of the company
Type:
Integer
-
path
location_id
-
Id of the location
Type:
Integer
-
query
group_by
-
Group the result set
Type:
string
Default:
day
Enum:
day,week,month
-
query
start
-
Start date, can't be older than 1 year
Type:
string
Format:
YYYY-MM-DD
Default:
1 month ago
Example:
2019-08-01
-
query
end
-
End date, can't be today, in the future or before start
Type:
string
Format:
YYYY-MM-DD
Default:
yesterday
Example:
2019-08-15
- 200
- Success
- 401
- Access Denied
- 403
- Access Forbidden
- 404
- Not Found
[
{
"val": "52.24",
"date": "2019-02-05"
},
{
"val": "54.64",
"date": "2019-02-06"
}
]