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 envelopeDocumentsUpdateList operation allows you to 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>
</docusign.envelopeDocumentsUpdateList>

 

Properties

...

 

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

  • envelopeId: The ID of the envelope that contains the document.

 

Anchor
sampleRequest
sampleRequest
Sample request

 

Following is a sample REST request that can be handled by the envelopeDocumentsUpdateList 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 one or more documents to an existing envelope document with the Content-Type multipart/form-data with boundary as a pass-through  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.

...