简体   繁体   English

Docusign中的“移动信封”功能

[英]Move envelopes Feature in Docusign

Problem: Envelopes moved to recycle bin are been showing up in the report even after 2 days. 问题:移动到回收站的信封甚至在2天后仍显示在报告中。 We are using EnvelopesApi.listStatusChanges to get the envelope status 我们正在使用EnvelopesApi.listStatusChanges来获取信封状态

Description: 描述:

We are using move envelopes feature to move the envelopes to the recycle bin and eventually after 1 day the envelope being moved is removed from the account and we can no longer see the envelope in any of the folders. 我们正在使用“移动信封”功能将信封移动到回收站,最终在1天后,将被移动的信封从帐户中删除,我们再也看不到任何文件夹中的信封了。 But interestingly the envelope that's been moved is shown up when we made an API call EnvelopesApi.listStatusChange and even it's been showing up when we made the Rest call get envelope status /accounts/{accountId}/envelopes 但是有趣的是,当我们进行API调用EnvelopesApi.listStatusChange时会显示已移动的信封,甚至在进行Rest调用时也会显示信封状态/ accounts / {accountId} / envelopes

Question

Is there a way to identify such kinds of envelopes that have been moved to recycle bin and no longer been available in any of the folders but shown up through the API Calls?. 有没有办法识别已经移到回收站并且不再在任何文件夹中可用但通过API调用显示的信封类型? Looking to see if we can identify such kind of envelopes with any parameters that have been returned from any of the API calls 寻找我们是否可以使用从任何API调用返回的任何参数来识别此类信封

You should call below URI, as documented here : 您应该在URI下方进行调用,如此处所述

GET /v2/accounts/{accountId}/folders

to know all the folders you have access to, this will also return the recyclebin folder uri, response will be like below: 要知道您有权访问的所有文件夹,这还将返回recyclebin文件夹uri,响应如下所示:

    {
      "ownerUserName": "Sender Nae",
      "ownerEmail": "email@gmail.com",
      "ownerUserId": "87b00103-461d-487b-8928-1991dfdb8d19",
      "type": "recyclebin",
      "name": "Deleted Items",
      "uri": "/folders/2fdc7ffc-60d5-4c36-9f9a-1410c30de0eb",
      "folderId": "2fdc7ffc-60d5-4c36-9f9a-1410c30de0eb"
    }

Now, read folderId or uri from the response for type - recyclebin, and call below uri to know all the envelopes which have been moved to recyclebin. 现在,从响应中读取类型为recyclebin的folderId或uri,并在uri下面调用以了解已移至回收站的所有信封。 Details are available at DS Docs 有关详细信息,请访问DS Docs

GET /restapi/v2/accounts/{accountId}/folders/2fdc7ffc-60d5-4c36-9f9a-1410c30de0eb

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

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