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