Resource: Automated Test Run Incident ( /api/automatedtestrun/{runId}/node/{nodeId}/incident/{incidentId} )
A resource representing an incident link of an automated test run.
Methods
DELETE
Deletes an incident link from a particular automated test run.
Required Permissions
- TestManagement/ManageExecution
Status Codes
These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successfully. |
403 - Forbidden | Returned if ET could not complete the request (normally due to a validation failure or the necessary permissions to complete the request have not been met). |
404 - NotFound | Returned if the ID for the run, node or incident was not found in the database, or if the link didn't exist. |
Deletes an incident from a particular automated test run.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{runId} | 1459858c-9526-412e-afdd-09415593c2d3 | The unique identifier (GUID) of the automated test run. |
{nodeId} | b8166143-c269-4bd8-876e-d2584edc4e2e | The unique identifier (GUID) of the automated test run result node. |
{incidentId} | 5a5be006-ba7b-4c45-b3a8-ce8d793066dd | The unique identifier (GUID) of the incident. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=utf-8 |
Status Code
200 - OK
GET
Retrieves a particular incident for an automated test run.
Required Permissions
- TestManagement/View
Supported Expansions
For more details on expansions, please see the Expand help topic.
Status Codes
These are the expected status codes returned by the service - in addition, some other status codes may be returned if either an internal error occurs or there is an authentication issue (such as an expired OAuth token).
Status | Description |
---|---|
200 - OK | Returned if the request was completed successfully. |
403 - Forbidden | Returned if ET could not complete the request (normally due to a validation failure or the necessary permissions to complete the request have not been met). |
404 - NotFound | Returned if the ID for the run, node or incident was not found in the database. |
Retrieves a particular incident for a automated test run.
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Request Parameters
Key | Value | Description |
---|---|---|
{runId} | 1459858c-9526-412e-afdd-09415593c2d3 | The unique identifier (GUID) of the automated test run. |
{nodeId} | b8166143-c269-4bd8-876e-d2584edc4e2e | The unique identifier (GUID) of the automated test run result node. |
{incidentId} | 5a5be006-ba7b-4c45-b3a8-ce8d793066dd | The unique identifier (GUID) of the incident. |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/json; charset=utf-8 |
Response Body
{ "RunId": "1459858c-9526-412e-afdd-09415593c2d3", "NodeId": "b8166143-c269-4bd8-876e-d2584edc4e2e", "IncidentId": "5a5be006-ba7b-4c45-b3a8-ce8d793066dd", "Expands": [ "Run", "Node", "Incident" ], "Self": "http://localhost/api/automatedtestrun/1459858c-9526-412e-afdd-09415593c2d3/node/b8166143-c269-4bd8-876e-d2584edc4e2e/incident/5a5be006-ba7b-4c45-b3a8-ce8d793066dd", "Links": [ { "Href": "http://localhost/api/incident/5a5be006-ba7b-4c45-b3a8-ce8d793066dd", "Rel": "Incident" } ] }
Status Code
200 - OK