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 |
---|---|
httphttps://devapi.sportsapistatscore.com/v2/reports/clients-events?username=statscore&product_id=4=8&token={{YOUR TOKEN}} | Returns a list of repoertsreports. |
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 |