GET/esignglobal/v1/templates/signerFieldsDetail
Interface Description
Query the signer control information in the template.
Use the contract template IDtemplateIdto retrieve the signer control settings in the template. You can then usethe API to quickly initiate an envelope.
Request Parameters
Request Example
GET https:// … …/esignglobal/v1/templates/signerFieldsDetail?templateId=d288b477-ed3c-4fe6-801c-80d8ec5fe9cf
Response Parameters
| documentFields | array | File Control List | |||
| string | List of file dimension controls. Used to add file dimension controls that are not bound to signers on specified files. | ||||
| string | Control type. Pass eMeterai to indicate the Indonesian stamp duty control. | ||||
| float | Page number where the control is located. The Indonesian stamp duty control only supports specifying a single page; you must pass a single page number. Continuous or non-continuous multi-page formats such as 1-3 or 1,3 are not supported. | ||||
| float | X-axis offset, with the bottom-left corner of the page as the origin. The coordinate range is consistent with other controls' coordinate ranges. | ||||
required | boolean | Whether it is required, default is required true- Required false- Not Required | |||
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"
}







