MixERP.Net.Api.Core.StateSalesTaxController Class Reference

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing State Sales Taxes. More...

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "state sales tax" entity. More...
 
long Count ()
 Counts the number of state sales taxes. More...
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGet ()
 Returns collection of state sales tax for export. More...
 
MixERP.Net.Entities.Core.StateSalesTax Get (int stateSalesTaxId)
 Returns an instance of state sales tax. More...
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGet ([FromUri] int[] stateSalesTaxIds)
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGetPagedResult ()
 Creates a paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId. More...
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of state sales taxes using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId. More...
 
long CountFiltered (string filterName)
 Counts the number of state sales taxes using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.StateSalesTaxGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of state sales taxes. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for state sales taxes. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for state sales taxes. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of StateSalesTax class. More...
 
void Add (MixERP.Net.Entities.Core.StateSalesTax stateSalesTax)
 Adds your instance of StateSalesTax class. More...
 
void Edit (int stateSalesTaxId, [FromBody] MixERP.Net.Entities.Core.StateSalesTax stateSalesTax)
 Edits existing record with your instance of StateSalesTax class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of StateSalesTax class. More...
 
void Delete (int stateSalesTaxId)
 Deletes an existing instance of StateSalesTax class via StateSalesTaxId. 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 State Sales Taxes.

Member Function Documentation

void MixERP.Net.Api.Core.StateSalesTaxController.Add ( MixERP.Net.Entities.Core.StateSalesTax  stateSalesTax)

Adds your instance of StateSalesTax class.

Parameters
stateSalesTaxYour instance of state sales taxes class to add.
void MixERP.Net.Api.Core.StateSalesTaxController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of StateSalesTax class.

Parameters
stateSalesTaxYour instance of state sales taxes class to add or edit.
List<object> MixERP.Net.Api.Core.StateSalesTaxController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of StateSalesTax class.

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

Counts the number of state sales taxes.

Returns
Returns the count of the state sales taxes.
long MixERP.Net.Api.Core.StateSalesTaxController.CountFiltered ( string  filterName)

Counts the number of state sales taxes using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered state sales taxes.
long MixERP.Net.Api.Core.StateSalesTaxController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of state sales taxes using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered state sales taxes.
void MixERP.Net.Api.Core.StateSalesTaxController.Delete ( int  stateSalesTaxId)

Deletes an existing instance of StateSalesTax class via StateSalesTaxId.

Parameters
stateSalesTaxIdEnter the value for StateSalesTaxId in order to find and delete the existing record.
void MixERP.Net.Api.Core.StateSalesTaxController.Edit ( int  stateSalesTaxId,
[FromBody] MixERP.Net.Entities.Core.StateSalesTax  stateSalesTax 
)

Edits existing record with your instance of StateSalesTax class.

Parameters
stateSalesTaxYour instance of StateSalesTax class to edit.
stateSalesTaxIdEnter the value for StateSalesTaxId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.StateSalesTax> MixERP.Net.Api.Core.StateSalesTaxController.Get ( )

Returns collection of state sales tax for export.

Returns
MixERP.Net.Entities.Core.StateSalesTax MixERP.Net.Api.Core.StateSalesTaxController.Get ( int  stateSalesTaxId)

Returns an instance of state sales tax.

Parameters
stateSalesTaxIdEnter StateSalesTaxId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.StateSalesTaxController.GetCustomFields ( )

A custom field is a user defined field for state sales taxes.

Returns
Returns an enumerable custom field collection of state sales taxes.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.StateSalesTaxController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for state sales taxes.

Returns
Returns an enumerable custom field collection of state sales taxes.
IEnumerable<DisplayField> MixERP.Net.Api.Core.StateSalesTaxController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of state sales taxes.

Returns
Returns an enumerable key/value collection of state sales taxes.
EntityView MixERP.Net.Api.Core.StateSalesTaxController.GetEntityView ( )

Creates meta information of "state sales tax" entity.

Returns
Returns the "state sales tax" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.StateSalesTax> MixERP.Net.Api.Core.StateSalesTaxController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId.

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

Creates a paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId.

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

Creates a paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId.

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

Creates a filtered and paginated collection containing 25 state sales taxes on each page, sorted by the property StateSalesTaxId.

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: