Create Scheduled Report

Click here for more info on Scheduled Reports.

Troubleshooting Notes

  1. All times are in GMT
  2. If you schedule a fixed date report, you must use a custom start and end date. ToDate time frames are not supported.

Report Parameters

Criteria Object

Example Request

curl -H 'X-Adzerk-ApiKey:<API-KEY>' -H "Content-Type:application/json" https://api.kevel.co/v1/report/schedule -X POST --data-binary '{"Name": "Test", "LoginId": 12345, "KickoffDate": "2018-11-30", "SchedulingWindow": 1, "RecurrenceType": 1, "Criteria": {"StartDate": "2017-11-28", "EndDate": "2017-11-28", "Parameters":[],"GroupBy": ["day"]}}'

Sample Response

{
  "Id": 1234,
  "Name": "Daily Report for Nike",
  "Criteria": {
    "StartDate": "2017-01-01T00:00:00",
    "EndDate": "2017-01-31T00:00:00",
    "Parameters": [
      {
        "siteId": 123456
      }
    ],
    "GroupBy": [
      "day"
    ],
    "Top30countries": false,
    "ReportDateFormat": "iso8601",
    "Exclude3rdParty": false,
    "IsTotal": false
  },
  "LoginId": 12345,
  "KickoffDate": "2017-01-01T00:00:00",
  "SchedulingWindow": 1,
  "RecurrenceType": 1,
  "IsDeleted": false
}

Updated 10 months ago.