跳到导航

获取地点

按 ID 获取单个地点。

路径参数

location_idstring必需

地点 ID。创建时返回;可使用 GET /v1/reception/locations 列出。

请求头

xi-api-keystring可选
xi-workspace-idstring必需

经销商 API 密钥操作的客户工作区。

响应

成功响应

namestring
Internal name, e.g. 'Main Office' or 'Downtown Branch', shown in the dashboard and owner notifications.
idstring

地点 ID。

is_activeboolean只读

地点是否启用。停用地点不接受预约。

addressstring可选

街道地址。

notesstring可选

面向客户的路线说明或其他备注,例如“建筑物后方免费停车”。

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 时间戳。处于活跃状态时为 None。

deactivation_reasonenum or null可选

该地点被停用的原因。启用时为 None。

允许的值:

错误

422
Unprocessable Entity Error