Skip to navigation

RequestDocumentPDFs

View as Markdown

Schema

Name / Schema TypeDescription
EnvelopeID
DSXId
This is the envelope ID of the envelope, as returned by the CreateEnvelope/CreateAndSendEnvelope. Only documents within the specified envelope are returned.
// Create and send envelope as shown in linked code
DocuSignWeb.EnvelopeStatus status = <create and send envelope>;
// Call to request the PDFs with the envelope's ID
DocuSignWeb.DocumentPDFs pdf = _apiClient.RequestDocumentPDFs(status.EnvelopeID);
// Display number of PDFs returned
Console.WriteLine("Envelope has {0} pdfs", pdf.DocumentPDF.Length);

Sample Request XML

SOAPAction: "http://www.docusign.net/API/3.0/RequestDocumentPDFs"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap: Body>
<RequestDocumentPDFs xmlns="http://www.docusign.net/API/3.0">
<EnvelopeID>string</EnvelopeID>
</RequestDocumentPDFs>
</soap:Body>
</soap:Envelope>