简体   繁体   English

DocuSign REST API:检查DS VIEWER用户的待处理信封

[英]DocuSign REST API: Check pending envelopes for a user who is DS VIEWER

First, a call to GET {{vx}}/accounts/{{accountid}}/folders/ This gets me the user's Sent folder ID, so I can make a call to GET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=sent and GET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=delivered 首先,调用GET {{vx}}/accounts/{{accountid}}/folders/这使我获得了用户的已发送文件夹ID,因此我可以调用GET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=sentGET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=delivered

I am able to get envelop details by using above API Call for the user who is DS ADMIN , DS SENDER in permission set...... But when I try to retrieve details for any User with permission Set as DS VIEWER then I am getting below error in response: 我可以通过为权限集中为DS ADMIN,DS SENDER的用户使用上述API调用来获取信封详细信息……但是,当我尝试为权限为DS VIEWER的任何用户检索详细信息时,我响应以下错误:

401 ERROR: 

{
  "errorCode": "USER_LACKS_PERMISSIONS",
  "message": "This user lacks sufficient permissions to access this resource."
}

Any one please help me to resolve the issue..... 任何人都可以帮助我解决问题.....

By definition, a user with role DS Viewer cannot send envelopes. 根据定义,具有DS Viewer角色的用户无法发送信封。 Therefore, it makes sense that a user with role DS Viewer would be prohibited from querying the Sent folder via the API -- this is why you're receiving the 401 error response. 因此,有意义的是,将禁止具有DS Viewer角色的用户通过API查询“已发送”文件夹-这就是为什么您收到401错误响应的原因。 For more information about DocuSign Permission sets, see the documentation . 有关DocuSign权限集的更多信息,请参阅文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM