convert (rest)

« Back to api method list

API versions: 1.0 – 3.0

Merge data and convert the file or URL to PDF

URL

https://services.drawloop.com/api/version/rest/convert.format

API Version

We recommend always using the latest version of the API. Please see the available versions here.

Formats

string, xml, json

Parameters

Parameters with a * are required

  • convertTarget *

    Can be a URL or a posted file using a standard HTTP post.

  • targetFileName

    The file name of the PDF file once conversion has completed.

  • fillData

    Data formatted similar to a querystring (name1=value1&name2=value2) used to fill (merge) files. The name should match the <> tags or the range name for Microsoft Excel or the field name for Adobe PDF.

  • outputOriginal

    When downloading the result file(s) of this call, the original file(s), after filling (merging), will be available for download.

  • copyTables Available as of: 2.0

    Tables in Microsoft Word may be copied. This is done based on tags in the table. For each table you wish to copy, you must pass a tag in that table, the name of the file that table appears in, and the number of total copies you want all sepsrated by the ‘|’ character. If you wish to copy more than one table, this parameter can be passed in with multiple ‘|’ seperated groups which are seperated by the ‘&’ character. (e.g. tag1|file1.doc|5&tag2|file2.doc|3)

  • copyRows Available as of: 2.0

    Rows in Microsoft Word and Microsoft Excel may be copied. This is done based on tags in the row or by having a range name across an entire row. For each row you wish to copy, you must pass a tag found in that row, or the range name of the row, the name of the file that row appears in, and the number of total copies you want all sepsrated by the ‘|’ character. If you wish to copy more than one row, this parameter can be passed in with multiple ‘|’ seperated groups which are seperated by the ‘&’ character. (e.g. tag1|file1.doc|5&rangeName1|file2.xls|3)

Example Responses


XML

<?xml version="1.0" standalone="yes"?>
<jobId>
    <![CDATA[jobId]]>
</jobId>



JSON

"jobId"
© 2012 Drawloop Technologies, Inc. - All Rights Reserved.