Class EmbeddedTemplateRequest
Embedded send request using template DTO.
[DataContract(Name = "EmbeddedTemplateRequest")]
public class EmbeddedTemplateRequest : SendForSignFromTemplate, IEmbeddedRequest
- Inheritance
-
EmbeddedTemplateRequest
- Implements
- Inherited Members
Constructors
EmbeddedTemplateRequest(string, string, string, List<Roles>, string, List<string>, DateTime?, bool, bool, bool, bool?, IEnumerable<DocumentInfo>, int[])
Initializes a new instance of the EmbeddedTemplateRequest class.
public EmbeddedTemplateRequest(string templateId = null, string title = null, string message = null, List<Roles> roles = null, string brandId = null, List<string> labels = null, DateTime? sendLinkValidTill = null, bool disableExpiryAlert = false, bool enablePrintAndSign = false, bool enableReassign = true, bool? enableSigningOrder = null, IEnumerable<DocumentInfo> documentInfo = null, int[] roleRemovalIndices = 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.
sendLinkValidTill
DateTime?Gets or sets the sendLinkValidTill.
disableExpiryAlert
boolGets or sets the disableExpiryAlert.
enablePrintAndSign
boolGets or sets the enablePrintAndSign.
enableReassign
boolGets or sets the enableReassign.By Default True.
enableSigningOrder
bool?Gets or sets the enableSigningOrder.
documentInfo
IEnumerable<DocumentInfo>Gets or sets the send documentInfo.
roleRemovalIndices
int[]Gets or sets the role removal indices.
Properties
Locale
Gets or sets the locale.
[JsonProperty("locale")]
public Locales Locale { get; set; }
Property Value
RedirectUrl
Gets or sets the redirect URL.
[JsonProperty("redirectUrl")]
public Uri RedirectUrl { get; set; }
Property Value
SendLinkValidTill
Gets or sets a value send link valid till. Maximum valid till is 180 days. Default is 30 days.
[JsonProperty("sendLinkValidTill")]
public DateTime? SendLinkValidTill { get; set; }
Property Value
SendViewOption
Gets or sets the send view option.
[JsonProperty("sendViewOption")]
public PageViewOption SendViewOption { get; set; }
Property Value
ShowNavigationButtons
Gets or sets a value indicating whether to show navigation buttons.
[JsonProperty("showNavigationButtons")]
public bool ShowNavigationButtons { get; set; }
Property Value
ShowPreviewButton
Gets or sets a value indicating whether to show preview button.
[JsonProperty("showPreviewButton")]
public bool ShowPreviewButton { get; set; }
Property Value
ShowSaveButton
Gets or sets a value indicating whether to show save button.
[JsonProperty("showSaveButton")]
public bool ShowSaveButton { get; set; }
Property Value
ShowSendButton
Gets or sets a value indicating whether to show send button.
[JsonProperty("showSendButton")]
public bool ShowSendButton { get; set; }
Property Value
ShowToolbar
Gets or sets a value indicating whether to show tool bar.
[JsonProperty("showToolbar")]
public bool ShowToolbar { get; set; }
Property Value
ShowTooltip
Gets or sets a value indicating whether to show tool tip.
[JsonProperty("showTooltip")]
public bool ShowTooltip { get; set; }
Property Value
Methods
ToJson()
Returns the JSON string presentation of the object.
public override string ToJson()
Returns
- string
JSON string presentation of the object.