Versions Compared

Key

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

The miscellaneous configuration methods and options are available in the GetPDFForms of the HTMLFormViewTransactionNOTE: SOAP are legacy web services originally developed for the Quik! APIs. At this time, they are deprecated and no longer in use. This guide is here for documentation purposes only.

This service converts an HTML form into a PDF. NOTE: This service is part of a larger set of services. Please only use the GetPDFForms method as the other methods are for internal Quik! use.

PLEASE VISIT THE URL'S BELOW FOR THE LATEST XML FORMAT

GetPDFForms Web Service URL: https://websvcs.quikforms.com/HTMLFormViewTrans/v5400v5500/HTMLFormViewTransaction.asmx?op=GetPDFForms
Service WSDL: https://websvcs.quikforms.com/HTMLFormViewTrans/v5400v5500/HTMLFormViewTransaction.asmx?WSDL

Methods:

The following method(s) are used to perform various functions useful to manage your implementation or Sample Website using the Quik! Forms Engine software.

  • GetPDFForms

GetPDFForms

SOAP 1.1 Request

...

GetPDFForms Details

Use this method to retrieve a PDF for the HTML form that was submitted to your server. This method is best used behind the scenes after your server receives a form's posted form data (i.e. HTTP POST) during a Submit event. For example, if a user submits a form for validation and it passes validation you might call this service to get the PDF for archiving or routing through your workflow. 

SOAP Request

Code Block
languagexml
titleXML
<?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>
    <GetPDFForms xmlns="https://websvcs.quikforms.com/htmlformviewtrans5100/formviewhtml/">
      <strFormData>string</strFormData>
      <blnEditablePDFs>boolean</blnEditablePDFs>
      <signAllDocsCombined>boolean</signAllDocsCombined>
    </GetPDFForms>
  </soap:Body>
</soap:Envelope>

SOAP Body Request Parameters

This method accepts the following parameters.

Field Name

Data Type

Length

Required?

Description

FormIDsListstrFormData

String

8000 chars

YES

CSV list of unique form IDs

SOAP 1.1 Response

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

<?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>
    <GetPDFFormsResponse xmlns="https://websvcs.quikforms.com/htmlformviewtrans5100/formviewhtml/">
      <GetPDFFormsResult>
        <ErrorCode>int</ErrorCode>
        <Message>string</Message>
        <ResultData>
          <xsd:schema>schema</xsd:schema>xml</ResultData>
      </GetPDFFormsResult>
    </GetPDFFormsResponse>
  </soap:Body>
</soap:Envelope>

Result Fields

This method returns a table of client roles that exist on the provided forms so a user can assign their client records to each role for prefilling the forms.

...

Field Name

...

Data Type

...

Length

...

Description

...

RoleID

...

Int

...

 

...

A unique ID for the field

...

QFDLevel1FieldID

...

Int

...

 

...

The internal ID for the Quik! Parent Field

...

FieldName

...

String

...

 

...

The field name of the Quik! Parent Field or role

...

RoleInstance

...

Int

...

 

...

The role instance number (e.g. 1 for the first role, 2 for the second role, etc.)

SOAP 1.2 Request

The following is a sample SOAP 1.2 request. The placeholders shown need to be replaced with actual values.

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <GetPDFForms xmlns="https://websvcs.quikforms.com/htmlformviewtrans5100/formviewhtml/">
      <strFormData>string</strFormData>
      <blnEditablePDFs>boolean</blnEditablePDFs>
      <signAllDocsCombined>boolean</signAllDocsCombined>
    </GetPDFForms>
  </soap12:Body>
</soap12:Envelope>

SOAP Body Request Parameters

This method accepts the following parameters.

...

Field Name

...

Data Type

...

Length

...

Required?

...

Description

...

FormIDsList

...

String

...

8000 chars

...

YES

...

CSV list of unique form IDs

SOAP 1.2 Response

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

The exact data received from an HTTP POST of the HTML Form. Pass the exact string of posted data your server received.

blnEditablePDFsBoolean
NOBy default PDF fields are not editable and are flattened. By setting this value to TRUE you can return a PDF that can still be edited.
signAllDocsCombinedBoolean
NOSet flag to TRUE to include forms AND any external documents in a single PDF that is returned by this service

SOAP 1.1 Response

Code Block
languagexml
titleXML
<?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>
    <GetPDFFormsResponse xmlns="https://websvcs.quikforms.com/htmlformviewtrans5100/formviewhtml/">
      <GetPDFFormsResult>
        <ErrorCode>int</ErrorCode>
        <Message>string</Message>
        <ResultData>
          <xsd:schema>schema</xsd:schema>xml</ResultData>
      </GetPDFFormsResult>
    </GetPDFFormsResponse>
  </

...

soap:Body>
</

...

soap:Envelope>

Result Fields

This method returns a table of client roles that exist on the provided forms so a user can assign their client records to each role for prefilling the forms.

Field Name

Data Type

Length

Description

RoleIDResultData

IntPDF File

 

A unique ID for the field

QFDLevel1FieldID

Int

 

The internal ID for the Quik! Parent Field

FieldName

String

 

The field name of the Quik! Parent Field or role

RoleInstance

Int

 

The role instance number (e.g. 1 for the first role, 2 for the second role, etc.)

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /HTMLFormViewTrans/v5400/HTMLFormViewTransaction.asmx/GetPDFForms?strFormData=string&blnEditablePDFs=string&signAllDocsCombined=string HTTP/1.1
Host: websvcs.quikforms.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<QuikResultWS xmlns="https://websvcs.quikforms.com/htmlformviewtrans5100/formviewhtml/">
  <ErrorCode>int</ErrorCode>
  <Message>string</Message>
  <ResultData>
    <schema xmlns="http://www.w3.org/2001/XMLSchema">schema</schema>xml</ResultData>
</QuikResultWS>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /HTMLFormViewTrans/v5400/HTMLFormViewTransaction.asmx/GetPDFForms HTTP/1.1
Host: websvcs.quikforms.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

strFormData=string&blnEditablePDFs=string&signAllDocsCombined=string

...

The resulting PDF file.