Resource information
URL | https://api.softnetsportstatscore.com/v2/booked-events/{event_id} | XSD|
---|---|---|
Method | DELETE | |
Description | Delete reservations for event in product for user from token | |
Authorization required | Yes |
...
.data | |
---|---|
message | Response info message. |
status | Response code. |
Posssible output messages
Status | Message | Note |
---|---|---|
200 | Event successfully removed | |
400 | You can order\refuse only events with the status Not started | |
400 | Booking not Exist | |
400 | The selected product is invalid. | When requested product is not valid |
403 | Invalid credentials. Either the username, password or token you provided is incorrect | |
404 | The requested resource was not found | When 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 |
...