...
Example - POSTAdds a new incident to 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. |
Request Body
Code Block |
---|
|
incidentId={
"IncidentId": "5a5be006-ba7b-4c45-b3a8-ce8d793066dd"
}
|
Response Headers
Key | Value | Description |
---|
Location | http://localhost/api/automatedtestrun/1459858c-9526-412e-afdd-09415593c2d3/node/b8166143-c269-4bd8-876e-d2584edc4e2e/incident/5a5be006-ba7b-4c45-b3a8-ce8d793066dd | The location of the new incident resource. |
Response Body
Code Block |
---|
|
{
"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
201 - Created
...