Query parameters

  • description string Required

    Description of the booking

  • booking_status_id integer(int32) Required

    Status of the booking

  • start string(full-date) Required

    Start date/time of booking

  • end string(full-date) Required

    End date/time of booking

  • is_tbc boolean

    If start/end time is yet to be confirmed

  • models array[integer]

    Array of models' model_division_ids to be added to the booking

Responses

  • 201 application/json

    An array of the new bookings' data

  • 400 application/json

    A validation exception occurred

    Hide response attributes Show response attributes object
    • code integer(int32) Required
    • message string Required
  • 500 application/json

    An unexpected error occurred

    Hide response attributes Show response attributes object
    • code integer(int32) Required
    • message string Required
POST /bookings
curl \
 --request POST 'https://*.syngency.com/admin/api/bookings?description=string&booking_status_id=42&start=string&end=string'
Response examples (201)
[
  [
    []
  ]
]
Response examples (400)
{
  "code": 42,
  "message": "string"
}
Response examples (500)
{
  "code": 42,
  "message": "string"
}