Method: flightclass.listStay organized with collectionsSave and categorize content based on your preferences.
Page Summary
Retrieves a paginated list of all flight classes for a specified issuer ID.
Uses a GET request to thewalletobjects.googleapis.com/walletobjects/v1/flightClassendpoint with query parameters for issuer ID, pagination token, and maximum results.
Requires an empty request body and returns a JSON response containing an array of flight class resources and pagination information.
Needs authorization with thehttps://www.googleapis.com/auth/wallet_object.issuerOAuth scope.
Used to get the next set of results ifmaxResultsis specified, but more thanmaxResultsclasses are available in a list. For example, if you have a list of 200 classes and you call list withmaxResultsset to 20, list will return the first 20 classes and a token. Call list again withmaxResultsset to 20 and the token to get the next 20 classes.
maxResults
integer
Identifies the max number of results returned by a list. All results are returned ifmaxResultsisn't defined.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],["This document details retrieving a list of flight classes via a `GET` request to `https://walletobjects.googleapis.com/walletobjects/v1/flightClass`. It requires an issuer ID, and optionally uses a `token` and `maxResults` for pagination. The request body must be empty. The successful response returns a JSON structure containing an array of `FlightClass` resources and pagination information. OAuth scope `https://www.googleapis.com/auth/wallet_object.issuer` is mandatory.\n"]]