v2.0.4

Tue, 14 Sep, 2021

Feature

  • Support has been added for setting expiry days in the template API.
// removed code for brevity
SendForSignFromTemplate sendForSignFromTemplate = new SendForSignFromTemplate()
{
    ExpiryDays = 5,
};
curl -X POST 'https://api.boldsign.com/v1/template/send?templateId=aa74e915-76cf-4a6c-bf01-3e3f1855f235' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: {your-api-key}' \
-d '{ "expiryDays":5}' # removed code for brevity
  • Support has been added for setting the hide document id in the template API.
// removed code for brevity
SendForSignFromTemplate sendForSignFromTemplate = new SendForSignFromTemplate()
{
    HideDocumentId = true,
};
curl -X POST 'https://api.boldsign.com/v1/template/send?templateId=aa74e915-76cf-4a6c-bf01-3e3f1855f235' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: {your-api-key}' \
-d '{ "hideDocumentId": true}' # removed code for brevity
  • Support has been added to set reminder settings in the template API.
// removed code for brevity
SendForSignFromTemplate sendForSignFromTemplate = new SendForSignFromTemplate()
{
    ReminderSettings = new ReminderSettings()
    {
        EnableAutoReminder = true,
        ReminderDays = 1,
        ReminderCount = 10,
    },
};
curl -X POST 'https://api.boldsign.com/v1/template/send?templateId=aa74e915-76cf-4a6c-bf01-3e3f1855f235' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: {your-api-key}' \
-d '{   "reminderSettings":{"enableAutoReminder": true,
"reminderDays":1,"reminderCount":10}}' # removed code for brevity
  • Support has been added to set cc details in the template API.
// removed code for brevity

// Creating a CC instance
var cc = new DocumentCC(emailAddress: "cc@mail.com");

// Adding the CC to the collection.
var documentCCs = new List<DocumentCC>
{
    cc
};
SendForSignFromTemplate sendForSignFromTemplate = new SendForSignFromTemplate()
{
    CC = documentCCs,
};
curl -X POST 'https://api.boldsign.com/v1/template/send?templateId=aa74e915-76cf-4a6c-bf01-3e3f1855f235' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: {your-api-key}' \
-d '{  "cc":[{"emailAddress":"cc@mail.com"}]}' # removed code for brevity