object | |
object | |
created_at | string <date-time> |
discount_percentage | number or null [ 0 .. 100 ] |
discounted_amount | string or null <decimal> |
id | string <int64> |
is_monetary_discount | boolean or null |
object | |
quantity | integer [ -4000000000 .. 4000000000 ) |
updated_at | string <date-time> |
{- "created_at": "2019-08-24T14:15:22Z",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "id": "string",
- "is_monetary_discount": true,
- "quantity": -4000000000,
- "updated_at": "2019-08-24T14:15:22Z"
}
successful operation
{- "appointment_type_billable_items": [
- {
- "created_at": "2019-08-24T14:15:22Z",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "id": "string",
- "is_monetary_discount": true,
- "quantity": -4000000000,
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "total_entries": 1,
}
Resource was created
Resource could not be saved due to validation errors
{- "appointment_type_id": "1",
- "billable_item_id": "1",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "quantity": -4000000000
}
{- "created_at": "2019-08-24T14:15:22Z",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "id": "string",
- "is_monetary_discount": true,
- "quantity": -4000000000,
- "updated_at": "2019-08-24T14:15:22Z"
}
Successful operation
{- "created_at": "2019-08-24T14:15:22Z",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "id": "string",
- "is_monetary_discount": true,
- "quantity": -4000000000,
- "updated_at": "2019-08-24T14:15:22Z"
}
Resource was updated
Resource could not be saved due to validation errors
{- "billable_item_id": "1",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "quantity": -4000000000
}
{- "created_at": "2019-08-24T14:15:22Z",
- "discount_percentage": 100,
- "discounted_amount": "string",
- "id": "string",
- "is_monetary_discount": true,
- "quantity": -4000000000,
- "updated_at": "2019-08-24T14:15:22Z"
}