Method: matters.addPermissions
הוספת חשבון כשותף בטיפול בפנייה.
בקשת HTTP
POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions
כתובת ה-URL משתמשת בתחביר של Transcoding של gRPC.
פרמטרים של נתיב
פרמטרים |
matterId |
string
מזהה הפנייה.
|
גוף הבקשה
גוף הבקשה מכיל נתונים במבנה הבא:
ייצוג ב-JSON |
{
"matterPermission": {
object (MatterPermission )
},
"sendEmails": boolean,
"ccMe": boolean
} |
שדות |
matterPermission |
object (MatterPermission )
החשבון והתפקיד שרוצים להוסיף.
|
sendEmails |
boolean
כדי לשלוח הודעת אימייל לחשבון שנוסף, מגדירים את הערך ל-true. כדי לא לשלוח התראה באימייל, מגדירים את הערך false.
|
ccMe |
boolean
רלוונטי רק אם הערך של sendEmails הוא true. כדי להוסיף את מבצע הבקשה כהעתק (CC) בהודעת האימייל, מגדירים את הערך true. כדי לא לשלוח עותק לשולח הבקשה, מגדירים את הערך ל-false.
|
גוף התשובה
אם הפעולה מצליחה, גוף התגובה מכיל מופע של MatterPermission
.
היקפי הרשאה
נדרש היקף הרשאות OAuth הבא:
https://www.googleapis.com/auth/ediscovery
מידע נוסף זמין בOAuth 2.0 Overview.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-02-27 (שעון UTC).
[null,null,["עדכון אחרון: 2025-02-27 (שעון UTC)."],[[["Adds an account as a collaborator to a specified matter using the provided matter ID."],["Requires a request body specifying the account's permissions, along with optional notification email settings."],["Uses the `POST https://vault.googleapis.com/v1/matters/{matterId}:addPermissions` endpoint for the operation."],["Utilizes OAuth scope `https://www.googleapis.com/auth/ediscovery` for authorization."],["Returns a MatterPermission object in the response body upon successful completion."]]],["This outlines the process to add an account as a matter collaborator using a POST request to `https://vault.googleapis.com/v1/matters/{matterId}:addPermissions`. The request requires a `matterId` path parameter and a JSON request body containing `matterPermission`, `sendEmails`, and `ccMe` fields. Upon success, it returns a `MatterPermission` object. Authorization requires the `https://www.googleapis.com/auth/ediscovery` OAuth scope. The process allows an option to send an email to the new collaborator, with an option for the requestor to be copied.\n"]]