Method: matters.holds.accounts.create
یک حساب کاربری را به ذخیره اضافه می کند. حسابها را میتوان فقط به انبارهایی اضافه کرد که مجموعهای از واحدهای سازمانی ندارند. اگر بخواهید حسابی را به یک نگهدارنده مبتنی بر واحد سازمانی اضافه کنید، خطایی برگردانده میشود.
درخواست HTTP
POST https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}/accounts
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
پارامترها |
---|
matter Id | string شناسه موضوع |
hold Id | string شناسه نگهداری |
درخواست بدن
بدنه درخواست شامل یک نمونه از HeldAccount
است.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی یک نمونه جدید از HeldAccount
است.
محدوده مجوز
به محدوده OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/ediscovery
برای اطلاعات بیشتر، بهOAuth 2.0 Overview .
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-02-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-02-05 بهوقت ساعت هماهنگ جهانی."],[[["Adds an account to a specified hold within a matter, provided the hold is not associated with an organizational unit."],["The request requires specifying the matter ID and hold ID as path parameters."],["The request body should contain details of the account to be held, as defined by the `HeldAccount` object."],["Upon successful execution, the response returns the details of the newly held account, also structured as a `HeldAccount` object."],["Authorization necessitates the `https://www.googleapis.com/auth/ediscovery` OAuth scope."]]],["This document outlines the process of adding an account to a hold via a POST request. The core action is executed by sending a POST request to `https://vault.googleapis.com/v1/matters/{matterId}/holds/{holdId}/accounts`, using gRPC Transcoding syntax. The request requires `matterId` and `holdId` path parameters. The request body must include a `HeldAccount` instance. A successful response will return a new `HeldAccount` instance. Authorization requires the `https://www.googleapis.com/auth/ediscovery` OAuth scope. Accounts can only be added to holds without organizational units set.\n"]]