MixERP.Net.Api.Office.StoreTypeController Class Reference

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

Inheritance diagram for MixERP.Net.Api.Office.StoreTypeController:

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "store type" entity. More...
 
long Count ()
 Counts the number of store types. More...
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGet ()
 Returns collection of store type for export. More...
 
MixERP.Net.Entities.Office.StoreType Get (int storeTypeId)
 Returns an instance of store type. More...
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGet ([FromUri] int[] storeTypeIds)
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGetPagedResult ()
 Creates a paginated collection containing 25 store types on each page, sorted by the property StoreTypeId. More...
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 store types on each page, sorted by the property StoreTypeId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of store types using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 store types on each page, sorted by the property StoreTypeId. More...
 
long CountFiltered (string filterName)
 Counts the number of store types using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Office.StoreTypeGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 store types on each page, sorted by the property StoreTypeId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of store types. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for store types. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for store types. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of StoreType class. More...
 
void Add (MixERP.Net.Entities.Office.StoreType storeType)
 Adds your instance of StoreType class. More...
 
void Edit (int storeTypeId, [FromBody] MixERP.Net.Entities.Office.StoreType storeType)
 Edits existing record with your instance of StoreType class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of StoreType class. More...
 
void Delete (int storeTypeId)
 Deletes an existing instance of StoreType class via StoreTypeId. 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 Store Types.

Member Function Documentation

void MixERP.Net.Api.Office.StoreTypeController.Add ( MixERP.Net.Entities.Office.StoreType  storeType)

Adds your instance of StoreType class.

Parameters
storeTypeYour instance of store types class to add.
void MixERP.Net.Api.Office.StoreTypeController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of StoreType class.

Parameters
storeTypeYour instance of store types class to add or edit.
List<object> MixERP.Net.Api.Office.StoreTypeController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of StoreType class.

Parameters
collectionYour collection of StoreType class to bulk import.
Returns
Returns list of imported storeTypeIds.
Exceptions
MixERPExceptionThrown when your any StoreType class in the collection is invalid or malformed.
long MixERP.Net.Api.Office.StoreTypeController.Count ( )

Counts the number of store types.

Returns
Returns the count of the store types.
long MixERP.Net.Api.Office.StoreTypeController.CountFiltered ( string  filterName)

Counts the number of store types using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered store types.
long MixERP.Net.Api.Office.StoreTypeController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of store types using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered store types.
void MixERP.Net.Api.Office.StoreTypeController.Delete ( int  storeTypeId)

Deletes an existing instance of StoreType class via StoreTypeId.

Parameters
storeTypeIdEnter the value for StoreTypeId in order to find and delete the existing record.
void MixERP.Net.Api.Office.StoreTypeController.Edit ( int  storeTypeId,
[FromBody] MixERP.Net.Entities.Office.StoreType  storeType 
)

Edits existing record with your instance of StoreType class.

Parameters
storeTypeYour instance of StoreType class to edit.
storeTypeIdEnter the value for StoreTypeId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Office.StoreType> MixERP.Net.Api.Office.StoreTypeController.Get ( )

Returns collection of store type for export.

Returns
MixERP.Net.Entities.Office.StoreType MixERP.Net.Api.Office.StoreTypeController.Get ( int  storeTypeId)

Returns an instance of store type.

Parameters
storeTypeIdEnter StoreTypeId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Office.StoreTypeController.GetCustomFields ( )

A custom field is a user defined field for store types.

Returns
Returns an enumerable custom field collection of store types.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Office.StoreTypeController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for store types.

Returns
Returns an enumerable custom field collection of store types.
IEnumerable<DisplayField> MixERP.Net.Api.Office.StoreTypeController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of store types.

Returns
Returns an enumerable key/value collection of store types.
EntityView MixERP.Net.Api.Office.StoreTypeController.GetEntityView ( )

Creates meta information of "store type" entity.

Returns
Returns the "store type" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Office.StoreType> MixERP.Net.Api.Office.StoreTypeController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 store types on each page, sorted by the property StoreTypeId.

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.Office.StoreType> MixERP.Net.Api.Office.StoreTypeController.GetPagedResult ( )

Creates a paginated collection containing 25 store types on each page, sorted by the property StoreTypeId.

Returns
Returns the first page from the collection.
IEnumerable<MixERP.Net.Entities.Office.StoreType> MixERP.Net.Api.Office.StoreTypeController.GetPagedResult ( long  pageNumber)

Creates a paginated collection containing 25 store types on each page, sorted by the property StoreTypeId.

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

Creates a filtered and paginated collection containing 25 store types on each page, sorted by the property StoreTypeId.

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: