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

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, 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

KeyValueDescription
Acceptapplication/json

Request Parameters

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

Status Code

200 - OK

  • No labels