POST /bookings/{booking_id}/locations

Path parameters

  • booking_id integer(int32) Required

    ID of booking to add location to

Query parameters

  • contact_id integer(int32) Required

    ID of contact to add

  • instructions string

    Location-specific instructions for models

  • is_default boolean

    If location is the default location for all model schedules in the booking

Responses

  • 201 application/json

    Booking location added

  • 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}/locations
curl \
 --request POST 'https://*.syngency.com/admin/api/bookings/{booking_id}/locations?contact_id=42'
Response examples (201)
[
  [
    []
  ]
]
Response examples (500)
{
  "code": 42,
  "message": "string"
}