Events by country
Purpose
This API provides the events summary by country.
Request URL
https://apptics.zoho.com/cx/api/v1/event/countrysummary
Request body (JSON)
Parameter | Type | Data type | Allowed values | Description |
startdate | definite | string | Date | dd-MM-yyyy |
enddate | definite | string | Date | dd-MM-yyyy |
platform | non-definite | string | iOS/Android/ Windows/tvOS/watchOS/macOS | |
limit | non-definite | integer | number | default 500 |
offset | non-definite | integer | number | Start index for the list of values |
Request Headers
zak - <API_KEY>
Authorization - Zoho-oauthtoken xyz
Limitations
- If startdate and enddate is not given by user, it will show past 7 days of data.
- Max of 500 events values can be fetched, if there are more than 500 events, you should use offset.
Sample response
Copied{
{
"data": {
"result": {
"BENIN": 8,
"WALLIS AND FUTUNA": 7,
"CANADA": 2,
"LATVIA": 2,
"MACAU SAR CHINA": 14,
"ITALY": 11,
"BAHAMAS": 5,
"DENMARK": 6
},
"userParams": {
"StartDate": "12-Mar-2022",
"Platform": [
"iOS",
"Android",
"tvOS",
"macOS"
],
"EndDate": "13-Mar-2022"
}
},
"status": 200