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

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 fee for

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

  • 201 application/json

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