Using templates from Web Service
Here is how to reference a template at the time of issuance. EviSignFor this product a number of different templates can be set per Signer/Reviewer. For this purpose the following parameters have been created in the EviSignSubmit API within the SigningParties object. For the use of signature request type templates: SignatureRequestTemplate: Contains the identifier of the template to be used in the communication. The use of this parameter triggers the generation of the 'Dispatched' Affidavit, regardless of whether it was requested in the affidavitKind or not. SignatureRequestTemplateValues: It contains an array of value keys, where the variables defined in the template content and the value it receives in the emission are reported.
For the use of signature reminder type templates: SignatureReminderTemplate: Contains the identifier of the template to be used in the communication. SignatureReminderTemplateValues: It contains an array of value keys, where the variables defined in the template content and the value it receives in the emission are reported.
For the use of final notification type templates: FinalNotificationTemplate: Contains the identifier of the template to be used in the communication. The use of this parameter triggers the generation of the 'Dispatched' Affidavit, regardless of whether it was requested in the affidavitKind or not. FinalNotificationTemplateValues: It contains an array of value keys, where the variables defined in the template content and the value it receives in the emission are reported.
For the use of progress type templates: ProgressNotificationTemplate: Contains the identifier of the template to be used in the communication.. ProgressNotificationTemplateValues: It contains an array of value keys, where the variables defined in the template content and the value it receives in the emission are reported.
Use of templates via Web Service Code Block |
---|
| POST /api/EviSign/Submit HTTP/1.1
Host: app.ecertia.com
Authorization: Basic *******************
Content-Type: application/json
{
"subject":"EviSign Basic one signatory",
"issuer":"Demo evisign basic",
"signingParties":[
{
"name":"Lara Lor Van",
"legalName":"123456789A",
"address":"recipient01@mailtest.es",
"signingMethod":"EmailPIN",
"SigningOrder": "1",
"SignatureRequestTemplate":"Template01",
"SignatureRequestTemplateValues" : {"postalAddress":"C/ Luna 01 Tierra3 29334", "jobOffered":"Analista"},
"FinalNotificationTemplate":"Template02",
"FinalNotificationTemplateValues" : {"postalAddress":"C/ Luna 01 Tierra3 29334", "jobOffered":"Analista"},
"ProgressNotificationTemplate":"Template04",
"ProgressNotificationTemplateValues" : {"postalAddress":"C/ Luna 01 Tierra3”},
"SignatureReminderTemplate":"Template02",
"SignatureReminderTemplateValues" : {"postalAddress":"C/ Luna 01 Tierra3 29334", "jobOffered":"Analista"}
}]
"document":"{{documento principal en Base 64}}"}
|
EviNotice Using templates from Web Service Code Block |
---|
| POST /api/v2/evinotice/submit HTTP/1.1
Host: app.ecertia.com
Content-Type: application/json
Authorization: Basic
{
"Body": "We inform you that your car insurance fee has increased by 5% for the reports sent during the year 2022",
"Subject": "notification about your insurance car",
"RecipientAddress": "recipient01@mailtest.com",
"RecipientLegalName": "recipient name",
"IssuerLegalName": "Company test Insurance",
"CertificationLevel": "Advanced",
"TimeToLive": 365,
"HideBanners": false,
"PushNotificationFilter": [
"Processed",
"Sent",
"Dispatched",
"Delivered",
"Read",
"Replied"
],
"PushNotificationUrl": "https://en8ok0mpw5r43.x.pipedream.net/",
"CommitmentChoice": "AcceptOrReject",
"CommitmentCommentsAllowed": true,
"DeliverySignMethod": "MobilePIN",
"DeliverySignFixedMobile": "+3464555656",
"Language": "en",
"NotificationTemplate": "Template01:AsIt",
"NotificationTemplateValues" : {"recipientCountry":"Spain"}
}
|
|