Method: eventticketobject.update
Aktualisiert das Veranstaltungsticketobjekt, auf das die angegebene Objekt-ID verweist.
HTTP-Anfrage
PUT 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 von Google ausgegeben und von dir 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 the provided data."],["Uses a `PUT` request to the specified URL with the object's unique identifier."],["Requires an `EventTicketObject` in the request body for the update."],["Returns the updated `EventTicketObject` in the response if successful."],["Needs the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope."]]],["The core action is updating an event ticket object using its unique identifier (`resourceId`). This is done via a `PUT` request to the specified URL, which includes `resourceId` as a path parameter. The `resourceId` follows a specific format: `issuer ID.identifier`. The request body is an `EventTicketObject` instance. A successful operation returns an updated `EventTicketObject` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope.\n"]]