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