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