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