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

रीसेलर वर्कस्पेस बनाएं

Create a workspace for one of your customers, optionally with a tier, a phone number and team invites.

हेडर

xi-api-keystringवैकल्पिक

अनुरोध

This endpoint expects an object.
business_namestringआवश्यक1-100 characters
verticalenum or nullवैकल्पिक

व्यवसाय का vertical, जिसका उपयोग complete_onboarding के साथ होता है। इसके बिना, onboarding सामान्य रूप से vertical चुनता है।

charge_customerbooleanवैकल्पिकडिफ़ॉल्ट: false

रिसेलर के बजाय वर्कस्पेस के अपने ग्राहक को बिल करें: वह खुद चेकआउट करता है और अपनी बिलिंग देखता है, जबकि रिसेलर को कमीशन मिलता है। केवल स्टैंडर्ड बिलिंग वाले रिसेलर के लिए।

subscriptionobject or nullवैकल्पिक

सब्सक्राइब करने के लिए पेड टियर। न देने पर वर्कस्पेस बिना सब्सक्रिप्शन के रहता है।

phone_numberstring or nullवैकल्पिक
A free number from the reseller's phone pool, reserved for the workspace until onboarding binds it to the receptionist.
memberslist of objectsवैकल्पिकडिफ़ॉल्ट: []

वर्कस्पेस बनने के बाद आमंत्रित किए जाने वाले लोग, जिनकी संख्या टियर की टीम आकार सीमा तक है। सर्वोत्तम प्रयास के तहत हर नतीजा member_results में होता है।

complete_onboardingbooleanवैकल्पिकडिफ़ॉल्ट: false

POST /v1/reception/reseller/workspaces/{workspace_id}/complete-onboarding की तरह तुरंत सेटअप पूरा करें। सर्वोत्तम प्रयास: विफलता पर onboarding_completed_at_unix null रहता है और उस call को दोबारा किया जा सकता है।

metadatamap from strings to stringsवैकल्पिकडिफ़ॉल्ट: {}

वर्कस्पेस के लिए आपके अपने की-वैल्यू पेयर, जैसे आपका कस्टमर या कॉन्ट्रैक्ट id। . या $ के बिना, अधिकतम 40 वर्णों वाली 20 की और अधिकतम 500 वर्णों वाली वैल्यू। ये वर्कस्पेस के सदस्यों को नहीं दिखाए जाते।

idempotency_keystring or nullवैकल्पिक<=255 characters

Client-generated key that makes a retry safe. The same key and body within 24 hours returns the first result without running again. While that first request is still running, a retry gets 409 idempotency_key_in_progress; a different body with the same key gets 400 idempotency_key_reused. A request that fails is not saved, so it can be retried with the same key.

रिस्पॉन्स

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

workspace_idstring
business_namestring
billing_tierstring or null
receptionist_countinteger
calls_last_30_daysinteger
created_at_unixinteger
subscriptionobject or nullवैकल्पिक

रिसेलर द्वारा प्रबंधित सब्सक्रिप्शन, यदि इस वर्कस्पेस के पास है। None का मतलब है कि रिसेलर यहां कुछ नहीं बेचता: अभी कोई टियर असाइन नहीं किया गया है या वर्कस्पेस अपने सब्सक्रिप्शन का भुगतान खुद करता है (charge_customer देखें)।

charge_customerbooleanवैकल्पिकडिफ़ॉल्ट: false

वर्कस्पेस अपने सब्सक्रिप्शन का भुगतान खुद करता है, इसलिए उसका टियर यहां असाइन या बदला नहीं जा सकता।

has_payment_issuebooleanवैकल्पिकडिफ़ॉल्ट: false
A charge for this workspace is unpaid. Assigning or changing a tier is refused until it clears, so surface it rather than letting it fail.
onboarding_completed_at_unixinteger or nullवैकल्पिक

onboarding कब पूरा हुआ। तब तक onboarding wizard workspace के व्यवसाय डेटा को बदल या हटा सकता है।

metadatamap from strings to stringsवैकल्पिकडिफ़ॉल्ट: {}

वर्कस्पेस के लिए आपके अपने की-वैल्यू पेयर।

member_resultslist of objectsवैकल्पिकडिफ़ॉल्ट: []

त्रुटियाँ

422
Unprocessable Entity Error