Method: partners.customers.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการลูกค้าที่ลงทะเบียนกับตัวแทนจำหน่ายที่ระบุโดยอาร์กิวเมนต์ partnerId
ซึ่งรายการนี้ประกอบด้วยลูกค้าที่ตัวแทนจำหน่ายสร้างขึ้นและลูกค้าที่ลงทะเบียนตนเองโดยใช้พอร์ทัล
คำขอ HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
partnerId |
string (int64 format)
ต้องระบุ รหัสของพาร์ทเนอร์ตัวแทนจำหน่าย
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
pageSize |
integer
จำนวนผลลัพธ์สูงสุดที่จะแสดง หากไม่ได้ระบุหรือ 0 ระบบจะแสดงผลระเบียนทั้งหมด
|
pageToken |
string
โทเค็นที่ระบุหน้าผลลัพธ์ที่เซิร์ฟเวอร์ส่งคืน
|
เนื้อหาของคำขอ
เนื้อหาของคำขอต้องว่างเปล่า
เนื้อหาการตอบกลับ
หากทำสำเร็จ เนื้อหาการตอบกลับจะมีข้อมูลซึ่งมีโครงสร้างดังต่อไปนี้
ข้อความตอบกลับของลูกค้าทั้งหมดที่เกี่ยวข้องกับพาร์ทเนอร์รายนี้
การแสดง JSON |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string,
"totalSize": integer
} |
ช่อง |
customers[] |
object (Company )
รายชื่อลูกค้าที่เกี่ยวข้องกับพาร์ทเนอร์ตัวแทนจำหน่ายรายนี้
|
nextPageToken |
string
โทเค็นเพื่อเรียกผลลัพธ์หน้าถัดไป ละเว้นหากไม่มีผลลัพธ์เพิ่มเติม
|
totalSize |
integer
จำนวนรายการทั้งหมดในรายการโดยไม่คำนึงถึงการใส่เลขหน้า
|
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต OAuth ต่อไปนี้
https://www.googleapis.com/auth/androidworkprovisioning
สำหรับข้อมูลเพิ่มเติม โปรดดูที่ภาพรวมของ OAuth 2.0
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[[["\u003cp\u003eThis endpoint retrieves a list of customers associated with a specific reseller partner, identified by the \u003ccode\u003epartnerId\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request is a \u003ccode\u003eGET\u003c/code\u003e operation using a predefined URL structure and does not require a request body.\u003c/p\u003e\n"],["\u003cp\u003ePagination is supported through the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters, allowing for the retrieval of a subset of customers and the navigation through large datasets.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, when successful, contains an array of customer objects, along with pagination details such as \u003ccode\u003enextPageToken\u003c/code\u003e and \u003ccode\u003etotalSize\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe access to this API requires the \u003ccode\u003ehttps://www.googleapis.com/auth/androidworkprovisioning\u003c/code\u003e authorization scope.\u003c/p\u003e\n"]]],["This document outlines the process to retrieve a list of customers associated with a reseller partner. The key action is to use a `GET` request to the specified URL: `https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers`, substituting `{partnerId}` with the reseller's ID. Optional query parameters `pageSize` and `pageToken` control pagination. The response includes a JSON payload with `customers` array, `nextPageToken`, and `totalSize`. The request requires authorization with the `https://www.googleapis.com/auth/androidworkprovisioning` scope, and the request body must be empty.\n"],null,["# Method: partners.customers.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCustomersResponse.SCHEMA_REPRESENTATION)\n- [Authorization Scopes](#body.aspect)\n\nLists the customers that are enrolled to the reseller identified by the `partnerId` argument. This list includes customers that the reseller created and customers that enrolled themselves using the portal.\n\n### HTTP request\n\n`GET https://androiddeviceprovisioning.googleapis.com/v1/partners/{partnerId}/customers`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|-------------|-------------------------------------------------------------------------------------------------------------------------------|\n| `partnerId` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` Required. The ID of the reseller partner. |\n\n### Query parameters\n\n| Parameters ||\n|-------------|--------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of results to be returned. If not specified or 0, all the records are returned. |\n| `pageToken` | `string` A token identifying a page of results returned by the server. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nResponse message of all customers related to this partner.\n\n| JSON representation ||\n|------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| ``` { \"customers\": [ { object (/zero-touch/reference/reseller/rest/v1/partners.customers#Company) } ], \"nextPageToken\": string, \"totalSize\": integer } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------|\n| `customers[]` | `object (`[Company](/zero-touch/reference/reseller/rest/v1/partners.customers#Company)`)` List of customers related to this reseller partner. |\n| `nextPageToken` | `string` A token to retrieve the next page of results. Omitted if no further results are available. |\n| `totalSize` | `integer` The total count of items in the list irrespective of pagination. |\n\n### Authorization Scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/androidworkprovisioning`\n\nFor more information, see the [OAuth 2.0 Overview](https://developers.google.com/identity/protocols/OAuth2)."]]