Class AuditTrail
AuditTrail collects the log of all actions that has happened on a document. The properties include action, ipaddress, name and so on.
Inheritance
Namespace: BoldSign.Model
Assembly: BoldSign.Api.dll
Syntax
public class AuditTrail : object
Constructors
| Improve this Doc View SourceAuditTrail(String, String, String, String, String, String, AuditAction, Int64)
Initializes a new instance of the AuditTrail class.
Declaration
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 = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | Gets or sets id of the audit trail.. |
System.String | name | Gets or sets the username.. |
System.String | Gets or sets the username.. |
|
System.String | toName | Gets or sets the to name.. |
System.String | toEmail | Gets or sets the to email.. |
System.String | ipaddress | Gets or sets the IP address of the current request.. |
AuditAction | action | action. |
System.Int64 | timestamp | timestamp. |
Properties
| Improve this Doc View SourceAction
Gets or Sets Action taken on a document.
Declaration
public AuditAction Action { get; set; }
Property Value
Type | Description |
---|---|
AuditAction |
Gets or sets the email ID of the user who acted on a document.
Declaration
public string Email { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the username. |
Id
Gets or sets Id of the audit trail.
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets id of the audit trail. |
Ipaddress
Gets or sets the IP address of the current request.
Declaration
public string Ipaddress { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the IP address of the current request. |
Name
Gets or sets the username.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the username. |
Timestamp
Gets or Sets timestamp of the event.
Declaration
public long Timestamp { get; set; }
Property Value
Type | Description |
---|---|
System.Int64 | Gets the timestamp of the event. |
ToEmail
Gets or sets the to email.
Declaration
public string ToEmail { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the to email. |
ToName
Gets or sets the to name.
Declaration
public string ToName { get; set; }
Property Value
Type | Description |
---|---|
System.String | Gets or sets the to name. |
Methods
| Improve this Doc View SourceToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |