Skip to content

Reporting

lsambridge edited this page Oct 3, 2024 · 5 revisions

Reporting

Statisics on page and reward usuage.

HTTP Response Values

    200 - Successful call of the api
    400 - Invalid query string parameters

[GET] /v2/meta?fromDate=2020-01-01&toDate=2020-01-01

Name Description
fromDate (required) The start date to base the statstics on
toDate (required) The enddate to base the statstics on

A successful response looks like:

HTTP/1.1 200 Ok

Location: https://api.myezrewards.com/v2/meta/

{
  "totalLogins": 0,
  "activities": [
    {
      "title": "string",
      "total": 0,
      "type": "string",
      "uniqueUsers": 0,
      "brand": "string"
    }
  ],
  "impressions": [
    {
      "title": "string",
      "total": 0,
      "type": "string",
      "brand": "string"
    }
  ]
}

Clone this wiki locally