Method: customers.list
Liệt kê các tài khoản khách hàng của người dùng.
Yêu cầu HTTP
GET https://androiddeviceprovisioning.googleapis.com/v1/customers
URL sử dụng cú pháp Chuyển mã gRPC.
Tham số truy vấn
Tham số |
pageSize |
integer
Bắt buộc. Số lượng khách hàng tối đa sẽ xuất hiện trong một trang kết quả. Một số từ 1 đến 100 (bao gồm).
|
pageToken |
string
Mã thông báo chỉ định trang kết quả cần trả về.
|
Nội dung yêu cầu
Nội dung yêu cầu phải trống.
Nội dung phản hồi
Nếu thành công, phần nội dung phản hồi sẽ chứa dữ liệu có cấu trúc sau:
Tin nhắn phản hồi về việc đăng khách hàng của tôi.
Biểu diễn dưới dạng JSON |
{
"customers": [
{
object (Company )
}
],
"nextPageToken": string
} |
Trường |
customers[] |
object (Company )
Tài khoản khách hàng mà người dùng gọi là thành viên.
|
nextPageToken |
string
Mã thông báo dùng để truy cập vào trang kết quả tiếp theo. Bỏ qua nếu không có kết quả nào khác.
|
Phạm vi cấp phép
Yêu cầu phạm vi OAuth sau:
https://www.googleapis.com/auth/androidworkzerotouchemm
Để biết thêm thông tin, hãy xem bài viết Tổng quan về OAuth 2.0.
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2024-12-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]