Edit an appointment type
PATCH {{baseUrl}}/appointment_types/:id?subdomain={{subdomain}}
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subdomain | string | (Required) Used to scope the request to the specified institution |
Request Body
{"appointment_type"=>{"name"=>"<string>", "minutes"=>"<integer>", "parent_type"=>"<string>", "parent_id"=>"<integer>", "position"=>"<integer>", "bookable_online"=>"<boolean>", "emr_appt_descriptor_ids"=>["<integer>", "<integer>"]}, "location_id"=>"<integer>"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","parent_type":"\u003cstring\u003e","parent_id":"\u003cinteger\u003e","minutes":"\u003cinteger\u003e","bookable_online":"\u003cboolean\u003e"},"count":"\u003cinteger\u003e"}