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