Class SendForSignFromTemplate
Return send for signature template details in which the document is in the form of.
[DataContract]
public class SendForSignFromTemplate
- Inheritance
-
SendForSignFromTemplate
- Derived
- Inherited Members
Constructors
SendForSignFromTemplate(string, string, string, List<Roles>, string, List<string>, bool, bool?, ReminderSettings, IEnumerable<DocumentCC>, int, long, ExpiryDateType?, bool?, bool, bool?, bool?, IEnumerable<DocumentInfo>, string, int[], DocumentDownloadOption?)
Initializes a new instance of the SendForSignFromTemplate class.
public SendForSignFromTemplate(string templateId = null, string title = null, string message = null, List<Roles> roles = null, string brandId = null, List<string> labels = null, bool disableEmails = false, bool? hideDocumentId = null, ReminderSettings reminderSettings = null, IEnumerable<DocumentCC> cc = null, int expiryDays = 0, long expiryValue = 60, ExpiryDateType? expiryDateType = null, bool? disableExpiryAlert = null, bool enablePrintAndSign = false, bool? enableReassign = null, bool? enableSigningOrder = null, IEnumerable<DocumentInfo> documentInfo = null, string onBehalfOf = null, int[] roleRemovalIndices = null, DocumentDownloadOption? documentDownloadOption = null)
Parameters
templateId
stringGets or sets the document id..
title
stringGets or sets the title..
message
stringGets or sets the message..
roles
List<Roles>Gets or sets the roles..
brandId
stringGets or sets the brandId..
labels
List<string>Gets or sets the labels.
disableEmails
boolGets or sets the disableEmails.
hideDocumentId
bool?Gets or sets the hideDocumentId.
reminderSettings
ReminderSettingsGets or sets the reminderSettings.
cc
IEnumerable<DocumentCC>Gets or sets the cc.
expiryDays
intGets or sets the expiryDays.
expiryValue
longGets or sets the expiry value based on expiry date type.
expiryDateType
ExpiryDateType?Gets or sets the expiry date type.
disableExpiryAlert
bool?Gets or sets the disableExpiryAlert.
enablePrintAndSign
boolGets or sets the enablePrintAndSign.
enableReassign
bool?Gets or sets the enableReassign.
enableSigningOrder
bool?Gets or sets the enableSigningOrder.
documentInfo
IEnumerable<DocumentInfo>Gets or sets the documentInfo.
onBehalfOf
stringroleRemovalIndices
int[]Gets or sets the role removal indices.
documentDownloadOption
DocumentDownloadOption?Gets or sets the document download option.
Properties
BrandId
Gets or sets the brand id.
[DataMember(Name = "brandId", EmitDefaultValue = true)]
public string BrandId { get; set; }
Property Value
CC
Gets or sets document CC details.
[DataMember(Name = "cc", EmitDefaultValue = true)]
public IEnumerable<DocumentCC> CC { get; set; }
Property Value
DisableEmails
Gets or sets a value indicating whether to enable or disable emails.When disable emails is set to true, all the status emails and completed document email will be stopped, and reminder is also automatically ignored.
[DataMember(Name = "disableEmails", EmitDefaultValue = true)]
public bool DisableEmails { get; set; }
Property Value
DisableExpiryAlert
Gets or sets a value indicating whether Disableexpiryalert is true or false. This property will send the expiry alert email before the day of expiry for the pending signers. If the document expires in one day, the email will be sent before 2 hours of the expiry.
[DataMember(Name = "disableExpiryAlert", EmitDefaultValue = true)]
public bool? DisableExpiryAlert { get; set; }
Property Value
- bool?
DisableSMS
Gets or sets a value indicating whether to enable SMS notification.When disable sms is set to true, all the status sms and completed document sms will be stopped, and reminder is also automatically ignored.
[DataMember(Name = "disableSMS", EmitDefaultValue = true)]
public bool DisableSMS { get; set; }
Property Value
DocumentDownloadOption
Gets or sets a value to customize how the documents are downloaded.
[DataMember(Name = "documentDownloadOption", EmitDefaultValue = true)]
public DocumentDownloadOption? DocumentDownloadOption { get; set; }
Property Value
DocumentInfo
Gets or sets a documentInfo.
[JsonProperty("documentInfo")]
public IEnumerable<DocumentInfo> DocumentInfo { get; set; }
Property Value
EnablePrintAndSign
Gets or sets a value indicating whether to enable print and sign mode.
[DataMember(Name = "enablePrintAndSign", EmitDefaultValue = true)]
public bool EnablePrintAndSign { get; set; }
Property Value
EnableReassign
Gets or sets a value indicating whether to enable reassign mode. By Default True.
[DataMember(Name = "enableReassign", EmitDefaultValue = true)]
public bool? EnableReassign { get; set; }
Property Value
- bool?
EnableSigningOrder
Gets or sets a value indicating whether to enable signing order for the document signer.
[DataMember(Name = "enableSigningOrder", EmitDefaultValue = true)]
public bool? EnableSigningOrder { get; set; }
Property Value
- bool?
ExpiryDateType
Gets or sets the expiry date type.
[DataMember(Name = "expiryDateType", EmitDefaultValue = false)]
public ExpiryDateType? ExpiryDateType { get; set; }
Property Value
ExpiryDays
Gets or sets number of days after which the document will expire.
[Obsolete("ExpiryDays is deprecated, please use ExpiryValue instead.")]
[DataMember(Name = "expiryDays", EmitDefaultValue = true)]
public int ExpiryDays { get; set; }
Property Value
ExpiryValue
Gets or sets the value when the document should get expired.
[DataMember(Name = "expiryValue", EmitDefaultValue = false)]
public long ExpiryValue { get; set; }
Property Value
HideDocumentId
Gets or sets a value indicating whether to remove the document ID watermark from all the PDF pages of the document. Default is false.
[DataMember(Name = "hideDocumentId", EmitDefaultValue = true)]
public bool? HideDocumentId { get; set; }
Property Value
- bool?
Labels
Gets or sets the labels.
[DataMember(Name = "labels", EmitDefaultValue = true)]
public List<string> Labels { get; set; }
Property Value
Message
Gets or sets common message for all the document recipients.
[DataMember(Name = "message", EmitDefaultValue = true)]
public string Message { get; set; }
Property Value
- string
Gets or sets the message.
OnBehalfOf
Gets or sets the on behalf of mail id.
[DataMember(Name = "onBehalfOf", EmitDefaultValue = true)]
public string OnBehalfOf { get; set; }
Property Value
RecipientNotificationSettings
Gets or sets the Recipient Notification Settings.
[JsonProperty("recipientNotificationSettings")]
[Display(Description = "Recipient Notification Settings of the Template.")]
public RecipientNotificationSettings RecipientNotificationSettings { get; set; }
Property Value
ReminderSettings
Gets or sets the reminder settings for the signature request.
[DataMember(Name = "reminderSettings", EmitDefaultValue = true)]
public ReminderSettings ReminderSettings { get; set; }
Property Value
RemoveFormFields
Gets or sets remove form fields id.
[DataMember(Name = "removeFormFields", EmitDefaultValue = false)]
public List<string> RemoveFormFields { get; set; }
Property Value
RoleRemovalIndices
Gets or sets the role removal indices which starts from 1. For example, if you want to remove role 2 and 3 the input should be new []{2,3}.
[DataMember(Name = "roleRemovalIndices", EmitDefaultValue = false)]
public int[] RoleRemovalIndices { get; set; }
Property Value
- int[]
Roles
Gets or sets the signer roles in a template of the document.
[DataMember(Name = "roles", EmitDefaultValue = true)]
public List<Roles> Roles { get; set; }
Property Value
TemplateId
Gets or sets the template Id.
[DataMember(Name = "documentId", EmitDefaultValue = true)]
public string TemplateId { get; set; }
Property Value
- string
Gets or sets the document id.
Title
Gets or sets title for the signature request.
[DataMember(Name = "title", EmitDefaultValue = true)]
public string Title { get; set; }
Property Value
- string
Gets or sets the title.
Methods
ToJson()
Returns the JSON string presentation of the object.
public virtual string ToJson()
Returns
- string
JSON string presentation of the object