Method: eventticketobject.addmessage
दिए गए ऑब्जेक्ट आईडी से रेफ़र किए गए इवेंट टिकट ऑब्जेक्ट में मैसेज जोड़ता है.
एचटीटीपी अनुरोध
POST https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}/addMessage
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
resourceId |
string
किसी ऑब्जेक्ट के लिए यूनीक आइडेंटिफ़ायर. यह आईडी, जारी करने वाले के सभी ऑब्जेक्ट में यूनीक होना चाहिए. यह वैल्यू issuer ID फ़ॉर्मैट में होनी चाहिए.identifier, जहां पहला कोड Google जारी करता है और दूसरा कोड आप चुनते हैं. आपके यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, '.', '_' या '-' शामिल होने चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में AddMessageRequest
का उदाहरण है.
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
फ़ील्ड |
resource |
object (EventTicketObject )
अपडेट किया गया EventTicketObject संसाधन.
|
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/wallet_object.issuer
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-07 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-07 (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"]]