API - Application Get Follow
The application get endpoint will return an application with all the questions / answer values for the given id.
Request
Below is an example request. Please replace <TENANT_API_URL> with the URL is that presented under the license key section for settings inside of the platform. Refer to the authentication section of the document for instructions on how to find this URL.
URL: https://<TENANT_API_URL>/1.0/applications/{id:int}
id: The ID of the application to get the details for.
Request Headers:
Authorization: Basic 239848923sdfhs93jsdf0u2h3
Content-Type: application/json
Host: 52projects.gomethod.app
Response
HTTP/1.1 200 OK
Cache-Control: no-cache
Pragma: no-cache
Content-Type: application/json; charset=utf-8
Expires: -1
Server: Microsoft-IIS/8.5
Set-Cookie: .ASPXANONYMOUS=XRdMygx5HU6ZEcf49Mbwdn_v3mnDtQ-HbxG-rPGqcJ0fIyriul33HaZmz_jSfGkCPYu6evUWvM9mDwUOoCiQKZseKAA5gTo_5wkvW9stpmMtz7SiEK6H_RRgc8ArQpTjU_oyIg2; expires=Thu, 30-Mar-2017 10:18:32 GMT; path=/; HttpOnly
X-Pagination:{"totalCount":96,"totalPages":5,"prevPageLink":"","nextPageLink":"https://52projects.focusmissions.com/api/1.0/missions?page=2&pageSize=20"}
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
Date: Thu, 19 Jan 2017 23:38:32 GMT
{
"id":3072,
"name":"Admin Security Rights Test",
"questions":[
{
"id":17956,
"name":"Have you been on a Mission Trip before?",
"isRequired":false,
"isActive":true,
"sort":0,
"answerType":{
"id":4,
"name":"Single-Choice"
},
"maxLength":null,
"howManyAnswers":4,
"values":[
{
"id":12620,
"displayValue":"Yes",
"storedValue":"Yes",
"sortOrder":0,
"howManyAnswers":3,
"isActive":true
},
{
"id":12621,
"displayValue":"No",
"storedValue":"No",
"sortOrder":1,
"howManyAnswers":1,
"isActive":true
}
],
"attributes":[
]
}
]
}