You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Resource: Automated Test Types ( /api/automatedtesttypes )

Automated Test Types (collection) resource

Root Relation: AutomatedTestTypes

This resource supports the following methods: GET

Methods

GET


Retrieves the list of automated test types

This method supports the OData parameters $filter, $top, $take, $orderby and $inlinecount. See OData Topic for more details.

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 request completed successfully.
404 - NotFoundReturned if the automated test type does not exist.

Example - Example - Get all automated test type

Example of getting all automated test types

Request Headers

KeyValueDescription
Acceptapplication/json

Response Headers

KeyValueDescription
Content-Typeapplication/json; charset=utf-8

Response Body

{
  "Items": [
    {
      "Name": "UnitTest",
      "FriendlyName": "Unit Test Results",
      "Types": [
        {
          "Name": "NUnit",
          "FriendlyName": "NUnit"
        },
        {
          "Name": "JUnit",
          "FriendlyName": "JUnit"
        }
      ],
      "Self": "http://localhost/api/automatedtesttype/unittest"
    },
    {
      "Name": "Selenium",
      "FriendlyName": "Selenium",
      "Types": [],
      "Self": "http://localhost/api/automatedtesttype/selenium"
    }
  ]
}

Status Code

200 - OK

  • No labels