Versions Compared

Key

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

Resource information

...

NameData typeDescription
.event  
event_status_id
xsd:int 
scout_statusxsd:intRelation status
coverage_typexsd:string 
venue_idxsd:int 
start_datexsd:date 
stage_id
xsd:int 
round_idxsd:intThe round identifier
group_idxsd:intThe group identifier
neutral_venuexsd:string0/1
ft_onlyxsd:stringYes or no
scoutsfeed
xsd:stringYes or no
.details  
.{id_of_detail}xsd:intREQUIRED. The requested event detail identifier
{detail_value}xsd:stringREQUIRED. The updated value.

...

Request
 Parameters
curl -X PATCH -H 'Content-Type: application/x-www-form-urlencoded' -d "details[55][value]=55&details[56][value]=yes" 
"https://api.softnetsport.com/v2/events/{event_id}?token={token}"

token, event_id

curl -X PATCH -H 'Content-Type: application/x-www-form-urlencoded' -d "event[id]=55&event[venue_id]=15" 
"https://api.softnetsport.com/v2/events/{event_id}?token={token}"

token, event_id