Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
maxLevel3
typeflat

...

https://docs.docusign.com/esign/restapi/Envelopes/EnvelopeDocuments/get/

Anchor
envelopeDocumentsUpdateList
envelopeDocumentsUpdateList
Add documents to existing envelope using multipart/form-data

The The envelopeDocumentsUpdateList   operation allows you to adds one adds one or more documents to an existing envelope document using multipart/form-data.

Code Block
titleenvelopeDocumentsUpdateList
<docusign.envelopeDocumentsUpdateList>
    <accountId>{$url:accountId}</accountId>
    <envelopeId>{$url:envelopeId}</envelopeId>
    <applyDocumentFields>{$url:applyDocumentFields}</applyDocumentFields>
</docusign.envelopeDocumentsUpdateList>

Properties

  • accountId: The account ID. This information is returned in the login response.

  • envelopeId:  The The ID of the envelope that contains the document.
  • applyDocumentFields: When true, document fields can be added or modified while adding or modifying envelope documents.
Anchor
sampleRequest
sampleRequest
Sample request

Following is a sample REST request that can be handled by the envelopeDocumentsUpdateList operationenvelopeDocumentsUpdateList operation.

Code Block
titleenvelopeDocumentsUpdateList
--AAA
Content-Disposition: form-data
Content-Type: application/json

{
  "documents": [
    {
      "documentId": "3",
      "name": "sampleDoc.pdf",
      "transformPdfFields": "false"
    }
  ]
}

--AAA
Content-Disposition: attachment; filename="sampleDoc.pdf"; documentId="3"
Content-Type: application/pdf
VGhlIEJTQiBudW1iZXIgaWRlbnRpZmllcyBhIGJyYW5jaCBvZiBhIGZpbmFuY2lhbCBpbnN0aXR1dGlvbiBpbiBBdXN0cmFsaWEu

--AAA--
Info
titleNote

envelopeDocumentsUpdateList operation supports to adds adds one or more documents to an existing envelope document with the Content-Type multipart/form-data with boundary as a pass-through  scenariothrough  scenario.

When invoke the operation using proxy consider the following things as well.

  • Content-Type:multipart/form-data; boundary=AAA

  • Give the apiUrl, apiVersion, integratorKey, userName, password, accountId and envelopeId as URL params with the request.

Related DocuSign API documentation

...