Making a Booking

This page will help you make your first booking through the API

Making a request

To make a booking, you'll need to know the course ID that you wish to book. You can obtain this ID by making a request to Get Courses. Additionally, if you want to add an addon to your booking, you'll also need to take note of the addon ID.

Example request body

{
  "places_booked": 1,
  "order_number": "PO Number",
  "trainees": [
    {
      "first_name": "Trainee  First Name",
      "last_name": "Trainee Last Name",
      "birth_date": null,
      "addons": []
    }
  ],
  "booker": {
    "email": "[email protected]",
    "first_name": "Bookers First Name",
    "last_name": "Bookers Last Name"
  }
}

places_booked- The number of trainee to be booked onto the course. This number can not be greater than the number of places currently available.

order_number - Your purchase order number so that we can add this to your invoice.

trainees - This is an array of the trainees who will be attending the course. The number of trainees should match the places_booked value.

  • first_name - The first name of the trainee
  • last_name - The last name of the trainee
  • birth_date - The trainee's date of birth (if known) in the format "Y-m-d\TH:i:sP" i.e 1990-12-30T14:34:53+01:00
  • addons - If you would like to add any additional items to the trainee's booking, such as a Harness & Lanyard Set - Standard, please provide the corresponding addon ID from the list of possible addons for the course

booker - This is the person or team that will receive the booking information for this booking.

  • email - The email address to which the booking should be sent.
  • first_name- The first name of the booker
  • last_name- The last name of the booker
Language
Authorization
Header
Click Try It! to start a request and see the response here!