MixERP.Net.Api.Core.SalesTaxExemptController Class Reference

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

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

Public Member Functions

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

Member Function Documentation

void MixERP.Net.Api.Core.SalesTaxExemptController.Add ( MixERP.Net.Entities.Core.SalesTaxExempt  salesTaxExempt)

Adds your instance of SalesTaxExempt class.

Parameters
salesTaxExemptYour instance of sales tax exempts class to add.
void MixERP.Net.Api.Core.SalesTaxExemptController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of SalesTaxExempt class.

Parameters
salesTaxExemptYour instance of sales tax exempts class to add or edit.
List<object> MixERP.Net.Api.Core.SalesTaxExemptController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of SalesTaxExempt class.

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

Counts the number of sales tax exempts.

Returns
Returns the count of the sales tax exempts.
long MixERP.Net.Api.Core.SalesTaxExemptController.CountFiltered ( string  filterName)

Counts the number of sales tax exempts using the supplied filter name.

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

Counts the number of sales tax exempts using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered sales tax exempts.
void MixERP.Net.Api.Core.SalesTaxExemptController.Delete ( int  salesTaxExemptId)

Deletes an existing instance of SalesTaxExempt class via SalesTaxExemptId.

Parameters
salesTaxExemptIdEnter the value for SalesTaxExemptId in order to find and delete the existing record.
void MixERP.Net.Api.Core.SalesTaxExemptController.Edit ( int  salesTaxExemptId,
[FromBody] MixERP.Net.Entities.Core.SalesTaxExempt  salesTaxExempt 
)

Edits existing record with your instance of SalesTaxExempt class.

Parameters
salesTaxExemptYour instance of SalesTaxExempt class to edit.
salesTaxExemptIdEnter the value for SalesTaxExemptId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.SalesTaxExempt> MixERP.Net.Api.Core.SalesTaxExemptController.Get ( )

Returns collection of sales tax exempt for export.

Returns
MixERP.Net.Entities.Core.SalesTaxExempt MixERP.Net.Api.Core.SalesTaxExemptController.Get ( int  salesTaxExemptId)

Returns an instance of sales tax exempt.

Parameters
salesTaxExemptIdEnter SalesTaxExemptId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.SalesTaxExemptController.GetCustomFields ( )

A custom field is a user defined field for sales tax exempts.

Returns
Returns an enumerable custom field collection of sales tax exempts.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.SalesTaxExemptController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for sales tax exempts.

Returns
Returns an enumerable custom field collection of sales tax exempts.
IEnumerable<DisplayField> MixERP.Net.Api.Core.SalesTaxExemptController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of sales tax exempts.

Returns
Returns an enumerable key/value collection of sales tax exempts.
EntityView MixERP.Net.Api.Core.SalesTaxExemptController.GetEntityView ( )

Creates meta information of "sales tax exempt" entity.

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

Creates a filtered and paginated collection containing 25 sales tax exempts on each page, sorted by the property SalesTaxExemptId.

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

Creates a paginated collection containing 25 sales tax exempts on each page, sorted by the property SalesTaxExemptId.

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

Creates a paginated collection containing 25 sales tax exempts on each page, sorted by the property SalesTaxExemptId.

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

Creates a filtered and paginated collection containing 25 sales tax exempts on each page, sorted by the property SalesTaxExemptId.

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: