MixERP.Net.Api.Transactions.DayOperationController Class Reference

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

Inheritance diagram for MixERP.Net.Api.Transactions.DayOperationController:

Public Member Functions

EntityView GetEntityView ()
 Creates meta information of "day operation" entity. More...
 
long Count ()
 Counts the number of day operations. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGet ()
 Returns collection of day operation for export. More...
 
MixERP.Net.Entities.Transactions.DayOperation Get (long dayId)
 Returns an instance of day operation. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGet ([FromUri] long[] dayIds)
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGetPagedResult ()
 Creates a paginated collection containing 25 day operations on each page, sorted by the property DayId. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGetPagedResult (long pageNumber)
 Creates a paginated collection containing 25 day operations on each page, sorted by the property DayId. More...
 
long CountWhere ([FromBody]dynamic filters)
 Counts the number of day operations using the supplied filter(s). More...
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGetWhere (long pageNumber, [FromBody]dynamic filters)
 Creates a filtered and paginated collection containing 25 day operations on each page, sorted by the property DayId. More...
 
long CountFiltered (string filterName)
 Counts the number of day operations using the supplied filter name. More...
 
IEnumerable< MixERP.Net.Entities.Transactions.DayOperationGetFiltered (long pageNumber, string filterName)
 Creates a filtered and paginated collection containing 25 day operations on each page, sorted by the property DayId. More...
 
IEnumerable< DisplayFieldGetDisplayFields ()
 Displayfield is a lightweight key/value collection of day operations. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields ()
 A custom field is a user defined field for day operations. More...
 
IEnumerable< PetaPoco.CustomFieldGetCustomFields (string resourceId)
 A custom field is a user defined field for day operations. More...
 
void AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form)
 Adds or edits your instance of DayOperation class. More...
 
void Add (MixERP.Net.Entities.Transactions.DayOperation dayOperation)
 Adds your instance of DayOperation class. More...
 
void Edit (long dayId, [FromBody] MixERP.Net.Entities.Transactions.DayOperation dayOperation)
 Edits existing record with your instance of DayOperation class. More...
 
List< object > BulkImport ([FromBody]dynamic collection)
 Adds or edits multiple instances of DayOperation class. More...
 
void Delete (long dayId)
 Deletes an existing instance of DayOperation class via DayId. 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 Day Operations.

Member Function Documentation

void MixERP.Net.Api.Transactions.DayOperationController.Add ( MixERP.Net.Entities.Transactions.DayOperation  dayOperation)

Adds your instance of DayOperation class.

Parameters
dayOperationYour instance of day operations class to add.
void MixERP.Net.Api.Transactions.DayOperationController.AddOrEdit ( [FromBody] Newtonsoft.Json.Linq.JArray  form)

Adds or edits your instance of DayOperation class.

Parameters
dayOperationYour instance of day operations class to add or edit.
List<object> MixERP.Net.Api.Transactions.DayOperationController.BulkImport ( [FromBody] dynamic  collection)

Adds or edits multiple instances of DayOperation class.

Parameters
collectionYour collection of DayOperation class to bulk import.
Returns
Returns list of imported dayIds.
Exceptions
MixERPExceptionThrown when your any DayOperation class in the collection is invalid or malformed.
long MixERP.Net.Api.Transactions.DayOperationController.Count ( )

Counts the number of day operations.

Returns
Returns the count of the day operations.
long MixERP.Net.Api.Transactions.DayOperationController.CountFiltered ( string  filterName)

Counts the number of day operations using the supplied filter name.

Parameters
filterNameThe named filter.
Returns
Returns the count of filtered day operations.
long MixERP.Net.Api.Transactions.DayOperationController.CountWhere ( [FromBody] dynamic  filters)

Counts the number of day operations using the supplied filter(s).

Parameters
filtersThe list of filter conditions.
Returns
Returns the count of filtered day operations.
void MixERP.Net.Api.Transactions.DayOperationController.Delete ( long  dayId)

Deletes an existing instance of DayOperation class via DayId.

Parameters
dayIdEnter the value for DayId in order to find and delete the existing record.
void MixERP.Net.Api.Transactions.DayOperationController.Edit ( long  dayId,
[FromBody] MixERP.Net.Entities.Transactions.DayOperation  dayOperation 
)

Edits existing record with your instance of DayOperation class.

Parameters
dayOperationYour instance of DayOperation class to edit.
dayIdEnter the value for DayId in order to find and edit the existing record.
IEnumerable<MixERP.Net.Entities.Transactions.DayOperation> MixERP.Net.Api.Transactions.DayOperationController.Get ( )

Returns collection of day operation for export.

Returns
MixERP.Net.Entities.Transactions.DayOperation MixERP.Net.Api.Transactions.DayOperationController.Get ( long  dayId)

Returns an instance of day operation.

Parameters
dayIdEnter DayId to search for.
Returns
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.DayOperationController.GetCustomFields ( )

A custom field is a user defined field for day operations.

Returns
Returns an enumerable custom field collection of day operations.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Transactions.DayOperationController.GetCustomFields ( string  resourceId)

A custom field is a user defined field for day operations.

Returns
Returns an enumerable custom field collection of day operations.
IEnumerable<DisplayField> MixERP.Net.Api.Transactions.DayOperationController.GetDisplayFields ( )

Displayfield is a lightweight key/value collection of day operations.

Returns
Returns an enumerable key/value collection of day operations.
EntityView MixERP.Net.Api.Transactions.DayOperationController.GetEntityView ( )

Creates meta information of "day operation" entity.

Returns
Returns the "day operation" meta information to perform CRUD operation.
IEnumerable<MixERP.Net.Entities.Transactions.DayOperation> MixERP.Net.Api.Transactions.DayOperationController.GetFiltered ( long  pageNumber,
string  filterName 
)

Creates a filtered and paginated collection containing 25 day operations on each page, sorted by the property DayId.

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.Transactions.DayOperation> MixERP.Net.Api.Transactions.DayOperationController.GetPagedResult ( )

Creates a paginated collection containing 25 day operations on each page, sorted by the property DayId.

Returns
Returns the first page from the collection.
IEnumerable<MixERP.Net.Entities.Transactions.DayOperation> MixERP.Net.Api.Transactions.DayOperationController.GetPagedResult ( long  pageNumber)

Creates a paginated collection containing 25 day operations on each page, sorted by the property DayId.

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

Creates a filtered and paginated collection containing 25 day operations on each page, sorted by the property DayId.

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: