Method: eventticketobject.addmessage
指定されたオブジェクト ID のイベント チケット オブジェクトにメッセージを追加します。
HTTP リクエスト
POST https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}/addMessage
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
resourceId |
string
オブジェクトの一意の識別子。この ID は、発行者のすべてのオブジェクトで一意である必要があります。この値は issuer ID の形式にする必要があります。identifier。前者は Google が発行し、後者は貴社が選択します。一意の識別子には、英数字、「.」、「_」、「-」のみを使用してください。
|
リクエスト本文
リクエストの本文には AddMessageRequest
のインスタンスが含まれます。
レスポンスの本文
成功すると、レスポンスの本文に次の構造のデータが含まれます。
フィールド |
resource |
object (EventTicketObject )
更新された EventTicketObject リソース。
|
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/wallet_object.issuer
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-03-13 UTC。
[null,null,["最終更新日 2025-03-13 UTC。"],[[["This endpoint allows you to add a message to an existing event ticket object using a POST request."],["You need to provide the unique object ID as a path parameter to identify the target event ticket."],["The request body should contain an `AddMessageRequest` object with the message details."],["A successful response will include the updated `EventTicketObject` resource."],["This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope for authorization."]]],["This describes adding a message to an event ticket object via a POST request to `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}/addMessage`. The `resourceId`, a unique object identifier, is a path parameter. The request body should be an `AddMessageRequest`. A successful response includes the updated `EventTicketObject` within a JSON object, under the field `resource`. This action requires the `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope.\n"]]