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