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