Versions Compared

Key

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

...

URLhttps://api.softnetsport.com/v2/booked-events/
XSD 
MethodPOST

Description

Creates reservations for event for user from token and product.
Authorization requiredYes

...

NameData typeDescription
event_idxsd:intREQUIRED. The requested event identifier
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.


Possible output statuses

statusmessage
200Successfully reserved event
400You can order/refuse only events with the status Not started
400Booking already Exist
403Invalid credentials. Either the username, password or token you provided is incorrect


Sample curl call

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

token, event_id, product