Resource information
URL | https://api.softnetsportstatscore.com/v2/reports/clients-events | XSD|
---|---|---|
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 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.softnetsportstatscore.com/v2/reports/clients-events?username=statscore&product_id=4=8&token={{YOUR TOKEN}} | Returns a list of reports. |
Output elements
.reports | ||
---|---|---|
..report | ||
monthmonth | Month of report data | |
yearyear | Year of report data | |
tv | the The number number of events reserved from tv | |
venue | the The number number of events reserved from venue | |
auto | the The number of events reserved automatically | |
manual | the The number of events reserved manual | |
total | total Total events reserved | |
updated_at | report generteting ut | Report generate time |
.. | reportssports | |
...sport | ||
sport_id | Sport id | |
count | Items count group by sport |
...