POST /bookings/{booking_id}/models/{booking_model_id}/schedules

Path parameters

  • booking_id integer(int32) Required

    ID of booking that booking model belongs to

  • booking_model_id integer(int32) Required

    ID of booking model to add schedule for

Query parameters

  • booking_type_id integer(int32) Required

    ID of booking type to associate with this schedule

  • start string Required

    Start date/time of schedule

  • end string Required

    End date/time of schedule

  • option_id integer(int32)

    Option Number for this schedule (booking_type_id = 9 only). Possible values: 1,2,3,4

  • notes string

    Notes for this schedule

Responses

  • 201 application/json

    Schedule added successfully

  • 400 application/json

    A validation error 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/{booking_id}/models/{booking_model_id}/schedules
curl \
 --request POST 'https://*.syngency.com/admin/api/bookings/{booking_id}/models/{booking_model_id}/schedules?booking_type_id=42&start=string&end=string'
Response examples (201)
[
  [
    []
  ]
]
Response examples (400)
{
  "code": 42,
  "message": "string"
}
Response examples (500)
{
  "code": 42,
  "message": "string"
}