Versions Compared

Key

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

Another way to book matches is to use the API directly. With the help of several endpoints in the API, the user is able to find a match, book or unbook it and check the currently booked matches for a selected period of time.

Selection of the event: events.index

To check the Scoutsfeed match offer, please use endpoint events.index with your unique token:

...

More details in the events.index endpoint documentation.

Booking of the event: booked-events.create

To book a match, use the POST method for the booked-events.create endpoint with your unique token:

...

More details in the booked-events.create endpoint documentation.

Unbooking of the event: booked-events.delete

To unbook a match, use the DELETE method for the booked-events.delete endpoint (with your unique token) which contains the event_id of the event to be unbooked:

...

More details in the booked-events.delete endpoint documentation.

Returning of the events booked by the client: booked-events.show

To return the list of booked events, use the GET method for the booked-events.show endpoint with your unique token:

...