Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Logged Actions. More...
Public Member Functions | |
EntityView | GetEntityView () |
Creates meta information of "logged action" entity. More... | |
long | Count () |
Counts the number of logged actions. More... | |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | Get () |
Returns collection of logged action for export. More... | |
MixERP.Net.Entities.Audit.LoggedAction | Get (long eventId) |
Returns an instance of logged action. More... | |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | Get ([FromUri] long[] eventIds) |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | GetPagedResult () |
Creates a paginated collection containing 25 logged actions on each page, sorted by the property EventId. More... | |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | GetPagedResult (long pageNumber) |
Creates a paginated collection containing 25 logged actions on each page, sorted by the property EventId. More... | |
long | CountWhere ([FromBody]dynamic filters) |
Counts the number of logged actions using the supplied filter(s). More... | |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | GetWhere (long pageNumber, [FromBody]dynamic filters) |
Creates a filtered and paginated collection containing 25 logged actions on each page, sorted by the property EventId. More... | |
long | CountFiltered (string filterName) |
Counts the number of logged actions using the supplied filter name. More... | |
IEnumerable< MixERP.Net.Entities.Audit.LoggedAction > | GetFiltered (long pageNumber, string filterName) |
Creates a filtered and paginated collection containing 25 logged actions on each page, sorted by the property EventId. More... | |
IEnumerable< DisplayField > | GetDisplayFields () |
Displayfield is a lightweight key/value collection of logged actions. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields () |
A custom field is a user defined field for logged actions. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields (string resourceId) |
A custom field is a user defined field for logged actions. More... | |
void | AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form) |
Adds or edits your instance of LoggedAction class. More... | |
void | Add (MixERP.Net.Entities.Audit.LoggedAction loggedAction) |
Adds your instance of LoggedAction class. More... | |
void | Edit (long eventId, [FromBody] MixERP.Net.Entities.Audit.LoggedAction loggedAction) |
Edits existing record with your instance of LoggedAction class. More... | |
List< object > | BulkImport ([FromBody]dynamic collection) |
Adds or edits multiple instances of LoggedAction class. More... | |
void | Delete (long eventId) |
Deletes an existing instance of LoggedAction class via EventId. More... | |
Properties | |
long | LoginId [get] |
int | UserId [get] |
int | OfficeId [get] |
string | Catalog [get] |
Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Logged Actions.
void MixERP.Net.Api.Audit.LoggedActionController.Add | ( | MixERP.Net.Entities.Audit.LoggedAction | loggedAction | ) |
Adds your instance of LoggedAction class.
loggedAction | Your instance of logged actions class to add. |
void MixERP.Net.Api.Audit.LoggedActionController.AddOrEdit | ( | [FromBody] Newtonsoft.Json.Linq.JArray | form | ) |
Adds or edits your instance of LoggedAction class.
loggedAction | Your instance of logged actions class to add or edit. |
List<object> MixERP.Net.Api.Audit.LoggedActionController.BulkImport | ( | [FromBody] dynamic | collection | ) |
Adds or edits multiple instances of LoggedAction class.
collection | Your collection of LoggedAction class to bulk import. |
MixERPException | Thrown when your any LoggedAction class in the collection is invalid or malformed. |
long MixERP.Net.Api.Audit.LoggedActionController.Count | ( | ) |
Counts the number of logged actions.
long MixERP.Net.Api.Audit.LoggedActionController.CountFiltered | ( | string | filterName | ) |
Counts the number of logged actions using the supplied filter name.
filterName | The named filter. |
long MixERP.Net.Api.Audit.LoggedActionController.CountWhere | ( | [FromBody] dynamic | filters | ) |
Counts the number of logged actions using the supplied filter(s).
filters | The list of filter conditions. |
void MixERP.Net.Api.Audit.LoggedActionController.Delete | ( | long | eventId | ) |
Deletes an existing instance of LoggedAction class via EventId.
eventId | Enter the value for EventId in order to find and delete the existing record. |
void MixERP.Net.Api.Audit.LoggedActionController.Edit | ( | long | eventId, |
[FromBody] MixERP.Net.Entities.Audit.LoggedAction | loggedAction | ||
) |
Edits existing record with your instance of LoggedAction class.
loggedAction | Your instance of LoggedAction class to edit. |
eventId | Enter the value for EventId in order to find and edit the existing record. |
IEnumerable<MixERP.Net.Entities.Audit.LoggedAction> MixERP.Net.Api.Audit.LoggedActionController.Get | ( | ) |
Returns collection of logged action for export.
MixERP.Net.Entities.Audit.LoggedAction MixERP.Net.Api.Audit.LoggedActionController.Get | ( | long | eventId | ) |
Returns an instance of logged action.
eventId | Enter EventId to search for. |
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Audit.LoggedActionController.GetCustomFields | ( | ) |
A custom field is a user defined field for logged actions.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Audit.LoggedActionController.GetCustomFields | ( | string | resourceId | ) |
A custom field is a user defined field for logged actions.
IEnumerable<DisplayField> MixERP.Net.Api.Audit.LoggedActionController.GetDisplayFields | ( | ) |
Displayfield is a lightweight key/value collection of logged actions.
EntityView MixERP.Net.Api.Audit.LoggedActionController.GetEntityView | ( | ) |
Creates meta information of "logged action" entity.
IEnumerable<MixERP.Net.Entities.Audit.LoggedAction> MixERP.Net.Api.Audit.LoggedActionController.GetFiltered | ( | long | pageNumber, |
string | filterName | ||
) |
Creates a filtered and paginated collection containing 25 logged actions on each page, sorted by the property EventId.
pageNumber | Enter the page number to produce the resultset. |
filterName | The named filter. |
IEnumerable<MixERP.Net.Entities.Audit.LoggedAction> MixERP.Net.Api.Audit.LoggedActionController.GetPagedResult | ( | ) |
Creates a paginated collection containing 25 logged actions on each page, sorted by the property EventId.
IEnumerable<MixERP.Net.Entities.Audit.LoggedAction> MixERP.Net.Api.Audit.LoggedActionController.GetPagedResult | ( | long | pageNumber | ) |
Creates a paginated collection containing 25 logged actions on each page, sorted by the property EventId.
pageNumber | Enter the page number to produce the resultset. |
IEnumerable<MixERP.Net.Entities.Audit.LoggedAction> MixERP.Net.Api.Audit.LoggedActionController.GetWhere | ( | long | pageNumber, |
[FromBody] dynamic | filters | ||
) |
Creates a filtered and paginated collection containing 25 logged actions on each page, sorted by the property EventId.
pageNumber | Enter the page number to produce the resultset. |
filters | The list of filter conditions. |