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

सभी सेवाएं पाएं

वैकल्पिक फ़िल्टर के साथ वर्तमान workspace की सभी सेवाएं पाएं

हेडर

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

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

क्वेरी पैरामीटर

staff_idstring or nullवैकल्पिक

केवल वे सेवाएं जो यह स्टाफ सदस्य प्रदान करता है।

asset_idstring or nullवैकल्पिक

केवल वे सेवाएं जो इस एसेट को बुक करती हैं।

is_activeboolean or nullवैकल्पिक

केवल सक्रिय (true) या निष्क्रिय (false) सेवाएं।

kindenum or nullवैकल्पिकडिफ़ॉल्ट: classic

केवल इस प्रकार की सेवाएं।

अनुमत मान:

रिस्पॉन्स

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

namestring

ग्राहकों और रिसेप्शनिस्ट को दिखाया जाने वाला सेवा नाम।

variantslist of objects

Bookable options for this service; variants[0] is the default.

idstring

सेवा की ID।

duration_minutesintegerकेवल-पढ़ने योग्य

पहले वेरिएंट की अवधि।

pricedouble or nullकेवल-पढ़ने योग्य

पहले वेरिएंट की कीमत।

pricing_modeenumवैकल्पिकडिफ़ॉल्ट: fixed

‘fixed’ (default): the item has a known price the agent can quote, and customers can book or order it directly. ‘quote’: the price depends on the job (renovation, catering, custom work), so no price or slot is offered; the agent collects the intake_questions and files a quote request instead. Takes effect only while quotes are enabled for the business. Group services cannot use ‘quote’.

अनुमत मान:
intake_questionslist of objectsवैकल्पिक

इस आइटम को बुक या ऑर्डर करने से पहले एजेंट जो सवाल पूछता है। उपयोगी pricing_mode='quote' आइटम के लिए ये ज़रूरी हैं — इनके बिना कोट अनुरोध में कीमत तय करने के लिए कुछ नहीं होगा — लेकिन अतिरिक्त जानकारी वाले तय-कीमत के आइटम पर भी मान्य हैं (जैसे हेयर डाई से पहले बालों का मौजूदा रंग या उपचार से पहले एलर्जी)।

groupslist of objectsवैकल्पिक

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

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

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

descriptionstringवैकल्पिक

Details about the service for customers and the receptionist; empty string means none.

kindenumवैकल्पिकडिफ़ॉल्ट: classic

Classic = staff-delivered; rental = asset-based; group = multi-participant session.

अनुमत मान:
buffer_minutesintegerवैकल्पिक0-1440डिफ़ॉल्ट: 0

हर बुकिंग के बाद आरक्षित turnover/cleanup समय। यह सभी सेवा प्रकारों पर लागू होता है; डिफ़ॉल्ट 0 का मतलब है कोई buffer नहीं।

service_locationenumवैकल्पिकडिफ़ॉल्ट: business

सेवा कहाँ दी जाती है। business = क्लाइंट बिज़नेस लोकेशन पर आता है (डिफ़ॉल्ट); customer = स्टाफ क्लाइंट के पास जाता है। केवल kind='classic' के लिए लागू।

अनुमत मान:
add_onslist of objectsवैकल्पिक

वैकल्पिक अतिरिक्त चीज़ें जिन्हें इस सेवा की बुकिंग में जोड़ा जा सकता है।

max_participantsinteger or nullवैकल्पिक2-200

Capacity for kind='group': how many seats a single session can sell across all registrations. Must be null for classic and rental services (those are always exclusive to one client per booking).

capacityinteger or nullवैकल्पिक

बुकिंग सीमित करने के लिए इस्तेमाल नहीं होता; इसके बजाय ग्रुप सेवाओं में max_participants सेट करें।

is_activebooleanवैकल्पिकडिफ़ॉल्ट: true

क्या सेवा उपलब्ध है; निष्क्रिय सेवाएँ बुक नहीं की जा सकतीं।

any_staff_memberbooleanवैकल्पिकडिफ़ॉल्ट: true

क्या कोई भी स्टाफ सदस्य सेवा दे सकता है। false होने पर, केवल staff_ids में शामिल स्टाफ ही सेवा दे सकता है। रेंटल के लिए इसे अनदेखा किया जाता है।

staff_idslist of stringsवैकल्पिक

इस सेवा के लिए असाइन किया गया स्टाफ; kind=‘rental’ के लिए खाली होना चाहिए।

asset_idslist of stringsवैकल्पिक
Assets, such as rooms or equipment, this service can be booked on.
advance_booking_minutesintegerवैकल्पिक0-525600डिफ़ॉल्ट: 1440

ग्राहक-सामने वाले चैनल (public booking page, voice agent) इस सेवा को भविष्य में कितनी दूर तक बुक कर सकते हैं। हर प्रकार पर लागू होता है।

location_idslist of stringsवैकल्पिक

वे स्थान जहां यह सेवा दी जाती है; खाली सूची का मतलब सभी स्थान हैं।

display_on_booking_pagebooleanवैकल्पिकडिफ़ॉल्ट: true

क्या सेवा पब्लिक बुकिंग पेज पर सूचीबद्ध है।

travel_minutesintegerवैकल्पिक0-480डिफ़ॉल्ट: 0

ग्राहक-लोकेशन सेवाओं के लिए अपॉइंटमेंट से पहले/बाद में जोड़ा गया यात्रा समय, मिनटों में। यह स्टाफ सदस्य के कैलेंडर को ब्लॉक करता है, लेकिन ग्राहक को दिखाई नहीं देता। service_location='business' होने पर अनदेखा किया जाता है।

travel_beforebooleanवैकल्पिकडिफ़ॉल्ट: true

Add travel time before the appointment (outbound trip).

travel_afterbooleanवैकल्पिकडिफ़ॉल्ट: true

Add travel time after the appointment (return trip).

promotionslist of objectsवैकल्पिक

इस सेवा या खास variants पर लागू समय-सीमित छूट।

created_at_unixintegerवैकल्पिक

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

updated_at_unixintegerवैकल्पिक

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

त्रुटियाँ

422
Unprocessable Entity Error