Versions Compared

Key

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

To have Quik! generate your DocuSign envelopes using the Callback service, use this URL.


PLEASE VISIT THE URL'S BELOW FOR THE LATEST XML FORMAT
Service URL: https://websvcs.quikforms.com/Docusign/ESignWSVersion/5202/ESignWithOAuthToken.asmx
Service WSDL: https://websvcs.quikforms.com/Docusign/ESignWSVersion/5202/ESignWithOAuthToken.asmx?wsdl

...

There is no sample project for this method as it's built into the Quik! Forms Engine's methodology for using a callback URL to report the EnvelopeID to the originating program. This method is similar to the Pass-Thru method except that it uses the DocuSign OAuthToken instead of DocuSign credentials. The OAuthToken allows for the customer's DocuSign credentials to be kept private. To create an OAuthToken see the OAuthToken web service.

Methods:

The following methods are used to generate the PDF and XML data objects to send to DocuSign.

  • GenerateDocusignEnvelope – Accepts the raw, posted data from a Quik! HTML form to generate a DocuSign envelope, returning the EnvelopeID
  • GenerateDocusignEnvelopeJSON – Accepts the raw, posted data from a Quik! HTML form to generate a DocuSign envelope, returning the EnvelopeID in JSON format.

 

GenerateDocusignEnvelope

This method takes data posted directly by a Quik! HTML form and then creates an envelope in DocuSign by generating and passing the form data as an XML file and PDF document. This method returns a DocuSign EnvelopeID directly to the form, which can then pass the EnvelopeID via a Callback URL.

...

<?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:Header>
<DocuSignCredentials xmlns="https://websvcs.quikforms.com/docusign/esignws/">
<UserName>string</UserName>
<Password>string</Password>
</DocuSignCredentials>
</soap:Header>
<soap:Body>
<GenerateDocusignEnvelope xmlns="https://websvcs.quikforms.com/docusign/esignws/">
<FormData>string</FormData>
</GenerateDocusignEnvelope>
</soap:Body>
</soap:Envelope>

...

<?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>
<GenerateDocusignEnvelopeResponse xmlns="https://websvcs.quikforms.com/docusign/esignws/">
<GenerateDocusignEnvelopeResult>
<ErrorCode>int</ErrorCode>
<Message>string</Message>
<ResultData>
<xsd:schema>schema</xsd:schema>xml</ResultData>
<File>base64Binary</File>
</GenerateDocusignEnvelopeResult>
</GenerateDocusignEnvelopeResponse>
</soap:Body>
</soap:Envelope>

Result Fields

This method returns a table containing the DocuSign EnvelopeID.

Field Name

Data Type

Length

Description

EnvelopeID

String

 

The DocuSign-EnvelopeID for the newly generated envelope

 

GenerateDocusignEnvelopeJSON

...

<?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>
<GenerateDocusignEnvelopeJSON xmlns="https://websvcs.quikforms.com/docusign/esignws/">
<FormData>string</FormData>
</GenerateDocusignEnvelopeJSON>
</soap:Body>
</soap:Envelope>

...

<?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>
<GenerateDocusignEnvelopeJSONResponse xmlns="https://websvcs.quikforms.com/docusign/esignws/">
<GenerateDocusignEnvelopeJSONResult>string</GenerateDocusignEnvelopeJSONResult>
</GenerateDocusignEnvelopeJSONResponse>
</soap:Body>
</soap:Envelope>

...