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