Method: customers.list
הצגת רשימה של חשבונות הלקוחות של המשתמש.
בקשת HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
כתובת ה-URL משתמשת בתחביר של Transcoding של 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 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 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"]]