Automated Test Run Node Attachment

Automated Test Run Node Attachment

Resource: Automated Test Run Node Attachment ( /api/automatedtestrun/{runId}/node/{nodeId}/attachment/{attachmentId} )

A resource representing an attachment of an Automated Test Run Result Node.

This resource supports the following methods: DELETE

 

Methods

DELETE


Deletes an attachment from a particular Automated Test Run's Result Node.

Required Permissions

  • TestManagement/ManageExecutions/ExecuteAllTests

  • TestManagement/ManageExecutions/ExecuteOnlyMyTests

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 attachment was not found in the database.

 

Example - DELETE

 

Deletes an attachment for a particular Automated Test Run's result node.

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.

{attachmentId}

9cb7f1cb-984d-4c47-9275-82d6409ed6be

The unique identifier (GUID) of the Attachment to delete.

Status Code

200 - OK