UploadTemplate

UploadTemplate

This method uploads a new template.

NOTE: You can have several valid handshakes at the same time.

URI

https://www.fillanypdf.com/api/rest/UploadTemplate

Input Parameters

name type comment
handshake string Authentication token
filename string Name of the document
document byte[] Content of the document

Returns

The method returns an Int value identifying the document, such that you can build the URL to navigate to this document at FillAnyPDF.

REST

<?xml version="1.0" encoding="utf-8" ?>
<ServiceResultOfInt32 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <Failed>false</Failed>
    <Result>231</Result>
</ServiceResultOfInt32>

In case of an error, the Result is returned empty (null) and the field Error is populated with the error message.

SOAP

Returns ServiceResult<int>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License