Method: flightobject.get
Gibt das Flight-Objekt mit der angegebenen Objekt-ID zurück.
HTTP-Anfrage
GET https://walletobjects.googleapis.com/walletobjects/v1/flightObject/{resourceId}
Die URL verwendet die Syntax der gRPC-Transcodierung.
Pfadparameter
Parameter |
resourceId |
string
Die eindeutige Kennung für ein Objekt. Diese ID muss für alle Objekte eines Ausstellers eindeutig sein. Dieser Wert muss das Format issuer ID haben.identifier, wobei Ersteres von Google ausgestellt und Letzteres von Ihnen ausgewählt wird. Die eindeutige Kennung darf nur alphanumerische Zeichen sowie „.“, „_“ oder „-“ enthalten.
|
Anfragetext
Der Anfragetext muss leer sein.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von FlightObject
.
Autorisierungsbereiche
Erfordert den folgenden OAuth-Bereich:
https://www.googleapis.com/auth/wallet_object.issuer
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-03-13 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-03-13 (UTC)."],[[["Retrieves a flight object using its unique object ID."],["The request requires an empty body and uses the `GET` method with a specific URL structure."],["Successful responses return a FlightObject instance containing the requested information."],["Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope."],["The object ID should follow a specific format and include the issuer ID and a unique identifier."]]],["The core content describes how to retrieve a flight object using its unique ID. A `GET` request is sent to a specific URL, including the `resourceId` as a path parameter. This `resourceId` follows the format of `issuer ID.identifier`. The request body must be empty. A successful response returns a `FlightObject`. The operation requires authorization with the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The provided information uses gRPC Transcoding syntax.\n"]]