Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Resource information

URLhttps://api.softnetsport.com/v2/events/{eventId}/incidents
XSDhttps://api.softnetsport.com/assets/API/docs/xsd/events.incidents.index.xsd
MethodGET

Description

Returns a list of incidents for the selected event.

CacheNot cached
Authorization requiredYes
Internal methodYes

Method parameters

NameTypeDescription
There are no method parameters in this resource 

Query parameters

NameTypeDescription
statusesxsd:stringDetermines incidents status identifiers, separated by a comma (e.g. 123,234,321) 
incidentsxsd:stringDetermines incidents identifiers, separated by a comma (e.g. 123,234,321)
importantxsd:string

Determines only important or not important incidents.

Possible values: yes, no.

updatedxsd:string

Determines only updated or not updated incidents.

Possible values: yes, no.

deletedxsd:string

Determines to list only deleted or not deleted incidents.

Possible values: yes, no.

pagexsd:intDetermines offset of paginated data. Default value is 1 which means first page
limitxsd: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

Output elements


.event_incidents
Data type
Description
..incident

idxsd:arrayIncident identifier. Unique for sport.
incident_idxsd:intIncident id in data.sports.incidents node for event from resource sports.show
participant_idxsd:intParticipant id
participant_team_idxsd:intParticipant team id
participant_namexsd:stringParticipant name.
status_idxsd:intStatus id in data.sports.statuses node for event from resource sports.show
minutexsd:intIncident time minute
secondxsd:intIncident time second
home_scorexsd:intHome Score
away_scorexsd:intAway Score
home_score1xsd:intHome Score 1
away_score1xsd:intAway Score 1
home_score2xsd:intHome Score 2
away_score2xsd:intAway Score 2
x_posxsd:intBall position on X axis (percents)
y_posxsd:intBall position on Y axis (percents)
add_dataxsd:stringCustom information
display_infoxsd:stringLabel for incidents
ctxsd:intCreated date
utxsd:intLast update date
dtxsd:intDeleted date
old_added_idxsd:intDEPRECATED. Old Id
  • No labels