Appointment Type Billable Item

AppointmentTypeBillableItem

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>
{}

List appointment type billable items

get/appointment_type_billable_items
SecuritybasicAuth
Request
query Parameters
order
string
Deprecated
Enum: "asc" "desc"
page
integer
per_page
integer [ 1 .. 100 ]
q[]
Array of strings

Filter result by one or more fields.

See Filtering Results

Available filters:

Value Format
appointment_type_id int64
billable_item_id int64
created_at date-time
id int64
updated_at date-time
sort
Array of strings

Comma separated search fields. See: Ordering

Example: sort=created_at:desc
Responses
200

successful operation

Request samples
Response samples
application/json
{}

Create appointment type billable item

post/appointment_type_billable_items
SecuritybasicAuth
Request
Request Body schema: application/json
appointment_type_id
string <int64>

appointment type id

billable_item_id
string <int64>

billable item id

discount_percentage
number or null [ 0 .. 100 ]
discounted_amount
string or null <decimal>
quantity
number [ -4000000000 .. 4000000000 )
Responses
201

Resource was created

422

Resource could not be saved due to validation errors

Request samples
application/json
{
  • "appointment_type_id": "1",
  • "billable_item_id": "1",
  • "discount_percentage": 100,
  • "discounted_amount": "string",
  • "quantity": -4000000000
}
Response samples
application/json
{}

Get appointment type billable item

get/appointment_type_billable_items/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Responses
200

Successful operation

Request samples
Response samples
application/json
{}

Update appointment type billable item

patch/appointment_type_billable_items/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Request Body schema: application/json
billable_item_id
string <int64>

billable item id

discount_percentage
number or null [ 0 .. 100 ]
discounted_amount
string or null <decimal>
quantity
number [ -4000000000 .. 4000000000 )
Responses
200

Resource was updated

422

Resource could not be saved due to validation errors

Request samples
application/json
{
  • "billable_item_id": "1",
  • "discount_percentage": 100,
  • "discounted_amount": "string",
  • "quantity": -4000000000
}
Response samples
application/json
{}

Delete appointment type billable item

delete/appointment_type_billable_items/{id}
SecuritybasicAuth
Request
path Parameters
id
required
string <int64>
Responses
204

Resource was deleted successfully

Request samples