获取所有资产
List the workspace's bookable assets, such as rooms or equipment.
请求头
xi-api-key
xi-workspace-id
经销商 API 密钥操作的客户工作区。
响应
成功响应
name
Internal/admin name of the asset, shown in the dashboard and owner notifications.
id
资产的 ID。
groups
此项目的分组成员关系。每个条目包含分组标签及该项目在组内从 0 开始的排名。
ungrouped_rank
无分组项目中的显示位置;null 排在最后。可通过重新排序端点更改。
description
Description of the asset.
is_active
该资产是否可预约。停用资产会保留预约历史。
available_hours
Custom availability hours for this asset. Null means follow the assigned location’s operating_hours (requires location_id).
photo_url
资产照片的 URL。
location_id
Location this asset belongs to; empty means available at all locations.
customer_facing_name
Optional public-facing label. When empty, name is shown to customers too. name stays the internal/admin label used in the dashboard and business-owner notifications.
created_at_unix
创建时间,以秒为单位的 Unix 时间戳。
updated_at_unix
上次更新时间,以秒为单位的 Unix 时间戳。
错误
422
Unprocessable Entity Error