Method: eventticketobject.update
दिए गए ऑब्जेक्ट आईडी से रेफ़र किए गए इवेंट टिकट ऑब्जेक्ट को अपडेट करता है.
एचटीटीपी अनुरोध
PUT 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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-04 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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"]]