Retrieving the analytics data involves two steps:
-
Creating a request for the analytics data and receiving a request identifier
-
Retrieving the analytics data using the request identifier
Note |
The |
To create a request, you send a POST
request to the endpoint corresponding to the type and time range of the
analytics data you want. When creating the request, you specify what to
include in the analytics data and how you want it to be organized in
query parameters and the message body. The analytics API then returns
the reportRequestGuid
, the unique identifier used to
identify this request.
To retrieve the analytics data, you send a
GET
request to the endpoint corresponding to
the type and time range of the initial request for analytics data. You
include the reportRequestGuid
in the request to retrieve
the analytics data you defined when creating the request. The API then
returns the analytics data.