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