get Operatories

GET {{baseUrl}}/operatories?subdomain={{subdomain}}&location_id={{location_id}}&page=1&per_page=5&search_name=<string>&foreign_id=<string>&updated_since=<dateTime>&include[]=["appt_categories"]&include[]=["appt_categories"]

Get a list of operatories

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution
location_idstring(Required) Used to scope the request to the specified institution
pagenumberPage number. Starts with page 1
per_pagenumberNumber of results to return per page. Defaults is 5 per page and Max 100 per page
search_namestringOptional name search filter
foreign_idstringQuery by EMR Id
updated_sincestringQuery operatories whose records have updated since the specified datetime in ISO8601 format. Must be a parseable Date, recommended formats are YYYY-MM-DD or YYYY-MM-DDThh:mm:ss+0000
include[]stringResources to be included in the response
include[]stringResources to be included in the response

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;code&quot;:&quot;\u003cboolean\u003e&quot;,&quot;description&quot;:&quot;\u003cstring\u003e&quot;,&quot;error&quot;:[&quot;\u003cstring\u003e&quot;,&quot;\u003cstring\u003e&quot;],&quot;data&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;foreign_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;foreign_id_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;location_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;last_sync_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;display_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;appointment_types&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;minutes&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bookable_online&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;minutes&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bookable_online&quot;:&quot;\u003cboolean\u003e&quot;}]},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;foreign_id&quot;:&quot;\u003cstring\u003e&quot;,&quot;foreign_id_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;location_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;last_sync_time&quot;:&quot;\u003cstring\u003e&quot;,&quot;created_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;updated_at&quot;:&quot;\u003cstring\u003e&quot;,&quot;display_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;active&quot;:&quot;\u003cboolean\u003e&quot;,&quot;appointment_types&quot;:[{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;minutes&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bookable_online&quot;:&quot;\u003cboolean\u003e&quot;},{&quot;id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;name&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_type&quot;:&quot;\u003cstring\u003e&quot;,&quot;parent_id&quot;:&quot;\u003cinteger\u003e&quot;,&quot;minutes&quot;:&quot;\u003cinteger\u003e&quot;,&quot;bookable_online&quot;:&quot;\u003cboolean\u003e&quot;}]}],&quot;count&quot;:&quot;\u003cinteger\u003e&quot;}