Method: partners.customers.create
ज़ीरो-टच रजिस्ट्रेशन के लिए ग्राहक बनाता है. इस तरीके के वापस आने के बाद, एडमिन और मालिक की भूमिकाएं, एपीआई के तरीकों को कॉल करके या ज़ीरो-टच रजिस्ट्रेशन पोर्टल का इस्तेमाल करके, डिवाइसों और ईएमएम कॉन्फ़िगरेशन को मैनेज कर सकती हैं. खरीदार को एक ईमेल मिलता है. इसमें ज़ीरो-टच रजिस्ट्रेशन की सुविधा से उसका स्वागत किया जाता है. साथ ही, उसे पोर्टल में साइन इन करने का तरीका बताया जाता है.
एचटीटीपी अनुरोध
POST https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. partners/[PARTNER_ID] फ़ॉर्मैट में पैरंट संसाधन आईडी, जो रीसेलर की पहचान करता है.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना |
{
"customer": {
object (Company )
}
} |
फ़ील्ड |
customer |
object (Company )
ज़रूरी है. नए ग्राहक की जानकारी अपने-आप भरने के लिए, कंपनी का डेटा. इसमें companyName के लिए वैल्यू और Google खाते से जुड़ा कम से कम एक owner_email होना चाहिए. companyId और name की वैल्यू खाली होनी चाहिए.
|
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में Company
का नया इंस्टेंस शामिल किया जाता है.
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidworkprovisioning
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-29 (UTC) को अपडेट किया गया."],[[["This endpoint creates a new customer for zero-touch enrollment, enabling them to manage devices and EMM configurations via API or the zero-touch portal."],["The HTTP request is a `POST` to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`, using gRPC Transcoding syntax."],["The `parent` path parameter is required and identifies the reseller in the format `partners/[PARTNER_ID]`."],["The request body must include a `customer` object with the company name and at least one owner email associated with a Google Account."],["Successfully creating a customer returns a `Company` instance, and the operation requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope."]]],["This describes how to create a zero-touch enrollment customer using a POST request to `https://androiddeviceprovisioning.googleapis.com/v1/{parent=partners/*}/customers`. The `parent` path parameter specifies the reseller. The request body must include a `customer` object with a `companyName` and at least one `owner_email`. Upon success, a new `Company` instance is returned. Authorization requires the `https://www.googleapis.com/auth/androidworkprovisioning` OAuth scope. The created customer can then manage devices and EMM configs.\n"]]