Rules for using RequestDocumentPDFs, RequestDocumentPDFsEx, RequestPDF, RequestPDFNoWaterMark, RequestPDFWithCert, DocumentPDF, and EnvelopePDF
-
In the methods mentioned in this section, length of the EnvelopeID must not exceed 100 characters. Else, the XML validation fails and the processor throws a Validation error.
-
In the request methods envelope with specified Id must exist. Else an exception “Envelope_Does_Not_Exist” is thrown.
-
In the DocumentPDF method returns all the PDF documents in the envelope as base64binary with document names. But DocumentPDF element is optional. If the envelope with mentioned EnvelopeID is in the draft stage then Name or PDFBytes is not returned.
-
DocumentPDFs also return certificate document with PDF documents in the envelope
-
Only sender or recipient can retrieve the documents else exception, “User_Not_Envelope_Sender_Or_Recipient” will be thrown.
-
You may have your account setup by Docusign to include Docusign PDF meta data in the returned PDF bytes. The envelope level PDF will contain:
-
Tracking information that contains the Envelope ID.
- EnvelopeStatus XML.
The document level PDF will contain:
- Tracking information that contains the Envelope ID and originating Document ID.
- EnvelopeStatus XML with the tab information removed that does not pertain to the document.
- Document PDF form data if the document originated with TransformPDFFields enabled.
The envelope summary document will contain:
- Tracking information that contains the Envelope ID.
- EnvelopeStatus XML with all tab information removed.