get Operatories Id
GET {{baseUrl}}/operatories/:id?subdomain={{subdomain}}&include[]=["appt_categories"]&include[]=["appt_categories"]
Get an operatory by ID
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
subdomain | string | (Required) Used to scope the request to the specified institution | |
include[] | string | Resources to be included in the response | |
include[] | string | Resources to be included in the response |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","foreign_id":"\u003cstring\u003e","foreign_id_type":"\u003cstring\u003e","location_id":"\u003cinteger\u003e","last_sync_time":"\u003cstring\u003e","created_at":"\u003cstring\u003e","updated_at":"\u003cstring\u003e","display_name":"\u003cstring\u003e","active":"\u003cboolean\u003e","static_image_url":"\u003cstring\u003e","profile_url":"\u003cstring\u003e","appointment_types":[{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","parent_type":"\u003cstring\u003e","parent_id":"\u003cinteger\u003e","minutes":"\u003cinteger\u003e","bookable_online":"\u003cboolean\u003e"},{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","parent_type":"\u003cstring\u003e","parent_id":"\u003cinteger\u003e","minutes":"\u003cinteger\u003e","bookable_online":"\u003cboolean\u003e"}]},"count":"\u003cinteger\u003e"}