Resource: Automated Test Run Attachment ( /api/automatedtestrun/{runId}/attachment/{attachmentId} )
A resource representing an attachment of an Automated Test Run.
Methods
DELETE
Deletes an attachment 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 or the attachment was not found in the database. |
Example - DELETE
Deletes an attachment for 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. |
{attachmentId} | 9cb7f1cb-984d-4c47-9275-82d6409ed6be | The unique identifier (GUID) of the Attachment to delete. |
Status Code
200 - OK