MixERP.Net.Api.Core.BankAccountController Class Reference

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

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "bank account" entity. More...
 
long Count ()
 Counts the number of bank accounts. More...
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGet ()
 Returns collection of bank account for export. More...
 
MixERP.Net.Entities.Core.BankAccount Get (long accountId)
 Returns an instance of bank account. More...
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGet ([FromUri] long[] accountIds)
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGetPagedResult ()
 Creates a paginated collection containing 25 bank accounts on each page, sorted by the property AccountId. More...
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 bank accounts on each page, sorted by the property AccountId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of bank accounts using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 bank accounts on each page, sorted by the property AccountId. More...
 
long CountFiltered (string filterName)
 Counts the number of bank accounts using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.BankAccountGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 bank accounts on each page, sorted by the property AccountId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of bank accounts. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for bank accounts. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for bank accounts. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of BankAccount class. More...
 
void Add (MixERP.Net.Entities.Core.BankAccount bankAccount)
 Adds your instance of BankAccount class. More...
 
void Edit (long accountId, [FromBody] MixERP.Net.Entities.Core.BankAccount bankAccount)
 Edits existing record with your instance of BankAccount class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of BankAccount class. More...
 
void Delete (long accountId)
 Deletes an existing instance of BankAccount class via AccountId. 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 Bank Accounts.

Member Function Documentation

void MixERP.Net.Api.Core.BankAccountController.Add ( MixERP.Net.Entities.Core.BankAccount  bankAccount)

Adds your instance of BankAccount class.

Parameters
bankAccountYour instance of bank accounts class to add.
void MixERP.Net.Api.Core.BankAccountController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of BankAccount class.

Parameters
bankAccountYour instance of bank accounts class to add or edit.
List<object> MixERP.Net.Api.Core.BankAccountController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of BankAccount class.

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

Counts the number of bank accounts.

Returns
Returns the count of the bank accounts.
long MixERP.Net.Api.Core.BankAccountController.CountFiltered ( string  filterName)

Counts the number of bank accounts using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered bank accounts.
long MixERP.Net.Api.Core.BankAccountController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of bank accounts using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered bank accounts.
void MixERP.Net.Api.Core.BankAccountController.Delete ( long  accountId)

Deletes an existing instance of BankAccount class via AccountId.

Parameters
accountIdEnter the value for AccountId in order to find and delete the existing record.
void MixERP.Net.Api.Core.BankAccountController.Edit ( long  accountId,
[FromBody] MixERP.Net.Entities.Core.BankAccount  bankAccount 
)

Edits existing record with your instance of BankAccount class.

Parameters
bankAccountYour instance of BankAccount class to edit.
accountIdEnter the value for AccountId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.BankAccount> MixERP.Net.Api.Core.BankAccountController.Get ( )

Returns collection of bank account for export.

Returns
MixERP.Net.Entities.Core.BankAccount MixERP.Net.Api.Core.BankAccountController.Get ( long  accountId)

Returns an instance of bank account.

Parameters
accountIdEnter AccountId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.BankAccountController.GetCustomFields ( )

A custom field is a user defined field for bank accounts.

Returns
Returns an enumerable custom field collection of bank accounts.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.BankAccountController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for bank accounts.

Returns
Returns an enumerable custom field collection of bank accounts.
IEnumerable<DisplayField> MixERP.Net.Api.Core.BankAccountController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of bank accounts.

Returns
Returns an enumerable key/value collection of bank accounts.
EntityView MixERP.Net.Api.Core.BankAccountController.GetEntityView ( )

Creates meta information of "bank account" entity.

Returns
Returns the "bank account" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.BankAccount> MixERP.Net.Api.Core.BankAccountController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 bank accounts on each page, sorted by the property AccountId.

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

Creates a paginated collection containing 25 bank accounts on each page, sorted by the property AccountId.

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

Creates a paginated collection containing 25 bank accounts on each page, sorted by the property AccountId.

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

Creates a filtered and paginated collection containing 25 bank accounts on each page, sorted by the property AccountId.

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: