Versions Compared

Key

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

Resource information

URLhttps://api.softnetsportstatscore.com/v2/events/
MethodPATCH

Description

Update details for event.
Authorization requiredYes
Internal methodYes

...

Request
 Parameters
curl -X PATCH -H 'Content-Type: application/x-www-form-urlencoded' -d "details[55]=55&details[56]=yes" 
"https://api.softnetsportstatscore.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.softnetsportstatscore.com/v2/events/{event_id}?token={token}"

token, event_id

...