नेविगेशन पर जाएँ

एसेट पाएं

Get an asset by ID.

पाथ पैरामीटर

asset_idstringआवश्यक

हेडर

xi-api-keystringवैकल्पिक
xi-workspace-idstring or nullवैकल्पिक
The customer workspace a reseller's API key acts on.

रिस्पॉन्स

सफल रिस्पॉन्स

namestring

Internal/admin name of the asset, shown in the dashboard and owner notifications.

_idstring
groupslist of objectsवैकल्पिक

Group memberships for this item. Each entry carries the group label and the item’s 0-based rank within that group.

ungrouped_rankinteger or nullवैकल्पिक>=0

Display position among items with no group; null sorts last. Change it with the reorder endpoint.

descriptionstringवैकल्पिक
Description of the asset.
is_activebooleanवैकल्पिकडिफ़ॉल्ट: true
Whether the asset can be booked. Inactive assets keep their booking history.
available_hoursobject or nullवैकल्पिक

Custom availability hours for this asset. Null means follow the assigned location’s operating_hours (requires location_id).

photo_urlstring or nullवैकल्पिकफ़ॉर्मेट: "uri"1-2083 characters
URL of a photo of the asset.
location_idstring or nullवैकल्पिक

Location this asset belongs to; empty means available at all locations.

customer_facing_namestringवैकल्पिक

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_unixintegerवैकल्पिक

Unix timestamp (seconds since epoch)

updated_at_unixintegerवैकल्पिक

Unix timestamp (seconds since epoch)

त्रुटियाँ

422
Unprocessable Entity Error