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 9 Next »

Resource information

URLhttps://api.softnetsport.com/v2/events/{event_id}/incidents/{incidnet_id}
XSD
MethodPATCH

Description

Updates incident for event.
Authorization requiredYes
Internal methodYes

Parameters 

NameData typeDescription
event_idxsd:intREQUIRED. The event identifier
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section
incident_idxsd:intREQUIRED. The incident identifier.
incidentxsd:arrayREQUIRED. Array with incident parameters
incident[participant_id]xsd:intParticipant id
incident[participant_team_id]xsd:intParticipant team id
incident[participant_name]xsd:stringParticipant name.
incident[minute]xsd:intIncident time minute
incident[second]xsd:intIncident time second
incident[home_score]xsd:intHome Score
incident[away_score]xsd:intAway Score
incident[home_score1]xsd:intHome Score 1
incident[away_score1]xsd:intAway Score 1
incident[home_score2]xsd:intHome Score 2
incident[away_score2]xsd:intAway Score 2
incident[x_pos]
xsd:intBall position on X axis (percents)
incident[y_pos]
xsd:intBall position on Y axis (percents)
incident[add_data]xsd:stringCustom information
incident[display_info]xsd:stringLabel for incidents
incident[old_added_id]xsd:intDEPRECATED. Old Id

Output elements

.data

messageResponse info message.
statusResponse code.

Sample curl call

  • No labels