reports.clients-events.index
Resource information
URL | https://api.statscore.com/v2/reports/clients-events |
---|---|
Method | GET |
Description | Returns raport a list of events booked by the client for the selected product grouped after months. |
Cache | 900 seconds (15 min.) |
Authorization required | Yes |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
token | xsd:string | Assigned to you by the API administrator. Determines client_id. |
product_id | xsd:int | REQUIRED. Specifies the product for which you want to generate a report. Possible values:
|
Method calling examples
Link | Description |
---|---|
https://api.statscore.com/v2/reports/clients-events?product_id=8&token={{YOUR TOKEN}} | Returns a list of reports. |
Output elements
.reports | |
---|---|
..report | |
month | Month of report data |
year | Year of report data |
tv | The number number of events reserved from tv |
venue | The number number of events reserved from venue |
auto | The number of events reserved automatically |
manual | The number of events reserved manual |
total | Total events reserved |
ut | Report generate time |
..sports | |
...sport | |
sport_id | Sport id |
count | Items count group by sport |