Method: eventticketobject.patch
दिए गए ऑब्जेक्ट आईडी से रेफ़र किए गए इवेंट टिकट ऑब्जेक्ट को अपडेट करता है. यह तरीका पैच सिमैंटिक के साथ काम करता है.
एचटीटीपी अनुरोध
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketObject/{resourceId}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
resourceId |
string
किसी ऑब्जेक्ट के लिए यूनीक आइडेंटिफ़ायर. यह आईडी, जारी करने वाले के सभी ऑब्जेक्ट के लिए यूनीक होना चाहिए. यह वैल्यू, issuer ID फ़ॉर्मैट के हिसाब से होनी चाहिए.identifier को वहां जारी किया जाता है, जहां Google ने पहली वाली सेवा जारी की है और बाद वाले वर्शन को आपने चुना है. आपके यूनीक आइडेंटिफ़ायर में सिर्फ़ अक्षर और अंक, '.', '_' या '-' शामिल होने चाहिए.
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में 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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-03-13 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-03-13 (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"]]