Document Generation Result

Parameter

Type

Description

callBackEnumstringThe callback notification event type, which is fixed to: TEMPLATE
callBackDescstringThe callback notification event type action, which is fixed to: TEMPLATE_FILL_RESULT
callBackTemplateVOobjectData Body
 

taskId

string

Document generation task id

 

taskStatus

string

Document Generation Status
1-In Progress
2-Succeed
3-Failed

 

description

string

The reason for the generation failure, returned only when the TaskStatus is 3.

 

fileKey

string

The ID of the document generated, returned only when the TaskStatus is 2.

 

downloadUrl

string

The download address of the document generated (valid for 60 minutes).

 

fields

arrayField Information
  

fieldId

stringField ID
  

fieldKey

stringField Key
  

fieldName

stringField Name
  

fieldType

intField Type:
25-Signature
26-Stamp
  

fieldConfigs

objectField Settings
   

pageNo

stringPage number of the field.
   

posX

floatX-axis coordinate
   

posY

floatY-axis coordinate
   

height

floatHeight of the field.
   

width

floatWidth of the field.