BoldSignDocumentation
BoldSign Mobile Icon

v2.0.4

Tue, 14 September, 2021

Feature

  • Added support to set expiry days from the template API.

C#CURL

// 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 'Authorization: Bearer <authtoken>' \
-d '{ "expiryDays":5}' # removed code for brevity
  • Added support to set hide document id from the template API.

C#CURL

// 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 'Authorization: Bearer <authtoken>' \
-d '{ "hideDocumentId": true}' # removed code for brevity
  • Added support to set reminder settings from the template API.

C#CURL

// 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 'Authorization: Bearer <authtoken>' \
-d '{   "reminderSettings":{"enableAutoReminder": true,
"reminderDays":1,"reminderCount":10}}' # removed code for brevity
  • Added support to set cc details from the template API.

C#CURL

// 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 'Authorization: Bearer <authtoken>' \
-d '{  "cc":[{"emailAddress":"cc@mail.com"}]}' # removed code for brevity
Copied to clipboard