MixERP.Net.Api.Core.ItemCostPriceController Class Reference

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Item Cost Prices. More...

Inheritance diagram for MixERP.Net.Api.Core.ItemCostPriceController:

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.ItemCostPriceGet ()
 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.ItemCostPriceGet ([FromUri] long[] itemCostPriceIds)
 
IEnumerable< MixERP.Net.Entities.Core.ItemCostPriceGetPagedResult ()
 Creates a paginated collection containing 25 item cost prices on each page, sorted by the property ItemCostPriceId. More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemCostPriceGetPagedResult (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.ItemCostPriceGetWhere (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.ItemCostPriceGetFiltered (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< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of item cost prices. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for item cost prices. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (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]
 

Detailed Description

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Item Cost Prices.

Member Function Documentation

void MixERP.Net.Api.Core.ItemCostPriceController.Add ( MixERP.Net.Entities.Core.ItemCostPrice  itemCostPrice)

Adds your instance of ItemCostPrice class.

Parameters
itemCostPriceYour 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.

Parameters
itemCostPriceYour 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.

Parameters
collectionYour collection of ItemCostPrice class to bulk import.
Returns
Returns list of imported itemCostPriceIds.
Exceptions
MixERPExceptionThrown 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.

Returns
Returns the count of the item cost prices.
long MixERP.Net.Api.Core.ItemCostPriceController.CountFiltered ( string  filterName)

Counts the number of item cost prices using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered item cost prices.
long MixERP.Net.Api.Core.ItemCostPriceController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of item cost prices using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered item cost prices.
void MixERP.Net.Api.Core.ItemCostPriceController.Delete ( long  itemCostPriceId)

Deletes an existing instance of ItemCostPrice class via ItemCostPriceId.

Parameters
itemCostPriceIdEnter 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.

Parameters
itemCostPriceYour instance of ItemCostPrice class to edit.
itemCostPriceIdEnter 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.

Returns
MixERP.Net.Entities.Core.ItemCostPrice MixERP.Net.Api.Core.ItemCostPriceController.Get ( long  itemCostPriceId)

Returns an instance of item cost price.

Parameters
itemCostPriceIdEnter ItemCostPriceId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.ItemCostPriceController.GetCustomFields ( )

A custom field is a user defined field for item cost prices.

Returns
Returns an enumerable custom field collection of 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.

Returns
Returns an enumerable custom field collection of item cost prices.
IEnumerable<DisplayField> MixERP.Net.Api.Core.ItemCostPriceController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of item cost prices.

Returns
Returns an enumerable key/value collection of item cost prices.
EntityView MixERP.Net.Api.Core.ItemCostPriceController.GetEntityView ( )

Creates meta information of "item cost price" entity.

Returns
Returns the "item cost price" meta information to perform CRUD operation.
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.

Parameters
pageNumberEnter the page number to produce the resultset.
filterNameThe named filter.
Returns
Returns the requested page from the collection using the supplied filters.
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.

Returns
Returns the first page from the collection.
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.

Parameters
pageNumberEnter the page number to produce the resultset.
Returns
Returns the requested page from the collection.
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.

Parameters
pageNumberEnter the page number to produce the resultset.
filtersThe list of filter conditions.
Returns
Returns the requested page from the collection using the supplied filters.

The documentation for this class was generated from the following file: