GET /esignglobal/v1/envelopeTemplates/envelopeTemplateDetail
接口描述
查询某个在页面端预配置好的“信封模板”的详尽属性(包含文件结构、参与人角色、所有预置的控件标识 Key )。
请求参数
请求示例
{
"envelopeTemplateId":"dc4be9641a3145bea97809018d7a9180",
"queryComponents":true
}响应参数
响应示例
{
"code": "0",
"data": {
"envelopeTemplateName": "test",
"signFiles": [
{
"fileDownloadUrl": "https://******",
"fileName": "***.pdf",
"documentId": "$eac****-d6f8-4b6b-bafe-******$3328404894"
}
],
"attachments": [],
"digitalSignature": false,
"envelopeTemplateStatus": 1,
"independentComponents": [],
"envelopeCategoryId": null,
"envelopeTemplateId": "dc4be9641a3145bea97809018d7a9180",
"participants": [
{
"participantFlag": "",
"idVerification": null,
"components": [
{
"componentType": "10",
"componentId": "556b60f7bd324428908b41f3bbec8c54",
"componentMaxLength": null,
"signField": null,
"componentPosition": {
"componentPositionY": 485.42538,
"componentPositionX": 35.96627,
"componentPageNum": "1"
},
"componentSpecialAttribute": {
"options": [
{
"optionContent": "***",
"optionHeight": 32.923893,
"optionOrder": 0,
"optionPositionY": 85.0,
"optionPositionX": 10.0,
"optionWidth": 124.0,
"selected": false
},
{
"optionContent": "选项二",
"optionHeight": 15.0,
"optionOrder": 1,
"optionPositionY": 60.0,
"optionPositionX": 10.0,
"optionWidth": 124.0,
"selected": false
},
{
"optionContent": "选项三",
"optionHeight": 15.0,
"optionOrder": 2,
"optionPositionY": 35.0,
"optionPositionX": 10.0,
"optionWidth": 124.0,
"selected": false
},
{
"optionContent": "选项四",
"optionHeight": 15.0,
"optionOrder": 3,
"optionPositionY": 10.0,
"optionPositionX": 10.0,
"optionWidth": 124.0,
"selected": false
}
],
"numberFormat": "{}",
"dateFormat": null,
"imageType": null
},
"componentDefaultValue": null,
"componentSize": {
"componentHeight": 128,
"componentWidth": 144
},
"signDateField": null,
"required": true,
"stampField": null,
"documentId": "d559142672c742c3b02c3b5c663aa146",
"componentName": "单选1",
"componentKey": null,
"approvalField": null,
"componentTextFormat": {
"textLineSpacing": null,
"horizontalAlignment": "LEFT",
"fontSize": 12.0,
"bold": false,
"textColor": "#000",
"italic": false,
"verticalAlignment": "TOP",
"font": 1
}
},
],
"digitalId": null,
"participantInfos": {
"userEmail": "***",
"phoneNumber": null,
"userName": "****",
"deliveryMethod": "email",
"customizeSettings": {
"customizeMessage": null,
"notificationSettings": {
"notificationLanguage": null
}
}
},
"willingnessAuthModes": "noAuth",
"signOrder": 1,
"participantId": "42750b92c7a***05134dd5342",
"accessCode": null,
"sms": null,
"participantSetMode": "presetSigner",
"emailAuth": null
},
{
"participantFlag": "***",
"idVerification": null,
"components": [
{
"componentType": "20",
"componentId": "7c401b43cdc94b61a7813aa58ac82bbf",
"componentMaxLength": null,
"signField": null,
"componentPosition": {
"componentPositionY": 327.15793,
"componentPositionX": 109.17395,
"componentPageNum": "2"
},
"componentSpecialAttribute": {
"options": null,
"numberFormat": "{}",
"dateFormat": null,
"imageType": null
},
"componentDefaultValue": null,
"componentSize": {
"componentHeight": 150,
"componentWidth": 150
},
"signDateField": null,
"required": true,
"stampField": {
"movable": false,
"sizeRule": 1,
"fieldStyle": 1
},
"documentId": "d559142672c742c3b02c3b5c663aa146",
"componentName": "图章区",
"componentKey": null,
"approvalField": null,
"componentTextFormat": {
"textLineSpacing": null,
"horizontalAlignment": "LEFT",
"fontSize": 12.0,
"bold": false,
"textColor": "#000",
"italic": false,
"verticalAlignment": "TOP",
"font": 1
}
}
],
"digitalId": null,
"participantInfos": {
"userEmail": "***",
"phoneNumber": null,
"userName": "***",
"deliveryMethod": "email",
"customizeSettings": {
"customizeMessage": null,
"notificationSettings": {
"notificationLanguage": null
}
}
},
"willingnessAuthModes": "noAuth",
"signOrder": 1,
"participantId": "b055dfce00c5******40cdabb23822ea4",
"accessCode": null,
"sms": null,
"participantSetMode": "dedicateSigner",
"emailAuth": null
}
],
"copiers": []
},
"message": "SUCCESS"
}






