Method: customers.list
उपयोगकर्ता के ग्राहक खातों की सूची बनाता है.
एचटीटीपी अनुरोध
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
क्वेरी पैरामीटर
पैरामीटर |
pageSize |
integer
ज़रूरी है. नतीजों के पेज पर दिखाए जाने वाले ग्राहकों की ज़्यादा से ज़्यादा संख्या. 1 से 100 के बीच की कोई संख्या.
|
pageToken |
string
यह टोकन बताता है कि कौनसा नतीजा पेज दिखाना है.
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
मेरे ग्राहकों की लिस्टिंग के लिए जवाब का मैसेज.
JSON के काेड में दिखाना |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string
} |
फ़ील्ड |
customers[] |
object (Company )
वे ग्राहक खाते जिनमें कॉल करने वाला उपयोगकर्ता सदस्य है.
|
nextPageToken |
string
नतीजों के अगले पेज को ऐक्सेस करने के लिए इस्तेमाल किया जाने वाला टोकन. अगर कोई और नतीजा उपलब्ध नहीं है, तो इसे हटा दिया जाता है.
|
अनुमति पाने के लिंक
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/androidworkzerotouchemm
ज़्यादा जानकारी के लिए, OAuth 2.0 की खास जानकारी देखें.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-12-21 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-12-21 (UTC) को अपडेट किया गया."],[[["This endpoint retrieves a list of customer accounts associated with the authenticated user via a `GET` request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`."],["The request requires `pageSize` and `pageToken` as query parameters to manage the number of results per page and navigate through multiple pages of customer accounts."],["The request body should be empty for this endpoint, meaning no data should be sent within the request body."],["The response body contains a list of customer objects in the `customers` field, and an optional `nextPageToken` string to retrieve subsequent pages of results if available."],["Authorization for this request requires the `https://www.googleapis.com/auth/androidworkzerotouchemm` OAuth scope."]]],["This document outlines the process for listing a user's customer accounts via an HTTP GET request to `https://androiddeviceprovisioning.googleapis.com/v1/customers`. Required query parameters include `pageSize` (1-100) and `pageToken` for pagination. The request body must be empty. A successful response returns a JSON structure containing an array of `customers` (Company objects) and a `nextPageToken` for subsequent pages. Authorization requires the `androidworkzerotouchemm` OAuth scope.\n"]]