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).
Status | Description |
---|---|
200 - OK | Returned if request completed successfully. |
404 - NotFound | Returned if the automated test type does not exist. |
Example - Example - Get all automated test type
Example of getting all automated test types
Request Headers
Key | Value | Description |
---|---|---|
Accept | application/json |
Response Headers
Key | Value | Description |
---|---|---|
Content-Type | application/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