Method: eventticketclass.update
הקוד מעדכן את קטגוריית הכרטיסים לאירועים שמשויכת למזהה הקטגוריה שצוין.
בקשת HTTP
PUT https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
resourceId |
string
המזהה הייחודי של הכיתה. המזהה הזה חייב להיות ייחודי בכל המחלקות של המנפיק. הערך צריך להיות בפורמט issuer ID.identifier כאשר הראשון הונפק על ידי Google והאחרון נבחר על ידך. המזהה הייחודי יכול לכלול רק תווים אלפאנומריים, '.', '_' או '-'.
|
גוף הבקשה
גוף הבקשה מכיל מופע של EventTicketClass
.
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של EventTicketClass
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/wallet_object.issuer
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-11-04 (שעון UTC).
[null,null,["עדכון אחרון: 2024-11-04 (שעון UTC)."],[[["Updates an existing event ticket class with the provided data."],["Uses a `PUT` request to the specified endpoint with the class ID in the path."],["Requires an `EventTicketClass` object in the request body for the update."],["Returns the updated `EventTicketClass` object in the response if successful."],["Needs the `wallet_object.issuer` OAuth scope for authorization."]]],["The core action is updating an event ticket class using its unique `resourceId`. This is achieved via a `PUT` request to the specified URL: `https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}`. The `resourceId` must adhere to the format `\u003cissuer ID\u003e.\u003cidentifier\u003e`. The request body requires an `EventTicketClass` instance, and a successful response will also return an `EventTicketClass` instance. This operation needs `https://www.googleapis.com/auth/wallet_object.issuer` authorization.\n"]]