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