GET/esignglobal/v1/templates/signerFieldsDetail
Interface Description
Get the signer fields information in the template.
Use the templateId to obtain the signer fields information set in the template, and then the envelope can be initiated through the interface Create and Start Envelope.
Request Parameter
Request Example
GET https:// … …/esignglobal/v1/templates/signerFieldsDetail?templateId=d288b477-ed3c-4fe6-801c-80d8ec5fe9cf
Response Parameter
Sign configs display method originalSize-Original size of stamp/signature image targetSize-Customized target size When sizeRule, height, and width are all empty, the signature/seal is rendered at its original size. | ||
The options available for the signer's approval. Applicable when fieldType is approval. Defaults to ["approve", "decline"]. approve - Approve decline - Decline | ||
Response Example
{
"code": "0",
"data": {
"templateId": "4d61c221270742238d8df2846a1cfd66",
"templateName": "111111",
"signerFields": [
{
"signConfigs": [
{
"fieldId": "846d3128e16b4850a06240f94dcf4cf6",
"pageNo": "1",
"posX": 374.639,
"posY": 646.47534,
"fieldType": "signature",
"movable": false,
"height": 60,
"width": 150
},
{
"fieldId": "2b00ee28977744b4b22d1b2b020923a7",
"pageNo": "1",
"posX": 184.99144,
"posY": 528.51245,
"fieldType": "stamp",
"movable": false,
"height": 150,
"width": 150
}
],
"fillConfigs": [
{
"fieldId": "d450fa4324d943ceaa5bab313f1f9841",
"pageNo": "1",
"posX": 298.54172,
"posY": 569.3938,
"fieldType": "1",
"fieldName": "单行文本1",
"required": true,
"textField": {
"overflowType": "1",
"minFontSize": 8.0,
"font": "1",
"fontSize": 12.0,
"textColor": "#000",
"bold": false,
"width": 160.0,
"italic": false,
"underline": false,
"lineThrough": false,
"horizontalAlignment": "LEFT"
}
},
{
"fieldId": "fd216f840c7b4b309ce8bdc23507a98d",
"pageNo": "1",
"posX": 305.1776,
"posY": 535.3552,
"fieldType": "15",
"fieldName": "勾选1",
"required": true,
"tickBoxField": {
"tickOptions": [
1
],
"showBorder": true
}
}
],
"signDateConfigs": [
{
"fieldId": "a0bf7f9e05f740bfa354596e2462deb5",
"pageNo": "1",
"posX": 229.48866,
"posY": 685.2244,
"movable": false,
"signDateFormat": "yyyy-MM-dd"
}
]
}
]
},
"message": "success"
}