Resource information
URL | https://api.softnetsport.com/v2/booked-events |
---|---|
XSD | https://api.softnetsport.com/assets/API/docs/xsd/booked-events.index.xsd |
Method | GET |
Description | Returns a list of events booked by the client for the selected product. |
Package | This resource is included in ALL packages |
Cache | 900 seconds (15 min.) |
Authorization required | No |
Method parameters
Name | Type | Description |
---|---|---|
There are no method parameters in this resource |
Query parameters
Name | Type | Description |
---|---|---|
client_id | xsd:int | REQUIRED. Assigned to you by the softnetSPORT administrator |
product | xsd:string | REQUIRED. Determines product in which given events were booked. Possible values:
|
events_details | xsd:string | Determines if subnodes of events (details, participants, results, stats) will be visible. Possible values:
|
mapped_status | xsd:string | Determines sort order of data. Possible values:
|
multi_ids | xsd:string | List of events identifiers separated by a comma (e.g. 123,234,321) for which you want to get the events details. |
lang | xsd:string | Determines the language for the output data. softnetSPORT API provides the following languages: languages.index |
page | xsd:int | Determines offset of paginated data. Default value is 1 which means first page |
limit | xsd:int | Determines maximum number of returned records on page. Used in paginated data. Default value is 500. Possible values: 5, 10, 25, 50, 100, 250, 500 |
Method calling examples
Link | Description |
---|---|
https://api.softnetsport.com/v2/booked-events.xml?client_id=1&product=livescorepro&events_details=no | Returns a list of booked events without detailed node about events. |
Output elements
.booked_events | |
---|---|
..event | |
id | Unique identifier for the event |
client_event_id | Unique event identifier for the client. |
name | Name of the event e.g. Spain - Italy |
start_date | Date when the event starts in the format DATE_TIME (2015-03-01 11:02) |
ft_only | Determines when the result/score of the event is updated. Possible values:
|
coverage_type | Type of event coverage. Possible values:
|
scoutsfeed | Information concerning scouts coverage. Possible values:
|
status_id | Unique identifier of the event status. softnetSPORT API provides the following statuses: statuses.index |
status_name | Name of the event status |
status_type | Type of status. Possible values:
|
clock_time | How many seconds have passed in the current event period. Possible empty value |
clock_status | Clock status. Possible value:
|
bet_status | Possible value:
|
relation_status | Relation status. Attribute for internal purposes. Possible value:
|
source_id | Identificator of scout related to the event. Attribute for internal purposes |
winner_id | Who is the winner of the match |
progress_id | Who advanced to the next round |
day | Day of the season |
round_id | Unique identifier for the round in which event is played. Possibble null value. softnetSPORT API provides the following rounds: rounds.index |
round_name | Name of the round |
neutral_venue | Determines if the event is played at a neutral venue. Possible values:
|
item_status | Describes status of the item (record). Possible values:
|
verified_result | Possible value:
|
ut | Information about when the date and time of the event record was last updated. Format UNIX_TIMESTAMP |
old_event_id | deprecated. The attribute will be removed in the next API version |
slug | friendly url for event |
logo | Attribute for internal purposes |
competition_id | Unique identifier for the competition |
competition_short_name | Abbreviated name of the competition |
......details | additional information related to the event |
---|---|
.......detail | |
id | Unique identifier for the details |
name | Name of the details. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show |
value | Value related to the details |
......participants | |
.......participant | |
counter | Number of participants in the event. Participant with counter="1" is the home team. |
id | Unique identifier of the participant |
type | Participant type. Possible values:
|
name | Participants name |
short_name | Participanst abbreviated name, max length: 20 characters |
acronym | Max 3 characters in length mini name, e.g. BAR, REA |
gender | Participants gender. Possible value:
|
area_id | Unique identifier for the area represented by the participant. softnetSPORT API provides the following areas: areas.index |
area_name | Area name represented by the participant |
area_code | Max 3 characters in length for the abbreviated area name e.g. GER, POL, FRA |
sport_id | Unique identifier for the sport in which the participant is involved. softnetSPORT API provides the following sports: sports.index |
sport_name | Name of the sport in which the participant is involved. |
national | Determines if participant is a national team. Possible values:
|
website | Participants official website |
ut | Information about when the date and time of the record was last updated. Format UNIX_TIMESTAMP |
old_participant_id | deprecated. The attribute will be removed in the next API version |
slug | friendly url for participant |
competition_id | Unique identifier for the competition |
competition_short_name | Abbreviated name for the competition e.g. U19 WCH, Max 20 characters |
........results | |
.........result | |
id | Unique identifier for the result |
name | Name of the result. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show |
value | Value related to the result |
........stats | |
.........stat | |
id | Unique identifier for the statistic |
name | Name of the statistic. Possible values are different depending on the sport. For more information please find node details in the sports.show: sports.show |
value | Value related to the statistic |