Versions Compared

Key

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

Resource information

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

Description

Update details for event.
Authorization requiredYes

...

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
is_protocol_verifiedxsd:string

Possible value

  • "yes"
  • "no"
is_result_verifiedxsd:string
provider_idxsd:intThe provider identifier
.details  

.{id_of_detail}xsd:intREQUIRED. The requested event detail identifier
{detail_value}xsd:stringREQUIRED. The updated value.

Output elements

.data
 

messageResponse info message.
statusResponse code.

...

Request
 Parameters
curl -X PATCH -H 'Content-Type: application/x-www-form-urlencoded' -d "details[55]=55&details[56]=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