MixERP.Net.Api.Core.FrequencySetupController Class Reference

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

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

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "frequency setup" entity. More...
 
long Count ()
 Counts the number of frequency setups. More...
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGet ()
 Returns collection of frequency setup for export. More...
 
MixERP.Net.Entities.Core.FrequencySetup Get (int frequencySetupId)
 Returns an instance of frequency setup. More...
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGet ([FromUri] int[] frequencySetupIds)
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGetPagedResult ()
 Creates a paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId. More...
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of frequency setups using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId. More...
 
long CountFiltered (string filterName)
 Counts the number of frequency setups using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Core.FrequencySetupGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of frequency setups. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for frequency setups. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for frequency setups. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of FrequencySetup class. More...
 
void Add (MixERP.Net.Entities.Core.FrequencySetup frequencySetup)
 Adds your instance of FrequencySetup class. More...
 
void Edit (int frequencySetupId, [FromBody] MixERP.Net.Entities.Core.FrequencySetup frequencySetup)
 Edits existing record with your instance of FrequencySetup class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of FrequencySetup class. More...
 
void Delete (int frequencySetupId)
 Deletes an existing instance of FrequencySetup class via FrequencySetupId. 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 Frequency Setups.

Member Function Documentation

void MixERP.Net.Api.Core.FrequencySetupController.Add ( MixERP.Net.Entities.Core.FrequencySetup  frequencySetup)

Adds your instance of FrequencySetup class.

Parameters
frequencySetupYour instance of frequency setups class to add.
void MixERP.Net.Api.Core.FrequencySetupController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of FrequencySetup class.

Parameters
frequencySetupYour instance of frequency setups class to add or edit.
List<object> MixERP.Net.Api.Core.FrequencySetupController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of FrequencySetup class.

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

Counts the number of frequency setups.

Returns
Returns the count of the frequency setups.
long MixERP.Net.Api.Core.FrequencySetupController.CountFiltered ( string  filterName)

Counts the number of frequency setups using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered frequency setups.
long MixERP.Net.Api.Core.FrequencySetupController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of frequency setups using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered frequency setups.
void MixERP.Net.Api.Core.FrequencySetupController.Delete ( int  frequencySetupId)

Deletes an existing instance of FrequencySetup class via FrequencySetupId.

Parameters
frequencySetupIdEnter the value for FrequencySetupId in order to find and delete the existing record.
void MixERP.Net.Api.Core.FrequencySetupController.Edit ( int  frequencySetupId,
[FromBody] MixERP.Net.Entities.Core.FrequencySetup  frequencySetup 
)

Edits existing record with your instance of FrequencySetup class.

Parameters
frequencySetupYour instance of FrequencySetup class to edit.
frequencySetupIdEnter the value for FrequencySetupId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Core.FrequencySetup> MixERP.Net.Api.Core.FrequencySetupController.Get ( )

Returns collection of frequency setup for export.

Returns
MixERP.Net.Entities.Core.FrequencySetup MixERP.Net.Api.Core.FrequencySetupController.Get ( int  frequencySetupId)

Returns an instance of frequency setup.

Parameters
frequencySetupIdEnter FrequencySetupId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.FrequencySetupController.GetCustomFields ( )

A custom field is a user defined field for frequency setups.

Returns
Returns an enumerable custom field collection of frequency setups.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Core.FrequencySetupController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for frequency setups.

Returns
Returns an enumerable custom field collection of frequency setups.
IEnumerable<DisplayField> MixERP.Net.Api.Core.FrequencySetupController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of frequency setups.

Returns
Returns an enumerable key/value collection of frequency setups.
EntityView MixERP.Net.Api.Core.FrequencySetupController.GetEntityView ( )

Creates meta information of "frequency setup" entity.

Returns
Returns the "frequency setup" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Core.FrequencySetup> MixERP.Net.Api.Core.FrequencySetupController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId.

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

Creates a paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId.

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

Creates a paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId.

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

Creates a filtered and paginated collection containing 25 frequency setups on each page, sorted by the property FrequencySetupId.

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: