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