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 valuesDescription
startdatedefinitestringDatedd-MM-yyyy 
enddatedefinitestringDatedd-MM-yyyy 
platformnon-definite  stringiOS/Android/ Windows/tvOS/watchOS/macOS   
limitnon-definiteintegernumberdefault 500
offsetnon-definiteintegernumber Start index for the list of values 

Request Headers

zak - <API_KEY>

Authorization - Zoho-oauthtoken xyz


Limitations

  1. If startdate and enddate is not given by user, it will show past 7 days of data.
  2. 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