Docusignapi Docusign-eSignature REST API更新方法不删除选项卡项

Docusignapi Docusign-eSignature REST API更新方法不删除选项卡项,docusignapi,Docusignapi,当我使用RESTAPI创建模板时,一切看起来都很好,但是如果我尝试使用提供templateId的更新API删除tabItems,tabItems仍然存在。更新是否仅添加和编辑而不删除?能够从现有模板中添加和删除项目,而不是一直创建/删除项目,这将是一件好事 初始创建,然后是更新请求 "requestBody": { "data": { "attributes": { "recipients": { "signers": [

当我使用RESTAPI创建模板时,一切看起来都很好,但是如果我尝试使用提供templateId的更新API删除tabItems,tabItems仍然存在。更新是否仅添加和编辑而不删除?能够从现有模板中添加和删除项目,而不是一直创建/删除项目,这将是一件好事

初始创建,然后是更新请求

  "requestBody": {
    "data": {
      "attributes": {
        "recipients": {
          "signers": [
            {
              "roleName": "PrimaryInvestor",
              "recipientId": "1",
              "routingOrder": "1",
              "tabs": {
                "textTabs": [
                  {
                    "locked": true,
                    "xPosition": "379",
                    "tabLabel": "test1",
                    "pageNumber": "1",
                    "width": "20",
                    "required": false,
                    "documentId": "1",
                    "yPosition": "120"
                  },
                  {
                    "locked": true,
                    "xPosition": "379",
                    "tabLabel": "test2",
                    "pageNumber": "1",
                    "width": "20",
                    "required": false,
                    "documentId": "1",
                    "yPosition": "140"
                  },
                  {
                    "locked": true,
                    "xPosition": "379",
                    "tabLabel": "test3",
                    "pageNumber": "1",
                    "width": "20",
                    "required": false,
                    "documentId": "1",
                    "yPosition": "160"
                  }
                ]
              }
            }
          ]
        },
        "documents": [
          {
            "fileName": "non-prod/localhost/templates/bc1e82ca-978b-4c45-9e08-bf78d62e7408/sF4UIknZTQysIFUKd0sO_1pgPDF.pdf",
            "order": "1",
            "documentId": "1",
            "name": "Hi there doc name",
            "bucket": "wfh-longterm-filestore-non-prod"
          }
        ],
        "envelopeTemplateDefinition": {
          "name": "delete test",
          "description": "asdfasdf",
          "folderName": "Altigo"
        }
      }
    }
  }
}


{
  "requestBody": {
    "data": {
      "attributes": {
        "recipients": {
          "signers": [
            {
              "roleName": "PrimaryInvestor",
              "recipientId": "1",
              "routingOrder": "1",
              "tabs": {
                "textTabs": [
                  {
                    "locked": true,
                    "xPosition": "379",
                    "tabLabel": "test1",
                    "pageNumber": "1",
                    "width": "20",
                    "required": false,
                    "documentId": "1",
                    "yPosition": "120"
                  }
                ]
              }
            }
          ]
        },
        "documents": [
          {
            "fileName": "non-prod/localhost/templates/bc1e82ca-978b-4c45-9e08-bf78d62e7408/sF4UIknZTQysIFUKd0sO_1pgPDF.pdf",
            "order": "1",
            "documentId": "1",
            "name": "Hi there doc name",
            "bucket": "wfh-longterm-filestore-non-prod"
          }
        ],
        "envelopeTemplateDefinition": {
          "name": "delete test",
          "description": "asdfasdf",
          "folderName": "Altigo"
        }
      }
    }
  }
}



您拨打的上述电话不会删除选项卡,只会更新选项卡。 您可以使用以下调用从模板中删除选项卡:

DELETE /restapi/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs
其中,主体具有指定要删除哪些选项卡的JSON


您拨打的上述电话不会删除选项卡,只会更新选项卡。 您可以使用以下调用从模板中删除选项卡:

DELETE /restapi/v2.1/accounts/{accountId}/templates/{templateId}/recipients/{recipientId}/tabs
其中,主体具有指定要删除哪些选项卡的JSON