Resource information
URL | https://api.softnetsport.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 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 |
---|---|
http://dev.sportsapi.com/v2/reports/clients-events?username=statscore&product_id=4 | Returns a list of repoerts. |
Output elements
.reports | |
---|---|
month | month |
year | year |
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 |
updated_at | report generteting time |
..reports | |
sport_id | Sport id |
count | Items count group by sport |