Sertifi API Web Service
Method/testsite/Services/Gateway.asmx/ApplyTemplate
Description
Apply a template from the document library to a document in a file.  Requires the signer and document must be added to the file prior to making the call.
Request (ApplyTemplateSoapIn)

The request body is of type ApplyTemplate.

Request Body Parameters

NameDescriptionData Type
pstr_APICodeThe API code of the site.  This can be found through your Sertifi web interface under Administration -> Account Settings.xml:string
pstr_FileIDThe id of the relevant file.xml:string
pstr_DocumentIDThe id of the relevant document.xml:string
pstr_TemplateIDThe Id of the template that was set up through your Sertifi Web portal.xml:string
pstr_SignerEmailThe Signer the templates should apply to.xml:string
pstr_SignerEmail Element pstr_TemplateID Element pstr_DocumentID Element pstr_FileID Element pstr_APICode Element Sequence ApplyTemplate Element
Response (ApplyTemplateSoapOut)

The response body is of type ApplyTemplateResponse.

Response Body Parameters

NameDescriptionData Type
ApplyTemplateResult"SUCCESS" or error message.xml:string
ApplyTemplateResult Element Sequence ApplyTemplateResponse Element
Remarks
Common Errors include:
"ERROR: Invalid API Code"
"ERROR: Invalid signer email: ..."
"ERROR: File could not be accessed"
"ERROR: Document could not be accessed"
"ERROR: Template could not be accessed"
"ERROR: Document Expired"
"ERROR: Signer not found"
"ERROR: Template could not be found"
See Also
All Operations Resource GroupSertifi API Web Service

 

 


© Sertifi, Inc., 2019 All Rights Reserved.

Send comments on this topic.