Versions Compared

Key

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

Resource information

URLhttps://api.softnetsportstatscore.com/v2/booked-events/deleteXSD {event_id}
MethodPOSTDELETE

Description

Returns a single event with details including participants, partial results, stats, lineups and important incidents for the event
PackageThis resource is included in the SCOUTSFEED , LIVESCORE and SCOREFRAME packages
Cache15 seconds
Delete reservations for event in product for user from token
Authorization requiredYes

...

Method parameters

Name
Data type
Description
event_idxsd:intREQUIRED. The  The requested event identifier of previously booked event. The complete list of previously booked event can be retrieved using the API resource: booked-events.index

Parameters

NameData typeDescription
product
xsd:string

REQUIRED. The requested product name identifier

  • scoutsfeed - Scoutsfeed product
  • livescorepro - Livescorepro product
  • scoreframe - Scoreframe product
tokenxsd:stringREQUIRED. More information concerning oAuth token: oAuth 2.0 authorizationauthorization in API introduction section

Output elements

.data
 

messageResponse info message.
statusResponse code.

Response Code

Code
 
200Successful request.
4xxBad request.

Posssible output messages

StatusMessageNote
200Event successfully removed
400You can order\refuse only events with the status Not started
400Booking not Exist
400The selected product is invalid.When requested product is not valid
403Invalid credentials. Either the username, password or token you provided is incorrect
404The requested resource was not foundWhen requested event does not exist

Sample curl call

Request
 Parameters
curl -XPOST XDELETE 'https://api.softnetsportstatscore.com/v2/booked-events/delete?token=YOUR_TOKEN&{event_id=EVENT_ID}?token=token&product=PRODUCT_NAMEproduct'

YOUR_TOKEN

EVENT_ID

PRODUCT_NAMEtoken, event_id, product