API Reference

Retrieve a list of test forms

Description

Retrieves a list of test forms.

GET /testForms

🚧

Required OAuth Scopes:

graph:read

Parameters

ParameterInTypeRequiredDescription
$expandquerystringfalseReturns related resources inline with the main resource

Expand Options

Expands Options Supported
testPhases, testPhases.attachments, testPhases.matrices, attachments

Code Samples

curl -X GET https://api.app.wdesk.com/platform/v1/testForms  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://api.app.wdesk.com/platform/v1/testForms  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://api.app.wdesk.com/platform/v1/testForms" \
 --output-document -  \ 
 --header 'Accept: application/json' \ 
 --header 'Authorization: Bearer {access-token}'
import requests
headers = {
  'Accept': 'application/json',
  'Authorization': 'Bearer {access-token}'
}

r = requests.get('https://api.app.wdesk.com/platform/v1/testForms', headers = headers)

print(r.json())

Returns

200 - OK

Returns a JSON object with data and @nextLink properties. data contains a list of TestForm objects, and @nextLink provides the URL to the next set of results. If there are no additional results, @nextLink doesn't appear. If the request returns no results at all, data contains an empty array.

Example Responses


{
  "data": [
    {
      "id": "7e1c2b1c-c4d1-475f-963b-4187bda1af67",
      "name": "Process Improvement"
    },
    {
      "id": "0628220b-735d-4f59-af04-a341c704359f",
      "name": "Expense Reports"
    }
  ],
  "@nextLink": "{opaqueUrl}"
}