PUT /bookings/{booking_id}/models/{booking_model_id}/fees/{booking_model_fee_id}

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 that fee belongs to

  • booking_model_fee_id integer(int32) Required

    ID of booking model fee to update

Query parameters

  • description string Required

    Line Item description of this fee

  • amount integer(float) Required

    Total Amount of fee

  • model_amount integer(float)

    Amount payable to model (if not Total Amount less charges)

  • is_usage boolean Required

    If fee is a Usage (1) or Expense (0)

  • is_inclusive boolean

    If fee should be inclusive of any associated charges

Responses

  • 200 application/json

    Fee updated 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
PUT /bookings/{booking_id}/models/{booking_model_id}/fees/{booking_model_fee_id}
curl \
 --request PUT 'https://*.syngency.com/admin/api/bookings/{booking_id}/models/{booking_model_id}/fees/{booking_model_fee_id}?description=string&amount=42&is_usage=true'
Response examples (200)
[
  [
    []
  ]
]
Response examples (400)
{
  "code": 42,
  "message": "string"
}
Response examples (500)
{
  "code": 42,
  "message": "string"
}