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