Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleUsing templates from Web Service

Using templates from Web Service


Here is how to reference a template at the time of issuance. 

EviSign

For 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.
    • 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:
    • FinalNotificacionTemplate: Contains the identifier of the template to be used in the communication.
    • FinalNotificacionTemplateValues:  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:
    • ProgressNotificationTemplateName: 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. 


Code Block
languagetext
titleUse of templates via Web Service
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":"LaraLorVan@mailtestrecipient01@mailtest.es",
    "signingMethod":"EmailPIN",
    "SigningOrder": "1",
    "SignatureRequestTemplate":"Template01",
    "SignatureRequestTemplateValues" : [{"postalAddress":"C/ Luna 01 Tierra3 29334"},{"jobOffered":"Analista"}],
    "FinalNotificacionTemplate":"Template02",
    "FinalNotificacionTemplateValues" : [{"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

  • For the use of a notification:
    • NotificationTemplateName: Contains the identifier of the template to be used in the communication..
    • NotificationTemplateValues:  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. 


Code Block
languagetext
titleUsing templates from Web Service
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": "joseluisrecipient01@mailtest.lozano+evinoticev2@evicertia.com",
    "RecipientLegalName": "Joserecipient Luisname",
    "IssuerLegalName": "ACMECompany 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": "+346780614893464555656",
    "Language": "en",
     "NotificationTemplate": "Template01:AsIt",
      "NotificationTemplateValues" : [{"recipientCountry":"Spain"}
}


...