Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 19 Next »

Resource information

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

Description

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

Method parameters

Name
Data type
Description
event_idxsd:intREQUIRED. 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
tokenxsd:stringREQUIRED. More information concerning authorization in API introduction section

Output elements

.data

messageResponse info message.
statusResponse code.

Posssible output messages

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


Sample curl call

Request
 Parameters
curl -XDELETE 'https://api.softnetsport.com/v2/booked-events/{event_id}?token=token&product=product'

token, event_id, product

  • No labels