Work | Queue Tbx
Service to manage entities of type 'QueueTbx'.
Overview
URL | api/{tenantKey}/{orgKey}/maintenance/queueTbxes |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
- GET:
- POST:
-
PUT:
- PUT Set IsActive QueueTbx
- PUT Set Entity QueueTbx
- PUT Set EntityKey QueueTbx
- PUT Set TaskState QueueTbx
- PUT Set TaskId QueueTbx
- PUT Set TaskUrl QueueTbx
- PUT Set ErrorMessage QueueTbx
- PUT Set ErrorStatusCode QueueTbx
- PUT Set UserCulture QueueTbx
- PUT Set UserId QueueTbx
- PUT Set MaintenanceTaskId QueueTbx
- PUT Set SourceContext QueueTbx
- PUT Set EventOccurrence QueueTbx
- PUT Set EventNaturalKey QueueTbx
- DELETE:
All Resources
This service uses the following resources:
GET QueueTbxes (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 QueueTbxResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET QueueTbx 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 QueueTbxResource. |
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 QueueTbx by key
Returns the entity record that matches the specified key.
The following elements are required:
queueKey | (int) Queue. |
Response:
When successful, the response body contains the entity record. See QueueTbxResource. |
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:
POST QueueTbxes
Creates a new entity record.
The following elements are required:
queueTbxResource | (ApiQueueTbxResource) The request body should contain the entity record that should be created. See ApiQueueTbxResource. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiQueueTbxResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Entity QueueTbx
Updates the value of attribute 'Entity' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set EntityKey QueueTbx
Updates the value of attribute 'EntityKey' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set ErrorMessage QueueTbx
Updates the value of attribute 'ErrorMessage' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set ErrorStatusCode QueueTbx
Updates the value of attribute 'ErrorStatusCode' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set EventNaturalKey QueueTbx
Updates the value of attribute 'EventNaturalKey' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set EventOccurrence QueueTbx
Updates the value of attribute 'EventOccurrence' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (int) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set IsActive QueueTbx
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (bool) The request body should contain the new value for the attribute. |
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:
PUT Set MaintenanceTaskId QueueTbx
Updates the value of attribute 'MaintenanceTaskId' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set SourceContext QueueTbx
Updates the value of attribute 'SourceContext' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set TaskId QueueTbx
Updates the value of attribute 'TaskId' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set TaskState QueueTbx
Updates the value of attribute 'TaskState' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (int) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set TaskUrl QueueTbx
Updates the value of attribute 'TaskUrl' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set UserCulture QueueTbx
Updates the value of attribute 'UserCulture' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
PUT Set UserId QueueTbx
Updates the value of attribute 'UserId' in the specified entity record.
The following elements are required:
queueKey | (int) Queue. |
value | (string) The request body should contain the new value for the attribute. |
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. |
Resource URL:
DELETE QueueTbx by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE QueueTbx by key
Deletes the entity record that matches the specified key.
The following elements are required:
queueKey | (int) Queue. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiQueueTbxResource
The following elements are required:
entityKey | (string) Entity. |
The following elements are optional:
entity | (string) Entity. |
taskState | (int) Task State. |
taskId | (string) Task Id. |
taskUrl | (string) Task Url. |
errorMessage | (string) Error Message. |
errorStatusCode | (string) Error Status. |
userCulture | (string) User Culture. |
userId | (string) User Id. |
maintenanceTaskId | (string) Maintenance Task Id. |
sourceContext | (string) Source Context. |
eventOccurrence | (int) The event occurrence. |
eventNaturalKey | (string) the event Natural Key. |
QueueTbxResource
The following elements are required:
queueKey | (int) Queue. |
entityKey | (string) Entity. |
The following elements are optional:
entity | (string) Entity. |
taskState | (int) Task State. |
taskId | (string) Task Id. |
taskUrl | (string) Task Url. |
errorMessage | (string) Error Message. |
errorStatusCode | (string) Error Status. |
userCulture | (string) User Culture. |
userId | (string) User Id. |
maintenanceTaskId | (string) Maintenance Task Id. |
sourceContext | (string) Source Context. |
eventOccurrence | (int) The event occurrence. |
eventNaturalKey | (string) the event Natural Key. |