L'ID dell'emittente autorizzato a elencare le classi.
token
string
Utilizzato per ottenere il set di risultati successivo se si specifica maxResults, ma in un elenco sono disponibili più di maxResults classi. Ad esempio, se hai un elenco di 200 classi e l'elenco di chiamate con maxResults impostato su 20, l'elenco restituirà le prime 20 classi e un token. Elenco di chiamate di nuovo con maxResults impostato su 20 e il token per ottenere le successive 20 classi.
maxResults
integer
Identifica il numero massimo di risultati restituiti da un elenco. Vengono restituiti tutti i risultati se maxResults non è definito.
Corpo della richiesta
Il corpo della richiesta deve essere vuoto.
Corpo della risposta
In caso di esito positivo, il corpo della risposta contiene dati con la seguente struttura:
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-03-13 UTC."],[[["Retrieves a paginated list of all transit classes for a specified issuer ID."],["Requires an issuer ID as a query parameter and an empty request body."],["The response includes an array of transit class objects and pagination information."],["Utilizes OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` for authorization."]]],["This content describes how to retrieve a list of transit classes for a specific issuer. A `GET` request is sent to `https://walletobjects.googleapis.com/walletobjects/v1/transitClass`. The request utilizes query parameters: `issuerId` (required), `token` (for pagination), and `maxResults`. The request body must be empty. The response returns a JSON structure with `resources` (a list of TransitClass objects) and `pagination` details. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]