Method: loyaltyobject.get
Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Gibt das Treueobjekt mit der angegebenen Objekt-ID zurück
HTTP-Anfrage
GET https://walletobjects.googleapis.com/walletobjects/v1/loyaltyObject/{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 LoyaltyObject
.
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-07-25 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-25 (UTC)."],[[["Retrieves a specific loyalty object using its unique identifier."],["The request requires an empty body and uses the `GET` HTTP method."],["The response provides detailed information about the loyalty object, including its properties and data."],["Authorization is necessary using the `wallet_object.issuer` scope to access and retrieve the object."]]],["The core content describes retrieving a loyalty object using a `GET` request to a specific URL: `https://walletobjects.googleapis.com/walletobjects/v1/loyaltyObject/{resourceId}`. The `{resourceId}` path parameter, a unique string identifier, is required. The request body must be empty. A successful request returns a `LoyaltyObject` instance within the response body, and needs authorization through the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]