AWA Routing API
-
- UpdatedJan 30, 2025
- 2 minutes to read
- Yokohama
- API reference
The AWA Routing API provides endpoints to route a document to a queue.
This API requires the Advanced Work Assignment plugin (com.glide.awa) and the awa_integration_user role.
AWA Routing - POST /now/awa/queues/{queue_sys_id}/work_item
If an active work item exists, routes a document to a queue. If an active work item does not exist for the specified document, creates a work item and set its fields accordingly.
URL format
Versioned URL: /api/now/{api_version}/awa/queues/{queue_sys_id}/work_item
Default URL: /api/now/awa/queues/{queue_sys_id}/work_item
Supported request parameters
Name | Description |
---|---|
api_version | Optional. Version of the endpoint to access. For example, v1 or v2. Only specify this value to use an endpoint version other than the
latest.
Data type: String |
queue_sys_id | Sys_id of the queue record. Data type: String Table: Queue [awa_queue] |
Name | Description |
---|---|
None |
Name | Description |
---|---|
document_sys_id | Sys_id of the document to route to the queue. Data type: String |
document_table | Name of the table associated with the document, such as incident. Data type: String |
Headers
The following request and response headers apply to this HTTP action only, or apply to this action in a distinct way. For a list of general headers used in the REST API, see Supported REST API headers.
Header | Description |
---|---|
Accept | Data format of the response
body. Supported types: application/json or
application/xml.
Default: application/json |
Content-Type | Data format of the
request body. Supported types: application/json or
application/xml.
Default: application/json |
Header | Description |
---|---|
None |
Status codes
The following status codes apply to this HTTP action. For a list of possible status codes used in the REST API, see REST API HTTP response codes.