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