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).

StatusDescription
200 - OKReturned if the request was completed successfully.
403 - ForbiddenReturned 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 - NotFoundReturned 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

KeyValueDescription
Acceptapplication/json

Request Parameters

KeyValueDescription
{runId}1459858c-9526-412e-afdd-09415593c2d3The unique identifier (GUID) of the Automated Test Run.
{attachmentId}9cb7f1cb-984d-4c47-9275-82d6409ed6beThe unique identifier (GUID) of the Attachment to delete.

Status Code

200 - OK

  • No labels