MixERP.Net.Api.Core.ItemSellingPriceController Class Reference

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

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "item selling price" entity. More...
 
long Count ()
 Counts the number of item selling prices. More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGet ()
 Returns collection of item selling price for export. More...
 
MixERP.Net.Entities.Core.ItemSellingPrice Get (long itemSellingPriceId)
 Returns an instance of item selling price. More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGet ([FromUri] long[] itemSellingPriceIds)
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGetPagedResult ()
 Creates a paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId. More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of item selling prices using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId. More...
 
long CountFiltered (string filterName)
 Counts the number of item selling prices using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.ItemSellingPriceGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of item selling prices. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for item selling prices. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for item selling prices. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of ItemSellingPrice class. More...
 
void Add (MixERP.Net.Entities.Core.ItemSellingPrice itemSellingPrice)
 Adds your instance of ItemSellingPrice class. More...
 
void Edit (long itemSellingPriceId, [FromBody] MixERP.Net.Entities.Core.ItemSellingPrice itemSellingPrice)
 Edits existing record with your instance of ItemSellingPrice class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of ItemSellingPrice class. More...
 
void Delete (long itemSellingPriceId)
 Deletes an existing instance of ItemSellingPrice class via ItemSellingPriceId. 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 Selling Prices.

Member Function Documentation

void MixERP.Net.Api.Core.ItemSellingPriceController.Add ( MixERP.Net.Entities.Core.ItemSellingPrice  itemSellingPrice)

Adds your instance of ItemSellingPrice class.

Parameters
itemSellingPriceYour instance of item selling prices class to add.
void MixERP.Net.Api.Core.ItemSellingPriceController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of ItemSellingPrice class.

Parameters
itemSellingPriceYour instance of item selling prices class to add or edit.
List<object> MixERP.Net.Api.Core.ItemSellingPriceController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of ItemSellingPrice class.

Parameters
collectionYour collection of ItemSellingPrice class to bulk import.
Returns
Returns list of imported itemSellingPriceIds.
Exceptions
MixERPExceptionThrown when your any ItemSellingPrice class in the collection is invalid or malformed.
long MixERP.Net.Api.Core.ItemSellingPriceController.Count ( )

Counts the number of item selling prices.

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

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

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

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

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered item selling prices.
void MixERP.Net.Api.Core.ItemSellingPriceController.Delete ( long  itemSellingPriceId)

Deletes an existing instance of ItemSellingPrice class via ItemSellingPriceId.

Parameters
itemSellingPriceIdEnter the value for ItemSellingPriceId in order to find and delete the existing record.
void MixERP.Net.Api.Core.ItemSellingPriceController.Edit ( long  itemSellingPriceId,
[FromBody] MixERP.Net.Entities.Core.ItemSellingPrice  itemSellingPrice 
)

Edits existing record with your instance of ItemSellingPrice class.

Parameters
itemSellingPriceYour instance of ItemSellingPrice class to edit.
itemSellingPriceIdEnter the value for ItemSellingPriceId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.ItemSellingPrice> MixERP.Net.Api.Core.ItemSellingPriceController.Get ( )

Returns collection of item selling price for export.

Returns
MixERP.Net.Entities.Core.ItemSellingPrice MixERP.Net.Api.Core.ItemSellingPriceController.Get ( long  itemSellingPriceId)

Returns an instance of item selling price.

Parameters
itemSellingPriceIdEnter ItemSellingPriceId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.ItemSellingPriceController.GetCustomFields ( )

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

Returns
Returns an enumerable custom field collection of item selling prices.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.ItemSellingPriceController.GetCustomFields ( string  resourceId)

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

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

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

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

Creates meta information of "item selling price" entity.

Returns
Returns the "item selling price" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.ItemSellingPrice> MixERP.Net.Api.Core.ItemSellingPriceController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId.

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.ItemSellingPrice> MixERP.Net.Api.Core.ItemSellingPriceController.GetPagedResult ( )

Creates a paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId.

Returns
Returns the first page from the collection.
IEnumerable<MixERP.Net.Entities.Core.ItemSellingPrice> MixERP.Net.Api.Core.ItemSellingPriceController.GetPagedResult ( long  pageNumber)

Creates a paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId.

Parameters
pageNumberEnter the page number to produce the resultset.
Returns
Returns the requested page from the collection.
IEnumerable<MixERP.Net.Entities.Core.ItemSellingPrice> MixERP.Net.Api.Core.ItemSellingPriceController.GetWhere ( long  pageNumber,
[FromBody] dynamic  filters 
)

Creates a filtered and paginated collection containing 25 item selling prices on each page, sorted by the property ItemSellingPriceId.

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: