API Reference

Retrieve a single test form

Description

Retrieves a test form given its ID.

GET /testForms/{testFormId}

🚧

Required OAuth Scopes:

graph:read

Parameters

ParameterInTypeRequiredDescription
testFormIdpathstringtrueThe unique identifier of the test form
$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/{testFormId}  \ 
-H 'Accept: application/json' \ 
-H 'Authorization: Bearer {access-token}'
http GET https://api.app.wdesk.com/platform/v1/testForms/{testFormId}  \ 
Accept:application/json \ 
Authorization:"Bearer {access-token}"
wget --method=GET "https://api.app.wdesk.com/platform/v1/testForms/{testFormId}" \
 --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/{testFormId}', headers = headers)

print(r.json())

Returns

200 - OK

Describes details of a test form including its ID, name, and test phases.

Example Responses


{
  "id": "124efa2a142f472ba1ceab34ed18915f",
  "name": "Process Improvement"
}