Method: customers.list
Żądanie HTTP
GET https://sasportal.googleapis.com/v1alpha1/customers
Adres URL używa składni transkodowania gRPC.
Parametry zapytania
Parametry |
pageSize |
number
Maksymalna liczba wartości customers zwracana w odpowiedzi.
|
pageToken |
string
Token podziału na strony zwrócony z poprzedniego wywołania do customers.list method , który wskazuje, gdzie powinien zaczynać się ten wpis.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Odpowiedź dotycząca: customers.list
.
Zapis JSON |
{
"customers": [
{
object (Customer )
}
],
"nextPageToken": string
} |
Pola |
customers[] |
object (Customer )
list of customers zgodny z żądaniem.
|
nextPageToken |
string
Token, podzielony na strony z poprzedniego wywołania do customers.list method , wskazuje, gdzie należy kontynuować wpis. Jeśli brakuje tego pola lub jest ono puste, oznacza to, że nie ma więcej klientów.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/userinfo.email
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2022-09-26 UTC.
[null,null,["Ostatnia aktualizacja: 2022-09-26 UTC."],[[["Lists requested customers based on provided parameters and authorization."],["Allows for pagination to retrieve large sets of customers with `pageSize` and `pageToken`."],["Response includes a list of customers and a token for retrieving further results."],["Requires the `https://www.googleapis.com/auth/userinfo.email` OAuth scope for authorization."],["Utilizes a GET request to the specified endpoint `https://sasportal.googleapis.com/v1alpha1/customers` with optional query parameters."]]],["The core content describes the process of retrieving a list of customers using a `GET` request to `https://sasportal.googleapis.com/v1alpha1/customers`. This request supports optional `pageSize` and `pageToken` query parameters for pagination. The request body must be empty. The response returns a JSON object containing an array of customer objects and a `nextPageToken` for further pagination if available. An `OAuth` scope is required.\n"]]