DocuSign API-帐户用户之间的信封共享 [英] DocuSign API - Envelope Sharing Between Account Users
问题描述
我遇到的一个问题示例是,我刚刚在DocuSign中创建了一个新用户,并且需要分配其他几个现有用户才能通过eSignature REST API共享该用户的信封。我知道有一种方法可以通过GUI进行操作,但是是否有相当于通过API通过与用户共享信封和与用户共享信封添加用户的方法呢?
An example to my issue is I just created a new user in DocuSign and need to assign several other existing users to share this user's envelopes through the eSignature REST API. I am aware there is a way to do this through the GUI, but is there an equivalent to adding users through "Share envelopes with user" and "Share user's envelopes" through the API?
通过GUI添加共享的指南: https:/ /support.docusign.com/en/guides/ndse-admin-guide-share-envelopes
Guide to add sharing through GUI: https://support.docusign.com/en/guides/ndse-admin-guide-share-envelopes
推荐答案
是,通过此处记录的UpdateSharedAccess方法: https:/ /developers.docusign.com/esign-rest-api/reference/Accounts/Accounts/updateSharedAccess
Yes, through the UpdateSharedAccess method, which is documented here: https://developers.docusign.com/esign-rest-api/reference/Accounts/Accounts/updateSharedAccess
例如,一个 PUT
调用 {{vx}} / accounts / {{accountid}} / shared_access?preserve_existing_shared_access = true
并使用以下正文:
For example, a PUT
call to {{vx}}/accounts/{{accountid}}/shared_access?preserve_existing_shared_access=true
with the following body:
{
"sharedAccess": [{
"user": {
"userId": "00000000-0000-0000-0000-000000000000"
},
"envelopes": [{
"user": {
"userId": "11111111-1111-1111-1111-111111111111"
},
"shared": "shared_to"
}]
}]
}
将允许0000用户查看1111个用户文档
will allow the 0000 user to view the 1111 user's documents
这篇关于DocuSign API-帐户用户之间的信封共享的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!