MixERP.Net.Api.Core.ExchangeRateDetailController Class Reference

Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Exchange Rate Details. More...

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "exchange rate detail" entity. More...
 
long Count ()
 Counts the number of exchange rate details. More...
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGet ()
 Returns collection of exchange rate detail for export. More...
 
MixERP.Net.Entities.Core.ExchangeRateDetail Get (long exchangeRateDetailId)
 Returns an instance of exchange rate detail. More...
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGet ([FromUri] long[] exchangeRateDetailIds)
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGetPagedResult ()
 Creates a paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId. More...
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of exchange rate details using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId. More...
 
long CountFiltered (string filterName)
 Counts the number of exchange rate details using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.ExchangeRateDetailGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of exchange rate details. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for exchange rate details. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for exchange rate details. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of ExchangeRateDetail class. More...
 
void Add (MixERP.Net.Entities.Core.ExchangeRateDetail exchangeRateDetail)
 Adds your instance of ExchangeRateDetail class. More...
 
void Edit (long exchangeRateDetailId, [FromBody] MixERP.Net.Entities.Core.ExchangeRateDetail exchangeRateDetail)
 Edits existing record with your instance of ExchangeRateDetail class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of ExchangeRateDetail class. More...
 
void Delete (long exchangeRateDetailId)
 Deletes an existing instance of ExchangeRateDetail class via ExchangeRateDetailId. 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 Exchange Rate Details.

Member Function Documentation

void MixERP.Net.Api.Core.ExchangeRateDetailController.Add ( MixERP.Net.Entities.Core.ExchangeRateDetail  exchangeRateDetail)

Adds your instance of ExchangeRateDetail class.

Parameters
exchangeRateDetailYour instance of exchange rate details class to add.
void MixERP.Net.Api.Core.ExchangeRateDetailController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of ExchangeRateDetail class.

Parameters
exchangeRateDetailYour instance of exchange rate details class to add or edit.
List<object> MixERP.Net.Api.Core.ExchangeRateDetailController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of ExchangeRateDetail class.

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

Counts the number of exchange rate details.

Returns
Returns the count of the exchange rate details.
long MixERP.Net.Api.Core.ExchangeRateDetailController.CountFiltered ( string  filterName)

Counts the number of exchange rate details using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered exchange rate details.
long MixERP.Net.Api.Core.ExchangeRateDetailController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of exchange rate details using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered exchange rate details.
void MixERP.Net.Api.Core.ExchangeRateDetailController.Delete ( long  exchangeRateDetailId)

Deletes an existing instance of ExchangeRateDetail class via ExchangeRateDetailId.

Parameters
exchangeRateDetailIdEnter the value for ExchangeRateDetailId in order to find and delete the existing record.
void MixERP.Net.Api.Core.ExchangeRateDetailController.Edit ( long  exchangeRateDetailId,
[FromBody] MixERP.Net.Entities.Core.ExchangeRateDetail  exchangeRateDetail 
)

Edits existing record with your instance of ExchangeRateDetail class.

Parameters
exchangeRateDetailYour instance of ExchangeRateDetail class to edit.
exchangeRateDetailIdEnter the value for ExchangeRateDetailId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.ExchangeRateDetail> MixERP.Net.Api.Core.ExchangeRateDetailController.Get ( )

Returns collection of exchange rate detail for export.

Returns
MixERP.Net.Entities.Core.ExchangeRateDetail MixERP.Net.Api.Core.ExchangeRateDetailController.Get ( long  exchangeRateDetailId)

Returns an instance of exchange rate detail.

Parameters
exchangeRateDetailIdEnter ExchangeRateDetailId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.ExchangeRateDetailController.GetCustomFields ( )

A custom field is a user defined field for exchange rate details.

Returns
Returns an enumerable custom field collection of exchange rate details.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.ExchangeRateDetailController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for exchange rate details.

Returns
Returns an enumerable custom field collection of exchange rate details.
IEnumerable<DisplayField> MixERP.Net.Api.Core.ExchangeRateDetailController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of exchange rate details.

Returns
Returns an enumerable key/value collection of exchange rate details.
EntityView MixERP.Net.Api.Core.ExchangeRateDetailController.GetEntityView ( )

Creates meta information of "exchange rate detail" entity.

Returns
Returns the "exchange rate detail" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.ExchangeRateDetail> MixERP.Net.Api.Core.ExchangeRateDetailController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId.

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

Creates a paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId.

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

Creates a paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId.

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

Creates a filtered and paginated collection containing 25 exchange rate details on each page, sorted by the property ExchangeRateDetailId.

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: