MixERP.Net.Api.Core.BonusSlabController Class Reference

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

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "bonus slab" entity. More...
 
long Count ()
 Counts the number of bonus slabs. More...
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGet ()
 Returns collection of bonus slab for export. More...
 
MixERP.Net.Entities.Core.BonusSlab Get (int bonusSlabId)
 Returns an instance of bonus slab. More...
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGet ([FromUri] int[] bonusSlabIds)
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGetPagedResult ()
 Creates a paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId. More...
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of bonus slabs using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId. More...
 
long CountFiltered (string filterName)
 Counts the number of bonus slabs using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.BonusSlabGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of bonus slabs. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for bonus slabs. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for bonus slabs. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of BonusSlab class. More...
 
void Add (MixERP.Net.Entities.Core.BonusSlab bonusSlab)
 Adds your instance of BonusSlab class. More...
 
void Edit (int bonusSlabId, [FromBody] MixERP.Net.Entities.Core.BonusSlab bonusSlab)
 Edits existing record with your instance of BonusSlab class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of BonusSlab class. More...
 
void Delete (int bonusSlabId)
 Deletes an existing instance of BonusSlab class via BonusSlabId. 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 Bonus Slabs.

Member Function Documentation

void MixERP.Net.Api.Core.BonusSlabController.Add ( MixERP.Net.Entities.Core.BonusSlab  bonusSlab)

Adds your instance of BonusSlab class.

Parameters
bonusSlabYour instance of bonus slabs class to add.
void MixERP.Net.Api.Core.BonusSlabController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of BonusSlab class.

Parameters
bonusSlabYour instance of bonus slabs class to add or edit.
List<object> MixERP.Net.Api.Core.BonusSlabController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of BonusSlab class.

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

Counts the number of bonus slabs.

Returns
Returns the count of the bonus slabs.
long MixERP.Net.Api.Core.BonusSlabController.CountFiltered ( string  filterName)

Counts the number of bonus slabs using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered bonus slabs.
long MixERP.Net.Api.Core.BonusSlabController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of bonus slabs using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered bonus slabs.
void MixERP.Net.Api.Core.BonusSlabController.Delete ( int  bonusSlabId)

Deletes an existing instance of BonusSlab class via BonusSlabId.

Parameters
bonusSlabIdEnter the value for BonusSlabId in order to find and delete the existing record.
void MixERP.Net.Api.Core.BonusSlabController.Edit ( int  bonusSlabId,
[FromBody] MixERP.Net.Entities.Core.BonusSlab  bonusSlab 
)

Edits existing record with your instance of BonusSlab class.

Parameters
bonusSlabYour instance of BonusSlab class to edit.
bonusSlabIdEnter the value for BonusSlabId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.BonusSlab> MixERP.Net.Api.Core.BonusSlabController.Get ( )

Returns collection of bonus slab for export.

Returns
MixERP.Net.Entities.Core.BonusSlab MixERP.Net.Api.Core.BonusSlabController.Get ( int  bonusSlabId)

Returns an instance of bonus slab.

Parameters
bonusSlabIdEnter BonusSlabId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.BonusSlabController.GetCustomFields ( )

A custom field is a user defined field for bonus slabs.

Returns
Returns an enumerable custom field collection of bonus slabs.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.BonusSlabController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for bonus slabs.

Returns
Returns an enumerable custom field collection of bonus slabs.
IEnumerable<DisplayField> MixERP.Net.Api.Core.BonusSlabController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of bonus slabs.

Returns
Returns an enumerable key/value collection of bonus slabs.
EntityView MixERP.Net.Api.Core.BonusSlabController.GetEntityView ( )

Creates meta information of "bonus slab" entity.

Returns
Returns the "bonus slab" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.BonusSlab> MixERP.Net.Api.Core.BonusSlabController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId.

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

Creates a paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId.

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

Creates a paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId.

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

Creates a filtered and paginated collection containing 25 bonus slabs on each page, sorted by the property BonusSlabId.

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: