简体   繁体   English

DocuSign API 方法信封.listStatusChanges 不显示共享给我的用户的信封

[英]DocuSign API method envelopes.listStatusChanges doesn't show envelopes shared to my user

I'm calling listStatusChanges with an http GET similar to this: .../restapi/v2/accounts//envelopes?from_date=&start_position=0&count=50我正在使用类似于此的 http GET 调用 listStatusChanges:.../restapi/v2/accounts//envelopes?from_date=&start_position=0&count=50

It works for envelopes owned by anyone when my current user has permission of DS Admin.当我的当前用户拥有 DS Admin 的权限时,它适用于任何人拥有的信封。 It works for envelopes owned by my current user when my user has permission of DS Sender.当我的用户拥有 DS Sender 的权限时,它适用于我当前用户拥有的信封。

However, I have certain users who have shared their envelopes mo my current user.但是,我有某些用户与我当前的用户共享了他们的信封。 In the DocuSign user interface, I see these Shared Envelopes .在 DocuSign 用户界面中,我看到了这些共享信封 But this sharing seems to have no impact on this API call.但是这次分享似乎对这个API调用没有影响。 The shared envelopes are not visible unless I have DS Admin permission.除非我拥有 DS 管理员权限,否则共享信封不可见。

Is this working correctly?这工作正常吗? Is it a bug?这是一个错误吗? Am I doing something wrong?难道我做错了什么?

Thank you谢谢

If you know other user's userId then you can use below API call to see that user's shared envelopes.如果您知道其他用户的 userId,那么您可以使用下面的 API 调用来查看该用户的共享信封。 You must specifically call that out in the request through the user_id parameter, and only one other user can be queried for per API call.您必须在请求中通过user_id参数专门调用它,并且每个 API 调用只能查询一个其他用户。

/restapi/v2.1/accounts/{{accountId}}/envelopes?from_date=2019-07-15T08:00:00.000Z&user_id=87b00103-461d-487b-8928-1991dfdb8d20

where 87b00103-461d-487b-8928-1991dfdb8d20 is the userId of the other user whose envelopes you want to see.其中 87b00103-461d-487b-8928-1991dfdb8d20 是您想查看其信封的其他用户的用户 ID。

Note the use of /v2.1/ in this call's URL.请注意在此调用的 URL 中使用 /v2.1/。 The /v2/ version of this call does not correctly respect Envelope Sharing, but /v2.1/ has corrected this issue and will not require the use of DS Admin permissions.此调用的 /v2/ 版本未正确遵守信封共享,但 /v2.1/ 已更正此问题并且不需要使用 DS 管理员权限。

I reached Drew M. in DocuSign Developer Support.我在 DocuSign 开发人员支持中找到了 Drew M.。 He provided this answer:他给出了这样的回答:

I've tested this on my account, and it does look like that API call doesn't correctly respect Sharing, so at this time it does require Admin rights.我已经在我的帐户上对此进行了测试,看起来 API 调用没有正确尊重共享,因此此时它确实需要管理员权限。 I'll be filing a product issue about this, and I'll let you know what I hear back.我将提交有关此的产品问题,然后我会告诉您我收到的信息。

Subsequently, Drew reported that this was in fact fixed in v2.1, per his comment below.随后,德鲁报告说,根据他下面的评论,这实际上已在 v2.1 中修复。

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

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