MixERP.Net.Api.Core.RoundingMethodController Class Reference

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Rounding Methods. More...

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "rounding method" entity. More...
 
long Count ()
 Counts the number of rounding methods. More...
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGet ()
 Returns collection of rounding method for export. More...
 
MixERP.Net.Entities.Core.RoundingMethod Get (string roundingMethodCode)
 Returns an instance of rounding method. More...
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGet ([FromUri] string[] roundingMethodCodes)
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGetPagedResult ()
 Creates a paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode. More...
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of rounding methods using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode. More...
 
long CountFiltered (string filterName)
 Counts the number of rounding methods using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.RoundingMethodGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of rounding methods. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for rounding methods. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for rounding methods. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of RoundingMethod class. More...
 
void Add (MixERP.Net.Entities.Core.RoundingMethod roundingMethod)
 Adds your instance of RoundingMethod class. More...
 
void Edit (string roundingMethodCode, [FromBody] MixERP.Net.Entities.Core.RoundingMethod roundingMethod)
 Edits existing record with your instance of RoundingMethod class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of RoundingMethod class. More...
 
void Delete (string roundingMethodCode)
 Deletes an existing instance of RoundingMethod class via RoundingMethodCode. 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 Rounding Methods.

Member Function Documentation

void MixERP.Net.Api.Core.RoundingMethodController.Add ( MixERP.Net.Entities.Core.RoundingMethod  roundingMethod)

Adds your instance of RoundingMethod class.

Parameters
roundingMethodYour instance of rounding methods class to add.
void MixERP.Net.Api.Core.RoundingMethodController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of RoundingMethod class.

Parameters
roundingMethodYour instance of rounding methods class to add or edit.
List<object> MixERP.Net.Api.Core.RoundingMethodController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of RoundingMethod class.

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

Counts the number of rounding methods.

Returns
Returns the count of the rounding methods.
long MixERP.Net.Api.Core.RoundingMethodController.CountFiltered ( string  filterName)

Counts the number of rounding methods using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered rounding methods.
long MixERP.Net.Api.Core.RoundingMethodController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of rounding methods using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered rounding methods.
void MixERP.Net.Api.Core.RoundingMethodController.Delete ( string  roundingMethodCode)

Deletes an existing instance of RoundingMethod class via RoundingMethodCode.

Parameters
roundingMethodCodeEnter the value for RoundingMethodCode in order to find and delete the existing record.
void MixERP.Net.Api.Core.RoundingMethodController.Edit ( string  roundingMethodCode,
[FromBody] MixERP.Net.Entities.Core.RoundingMethod  roundingMethod 
)

Edits existing record with your instance of RoundingMethod class.

Parameters
roundingMethodYour instance of RoundingMethod class to edit.
roundingMethodCodeEnter the value for RoundingMethodCode in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.RoundingMethod> MixERP.Net.Api.Core.RoundingMethodController.Get ( )

Returns collection of rounding method for export.

Returns
MixERP.Net.Entities.Core.RoundingMethod MixERP.Net.Api.Core.RoundingMethodController.Get ( string  roundingMethodCode)

Returns an instance of rounding method.

Parameters
roundingMethodCodeEnter RoundingMethodCode to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.RoundingMethodController.GetCustomFields ( )

A custom field is a user defined field for rounding methods.

Returns
Returns an enumerable custom field collection of rounding methods.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.RoundingMethodController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for rounding methods.

Returns
Returns an enumerable custom field collection of rounding methods.
IEnumerable<DisplayField> MixERP.Net.Api.Core.RoundingMethodController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of rounding methods.

Returns
Returns an enumerable key/value collection of rounding methods.
EntityView MixERP.Net.Api.Core.RoundingMethodController.GetEntityView ( )

Creates meta information of "rounding method" entity.

Returns
Returns the "rounding method" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.RoundingMethod> MixERP.Net.Api.Core.RoundingMethodController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode.

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

Creates a paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode.

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

Creates a paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode.

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

Creates a filtered and paginated collection containing 25 rounding methods on each page, sorted by the property RoundingMethodCode.

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: