Resource information
URL | https://api.softnetsportstatscore.com/v2/events/{event_id}/important-incidents | XSD | https://api.softnetsport.com/assets/API/docs/xsd/events.important-incidents.index.xsd |
---|---|---|---|
Method | GET | ||
Description | Returns a list of important incidents for the selected event. | ||
Cache | Not cached | ||
Authorization required | Yes | ||
Internal method | Yes |
...
Method calling examples
Link | Description |
---|---|
https://api.softnetsportstatscore.com/v2/events/1877031/important-incidents?username=softnetsport&incidents=410,413&limit=5 | Returns a list of event important incidents. |
https://api.softnetsportstatscore.com/v2/events/1877031/important-incidents.xml?username=softnetsport&incidents=410,413&limit=5 | Returns a list of event important incidents in xml format. |
...
.event_incidents | Data type | Description |
---|---|---|
..incident | ||
id | xsd:array | Unique identifier of the incidents in event. |
action | xsd:string | Describes type of operation. Possible values:
|
event_id | xsd:int | REQUIRED. The event identifier. |
incident_id | xsd:int | Incident id in data.sports.incidents node for event. The complete list of possible incidents can be retrieved using the API resource: sports.show |
participant_id | xsd:int | Determines the identifier of the participant for sub-participant in event. The complete list of possible participants can be retrieved using the API resource: participants.index. Possible empty value |
participant_team_id | xsd:int | Determines the identifier of the participant for participant(team) in event. The complete list of possible participants can be retrieved using the API resource: participants.index. Possible empty value |
participant_name | xsd:string | Participant name. |
status_id | xsd:int | Status id in data.sports.statuses node for event. The complete list of possible statuses can be retrieved using the API resource: statuses.index |
minute | xsd:int | Incident time: minute |
second | xsd:int | Incident time: second |
home_score | xsd:int | Home Score |
away_score | xsd:int | Away Score |
home_score1 | xsd:int | Home Score 1 |
away_score1 | xsd:int | Away Score 1 |
home_score2 | xsd:int | Home Score 2 |
away_score2 | xsd:int | Away Score 2 |
x_pos | xsd:int | Ball position on X axis (percentage) |
y_pos | xsd:int | Ball position on Y axis (percentage) |
add_data | xsd:string | Custom information. |
display_info | xsd:string | Label for incidents. |
counter | xsd:int | Subsequent number of the incydent type in the event. Example: 5th goal in the match. |
ct | xsd:int | Created date. |
ut | xsd:int | Last update date. |
dt | xsd:int | Deleted date. |
old_added_id | xsd:int | DEPRECATED. Old Id. |
...