Table of Contents

Class AuditTrail

Namespace
BoldSign.Model
Assembly
BoldSign.Api.dll

AuditTrail collects the log of all actions that has happened on a document. The properties include action, ipaddress, name and so on.

[DataContract]
public class AuditTrail
Inheritance
AuditTrail
Inherited Members

Constructors

AuditTrail(string, string, string, string, string, string, AuditAction, long)

Initializes a new instance of the AuditTrail class.

public AuditTrail(string id = null, string name = null, string email = null, string toName = null, string toEmail = null, string ipaddress = null, AuditAction action = (AuditAction)0, long timestamp = 0)

Parameters

id string

Gets or sets id of the audit trail..

name string

Gets or sets the username..

email string

Gets or sets the username..

toName string

Gets or sets the to name..

toEmail string

Gets or sets the to email..

ipaddress string

Gets or sets the IP address of the current request..

action AuditAction

action.

timestamp long

timestamp.

Properties

Action

Gets or Sets Action taken on a document.

[DataMember(Name = "action", EmitDefaultValue = false)]
public AuditAction Action { get; set; }

Property Value

AuditAction

DocumentChangeLog

Gets or sets the document changed log on edited document.

[DataMember(Name = "documentChangeLog", EmitDefaultValue = false)]
public ModificationDetails DocumentChangeLog { get; set; }

Property Value

ModificationDetails

Gets the document changed log on edited document.

Email

Gets or sets the email ID of the user who acted on a document.

[DataMember(Name = "email", EmitDefaultValue = false)]
public string Email { get; set; }

Property Value

string

Gets or sets the username.

FieldChangeLog

Gets or sets the field changed log on edited document.

[DataMember(Name = "fieldChangeLog", EmitDefaultValue = false)]
public ModificationDetails FieldChangeLog { get; set; }

Property Value

ModificationDetails

Gets the field changed log on edited document.

Id

Gets or sets Id of the audit trail.

[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }

Property Value

string

Gets or sets id of the audit trail.

Ipaddress

Gets or sets the IP address of the current request.

[DataMember(Name = "ipaddress", EmitDefaultValue = false)]
public string Ipaddress { get; set; }

Property Value

string

Gets or sets the IP address of the current request.

Name

Gets or sets the username.

[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }

Property Value

string

Gets or sets the username.

RecipientChangeLog

Gets or Sets Recipient changed log on edited document.

[DataMember(Name = "recipientChangeLog", EmitDefaultValue = false)]
public RecipientChangeLog RecipientChangeLog { get; set; }

Property Value

RecipientChangeLog

Gets the Recipient changed log on edited document.

Timestamp

Gets or Sets timestamp of the event.

[DataMember(Name = "timestamp", EmitDefaultValue = false)]
public long Timestamp { get; set; }

Property Value

long

Gets the timestamp of the event.

ToEmail

Gets or sets the to email.

[DataMember(Name = "toEmail", EmitDefaultValue = false)]
public string ToEmail { get; set; }

Property Value

string

Gets or sets the to email.

ToName

Gets or sets the to name.

[DataMember(Name = "toName", EmitDefaultValue = false)]
public string ToName { get; set; }

Property Value

string

Gets or sets the to name.

Methods

ToJson()

Returns the JSON string presentation of the object

public virtual string ToJson()

Returns

string

JSON string presentation of the object