Method: eventticketclass.patch
הקוד מעדכן את קטגוריית הכרטיסים לאירועים שמשויכת למזהה הקטגוריה שצוין. השיטה הזו תומכת בסמינטיקה של תיקונים.
בקשת HTTP
PATCH https://walletobjects.googleapis.com/walletobjects/v1/eventTicketClass/{resourceId}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של 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 patch semantics, allowing for partial modifications."],["The request must target a specific class identified by its unique `resourceId` in the URL path."],["The request body should contain the desired changes to the `EventTicketClass` object."],["A successful update will return the updated `EventTicketClass` object in the response."],["Requires `https://www.googleapis.com/auth/wallet_object.issuer` authorization scope for execution."]]],["The core action is to update an event ticket class using a `PATCH` request to a specified URL. The `resourceId` path parameter, a unique string identifier in the format of `issuer ID.identifier`, is required to locate the class. The request body contains the updated `EventTicketClass` data. A successful response returns the modified `EventTicketClass`. This operation requires the `https://www.googleapis.com/auth/wallet_object.issuer` OAuth scope. The URL uses gRPC Transcoding.\n"]]