DocuSign REST api un-group tabs

后端 未结 1 569
我寻月下人不归
我寻月下人不归 2021-01-25 06:08

I need to ungroup the tabs in envelope which is created in \'draft\' status so that if I move one SignHere tab position on one page, all other SignHere don\'t move. I did a GET

相关标签:
1条回答
  • 2021-01-25 07:03

    You are only updating a single instance of the tab. So only one Tab is being ungrouped. Instead you should update all the Tab instances


    Step I : Retrieve all Anchor tab locations

    Use the listRecipientTabs api to retrieve the tabs for the recipient. Specify the query string parameter include_anchor_tab_locations=true to retrieve all the anchor tab locations.

    GET /v2/accounts/{accId}/envelopes/{envId}/recipients/{recipId}/tabs?include_anchor_tab_locations=true


    Step II : Update all anchor tab instances to ungroup

    Use the updateRecipientTabs api to set anchorString='' for all tab instances. Other tab properties can be excluded in the PUT call.

    PUT /v2/accounts/{accountId}/envelopes/{envelopeId}/recipients/{recipientId}/tabs

    {
      "signHereTabs": [
        {
          "anchorString": "",
          "tabid": "37dac2a5-c5fa-4726-b28a-3ec7af7e4189"
        },
        {
          "anchorString": "",
          "tabid": "<Specify Tab Id here>"
        },
        {
          "anchorString": "",
          "tabid": "<Specify Tab Id here>"
        } 
      ]
    }
    

    See this answer for ungrouping tabs using the C# sdk.

    0 讨论(0)
提交回复
热议问题