Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Counters. More...
Public Member Functions | |
EntityView | GetEntityView () |
Creates meta information of "counter" entity. More... | |
long | Count () |
Counts the number of counters. More... | |
IEnumerable< MixERP.Net.Entities.Office.Counter > | Get () |
Returns collection of counter for export. More... | |
MixERP.Net.Entities.Office.Counter | Get (int counterId) |
Returns an instance of counter. More... | |
IEnumerable< MixERP.Net.Entities.Office.Counter > | Get ([FromUri] int[] counterIds) |
IEnumerable< MixERP.Net.Entities.Office.Counter > | GetPagedResult () |
Creates a paginated collection containing 25 counters on each page, sorted by the property CounterId. More... | |
IEnumerable< MixERP.Net.Entities.Office.Counter > | GetPagedResult (long pageNumber) |
Creates a paginated collection containing 25 counters on each page, sorted by the property CounterId. More... | |
long | CountWhere ([FromBody]dynamic filters) |
Counts the number of counters using the supplied filter(s). More... | |
IEnumerable< MixERP.Net.Entities.Office.Counter > | GetWhere (long pageNumber, [FromBody]dynamic filters) |
Creates a filtered and paginated collection containing 25 counters on each page, sorted by the property CounterId. More... | |
long | CountFiltered (string filterName) |
Counts the number of counters using the supplied filter name. More... | |
IEnumerable< MixERP.Net.Entities.Office.Counter > | GetFiltered (long pageNumber, string filterName) |
Creates a filtered and paginated collection containing 25 counters on each page, sorted by the property CounterId. More... | |
IEnumerable< DisplayField > | GetDisplayFields () |
Displayfield is a lightweight key/value collection of counters. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields () |
A custom field is a user defined field for counters. More... | |
IEnumerable< PetaPoco.CustomField > | GetCustomFields (string resourceId) |
A custom field is a user defined field for counters. More... | |
void | AddOrEdit ([FromBody]Newtonsoft.Json.Linq.JArray form) |
Adds or edits your instance of Counter class. More... | |
void | Add (MixERP.Net.Entities.Office.Counter counter) |
Adds your instance of Counter class. More... | |
void | Edit (int counterId, [FromBody] MixERP.Net.Entities.Office.Counter counter) |
Edits existing record with your instance of Counter class. More... | |
List< object > | BulkImport ([FromBody]dynamic collection) |
Adds or edits multiple instances of Counter class. More... | |
void | Delete (int counterId) |
Deletes an existing instance of Counter class via CounterId. More... | |
Properties | |
long | LoginId [get] |
int | UserId [get] |
int | OfficeId [get] |
string | Catalog [get] |
Provides a direct HTTP access to perform various tasks such as adding, editing, and removing Counters.
void MixERP.Net.Api.Office.CounterController.Add | ( | MixERP.Net.Entities.Office.Counter | counter | ) |
Adds your instance of Counter class.
counter | Your instance of counters class to add. |
void MixERP.Net.Api.Office.CounterController.AddOrEdit | ( | [FromBody] Newtonsoft.Json.Linq.JArray | form | ) |
Adds or edits your instance of Counter class.
counter | Your instance of counters class to add or edit. |
List<object> MixERP.Net.Api.Office.CounterController.BulkImport | ( | [FromBody] dynamic | collection | ) |
Adds or edits multiple instances of Counter class.
collection | Your collection of Counter class to bulk import. |
MixERPException | Thrown when your any Counter class in the collection is invalid or malformed. |
long MixERP.Net.Api.Office.CounterController.Count | ( | ) |
Counts the number of counters.
long MixERP.Net.Api.Office.CounterController.CountFiltered | ( | string | filterName | ) |
Counts the number of counters using the supplied filter name.
filterName | The named filter. |
long MixERP.Net.Api.Office.CounterController.CountWhere | ( | [FromBody] dynamic | filters | ) |
Counts the number of counters using the supplied filter(s).
filters | The list of filter conditions. |
void MixERP.Net.Api.Office.CounterController.Delete | ( | int | counterId | ) |
Deletes an existing instance of Counter class via CounterId.
counterId | Enter the value for CounterId in order to find and delete the existing record. |
void MixERP.Net.Api.Office.CounterController.Edit | ( | int | counterId, |
[FromBody] MixERP.Net.Entities.Office.Counter | counter | ||
) |
Edits existing record with your instance of Counter class.
counter | Your instance of Counter class to edit. |
counterId | Enter the value for CounterId in order to find and edit the existing record. |
IEnumerable<MixERP.Net.Entities.Office.Counter> MixERP.Net.Api.Office.CounterController.Get | ( | ) |
Returns collection of counter for export.
MixERP.Net.Entities.Office.Counter MixERP.Net.Api.Office.CounterController.Get | ( | int | counterId | ) |
Returns an instance of counter.
counterId | Enter CounterId to search for. |
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Office.CounterController.GetCustomFields | ( | ) |
A custom field is a user defined field for counters.
IEnumerable<PetaPoco.CustomField> MixERP.Net.Api.Office.CounterController.GetCustomFields | ( | string | resourceId | ) |
A custom field is a user defined field for counters.
IEnumerable<DisplayField> MixERP.Net.Api.Office.CounterController.GetDisplayFields | ( | ) |
Displayfield is a lightweight key/value collection of counters.
EntityView MixERP.Net.Api.Office.CounterController.GetEntityView | ( | ) |
Creates meta information of "counter" entity.
IEnumerable<MixERP.Net.Entities.Office.Counter> MixERP.Net.Api.Office.CounterController.GetFiltered | ( | long | pageNumber, |
string | filterName | ||
) |
Creates a filtered and paginated collection containing 25 counters on each page, sorted by the property CounterId.
pageNumber | Enter the page number to produce the resultset. |
filterName | The named filter. |
IEnumerable<MixERP.Net.Entities.Office.Counter> MixERP.Net.Api.Office.CounterController.GetPagedResult | ( | ) |
Creates a paginated collection containing 25 counters on each page, sorted by the property CounterId.
IEnumerable<MixERP.Net.Entities.Office.Counter> MixERP.Net.Api.Office.CounterController.GetPagedResult | ( | long | pageNumber | ) |
Creates a paginated collection containing 25 counters on each page, sorted by the property CounterId.
pageNumber | Enter the page number to produce the resultset. |
IEnumerable<MixERP.Net.Entities.Office.Counter> MixERP.Net.Api.Office.CounterController.GetWhere | ( | long | pageNumber, |
[FromBody] dynamic | filters | ||
) |
Creates a filtered and paginated collection containing 25 counters on each page, sorted by the property CounterId.
pageNumber | Enter the page number to produce the resultset. |
filters | The list of filter conditions. |