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

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.

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.

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