Method: eventticketobject.patch
Aktualisiert das Veranstaltungsticketobjekt, auf das die angegebene Objekt-ID verweist. Diese Methode unterstützt die Patch-Semantik.
HTTP-Anfrage
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{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 die erstere von Google ausgestellt und die zweite von Ihnen ausgewählt wird. Die eindeutige Kennung darf nur alphanumerische Zeichen, „.“ (Punkt), „_“ (Unterstrich) oder „-“ (Bindestriche) enthalten.
|
Anfragetext
Der Anfragetext enthält eine Instanz von EventTicketObject
.
Antworttext
Wenn der Vorgang erfolgreich abgeschlossen wurde, enthält der Antworttext eine Instanz von EventTicketObject
.
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: 2024-11-04 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-11-04 (UTC)."],[[["Updates an existing event ticket object with patch semantics, allowing for partial modifications."],["Utilizes a `PATCH` request to `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}`, where `{resourceId}` is the unique identifier of the event ticket object."],["The request body should contain an `EventTicketObject` with the desired updates, and a successful response will return the updated `EventTicketObject`."],["Requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This document details updating an event ticket object via a `PATCH` request to a specific URL. The URL uses gRPC Transcoding syntax and requires a unique `resourceId` path parameter. The request body must contain an `EventTicketObject` instance, and a successful response will also contain an `EventTicketObject`. The process necessitates the authorization scope: `https://www.googleapis.com/auth/wallet_object.issuer`. This updates the ticket referenced by the given id.\n"]]