跳到导航

Get Location

Get a single location by ID.

路径参数

location_idstring必需

请求头

xi-api-keystring可选
xi-workspace-idstring or null可选
The customer workspace a reseller's API key acts on.

响应

成功响应

namestring
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
_idstring
is_activeboolean只读
addressstring可选
Street address.
notesstring可选
Directions or other notes for customers, e.g. 'Free parking behind the building'.
operating_hoursobject可选
customer_facing_namestring可选

Name shown to customers; empty reuses name.

max_concurrent_appointmentsinteger可选1-999默认为 1

Maximum number of appointments that may overlap at this location at a single instant. Only enforced while the booking page setting concurrent_limit_enabled is on.

deactivated_at_unixinteger or null可选
Unix timestamp when this location was deactivated. None when active.
deactivation_reasonenum or null可选
Why this location was deactivated. None when active.
允许的值:

错误

422
Unprocessable Entity Error