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

Resource information

URLhttps://api.softnetsport.com/v2/events/
XSD 
MethodPATCH

Description

Update details for event.
Authorization requiredYes

Parameters

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section

POST parameters

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
valuexsd:stringREQUIRED. The updated value.

Output elements

.data
 
messageResponse info message.
statusResponse code.

Sample curl call

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

  • No labels