Versions Compared

Key

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

Resource information

XSD
URLhttps://api.softnetsportstatscore.com/v2/booked-events/{event_id}
MethodDELETE

Description

Delete reservations for event in product for user from token
Authorization requiredYes

...

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.
400You can order\refuse only events with the status Not started
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 -XDELETE 'https://api.softnetsportstatscore.com/v2/booked-events/{event_id}?token=token&product=product'

token, event_id, product

...