MixERP.Net.Api.Core.AgeingSlabController Class Reference

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

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

Public Member Functions

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

Member Function Documentation

void MixERP.Net.Api.Core.AgeingSlabController.Add ( MixERP.Net.Entities.Core.AgeingSlab  ageingSlab)

Adds your instance of AgeingSlab class.

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

Adds or edits your instance of AgeingSlab class.

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

Adds or edits multiple instances of AgeingSlab class.

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

Counts the number of ageing slabs.

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

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

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

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

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered ageing slabs.
void MixERP.Net.Api.Core.AgeingSlabController.Delete ( int  ageingSlabId)

Deletes an existing instance of AgeingSlab class via AgeingSlabId.

Parameters
ageingSlabIdEnter the value for AgeingSlabId in order to find and delete the existing record.
void MixERP.Net.Api.Core.AgeingSlabController.Edit ( int  ageingSlabId,
[FromBody] MixERP.Net.Entities.Core.AgeingSlab  ageingSlab 
)

Edits existing record with your instance of AgeingSlab class.

Parameters
ageingSlabYour instance of AgeingSlab class to edit.
ageingSlabIdEnter the value for AgeingSlabId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.AgeingSlab> MixERP.Net.Api.Core.AgeingSlabController.Get ( )

Returns collection of ageing slab for export.

Returns
MixERP.Net.Entities.Core.AgeingSlab MixERP.Net.Api.Core.AgeingSlabController.Get ( int  ageingSlabId)

Returns an instance of ageing slab.

Parameters
ageingSlabIdEnter AgeingSlabId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.AgeingSlabController.GetCustomFields ( )

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

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

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

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

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

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

Creates meta information of "ageing slab" entity.

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

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

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

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

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

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

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

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

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: