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

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 assign attachment to

Query parameters

  • attachment_id integer(int32) Required

    ID of attachment to assign to booking model

  • is_included_in_email boolean

    Whether this attachment should be included in booking email to model

Responses

  • 201 application/json

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