Work | WOMP Task Selection
Service to manage entities of type 'WOMPTaskSelection'.
Overview
| URL | api/{tenantKey}/{orgKey}/maintenance/wOMPTaskSelections |
| Methods Supported | GET |
All Operations
This service includes the following operations:
- GET:
All Resources
This service uses the following resources:
GET WOMPTaskSelections (odata)
Returns a page of the list of all the entity records available.
The following elements are optional:
| opts | (ODataQueryOptions) OData query option. |
Response:
| When successful, the response body contains the list of records available. See WOMPTaskSelectionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET WOMPTaskSelection by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
| id | (string) The record identifier. |
Response:
| When successful, the response body contains the entity record. See WOMPTaskSelectionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
GET WOMPTaskSelection by key
Returns the entity record that matches the specified key.
The following elements are required:
| wOMPTaskSelectionKey | (string) WOMP Task Selection. |
Response:
| When successful, the response body contains the entity record. See WOMPTaskSelectionResource. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set Custom Attribute WOMPTaskSelection
Updates the value of 'CustomAttribute' in the specified entity record.
The following elements are required:
| wOMPTaskSelectionKey | (string) WOMP Task Selection |
| customAttributeName | (string) The custom attribute name. |
| value | (ExtensibilityCustomAttributeValueResource) The request body should contain the new value for the custom attribute. See ExtensibilityCustomAttributeValueResource. |
Response:
| When successful, the response body is empty. |
Response status codes:
| 200 | OK. The operation was completed successfully. |
| 400 | BadRequest. The request parameters are invalid. |
| 404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
WOMPTaskSelectionResource
The following elements are required:
| wOMPTaskSelectionKey | (string) WOMP Task Selection. |
The following elements are optional:
| workOrderMPTaskId | (Guid) Work Order MP Task Id. |
| taskKey | (string) Task. |
| description | (string) Description. |
| wOMaintenancePlanId | (Guid) WO Maintenance Plan Id. |
| taskId | (Guid) Task Id. |