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

एसेट बनाएं

Create a bookable asset, such as a room or a piece of equipment.

हेडर

xi-api-keystringवैकल्पिक
xi-workspace-idstringआवश्यक

वह ग्राहक workspace जिस पर रीसेलर की API key काम करती है।

अनुरोध

This endpoint expects an object.
namestringआवश्यक

एसेट का आंतरिक/एडमिन नाम, जो डैशबोर्ड और मालिक की सूचनाओं में दिखता है।

groupslist of objectsवैकल्पिक

इस आइटम की group memberships। हर entry में group label और उस group के भीतर आइटम की 0-आधारित rank होती है।

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

बिना समूह वाले आइटम के बीच डिस्प्ले स्थान; null सबसे अंत में क्रमबद्ध होता है। इसे reorder endpoint से बदलें।

descriptionstringवैकल्पिक
Description of the asset.
is_activebooleanवैकल्पिकडिफ़ॉल्ट: true

क्या एसेट को बुक किया जा सकता है। निष्क्रिय एसेट अपनी बुकिंग हिस्ट्री बनाए रखते हैं।

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

asset के फ़ोटो का URL।

location_idstring or nullवैकल्पिक

वह स्थान जिससे यह एसेट जुड़ा है; खाली होने का मतलब है कि यह सभी स्थानों पर उपलब्ध है।

customer_facing_namestringवैकल्पिक

वैकल्पिक सार्वजनिक लेबल। खाली होने पर, name ग्राहकों को भी दिखाया जाता है। name डैशबोर्ड और व्यवसाय-मालिक की सूचनाओं में उपयोग होने वाला आंतरिक/एडमिन लेबल रहता है।

रिस्पॉन्स

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

namestring

एसेट का आंतरिक/एडमिन नाम, जो डैशबोर्ड और मालिक की सूचनाओं में दिखता है।

idstring

एसेट की ID।

groupslist of objectsवैकल्पिक

इस आइटम की group memberships। हर entry में group label और उस group के भीतर आइटम की 0-आधारित rank होती है।

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

बिना समूह वाले आइटम के बीच डिस्प्ले स्थान; null सबसे अंत में क्रमबद्ध होता है। इसे reorder endpoint से बदलें।

descriptionstringवैकल्पिक
Description of the asset.
is_activebooleanवैकल्पिकडिफ़ॉल्ट: true

क्या एसेट को बुक किया जा सकता है। निष्क्रिय एसेट अपनी बुकिंग हिस्ट्री बनाए रखते हैं।

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

asset के फ़ोटो का URL।

location_idstring or nullवैकल्पिक

वह स्थान जिससे यह एसेट जुड़ा है; खाली होने का मतलब है कि यह सभी स्थानों पर उपलब्ध है।

customer_facing_namestringवैकल्पिक

वैकल्पिक सार्वजनिक लेबल। खाली होने पर, name ग्राहकों को भी दिखाया जाता है। name डैशबोर्ड और व्यवसाय-मालिक की सूचनाओं में उपयोग होने वाला आंतरिक/एडमिन लेबल रहता है।

created_at_unixintegerवैकल्पिक

इसे बनाए जाने का Unix timestamp, सेकंड में।

updated_at_unixintegerवैकल्पिक

इसके आखिरी अपडेट का Unix timestamp, सेकंड में।

त्रुटियाँ

422
Unprocessable Entity Error