Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Resource information

...

NameData typeDescription
.stats  
.{object_id}xsd:intREQUIRED. The identifier for object e.g participant(team)/lineup(person)
typexsd:stringREQUIRED. Type of object e.g team/person
..stats  
..{stats_id}xsd:intREQUIRED. The identifier for stats
valuexsd:stringREQUIRED. The value of stats

Output elements

.data
 
messageResponse info message.
statusResponse code.

...

Request
 Parameters
curl -X PATCH -H 'Content-Type: application/x-www-form-urlencoded' -d "detailsstats[5530350][valuetype]=55&details[56team&stats[30350][stats][value44]=yes0" 
"https://api.softnetsport.com/v2/events/{event_id}/stats?token={token}"

token, event_id