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