API - Applications Listing Follow
The applications listing endpoint will return a list of applications that the organization has set up. The applications api endpoint using pagination in order to filter results. The max pageSize can be 100. In the headers of the response will be a header "X-Pagination" which will hold pagination information to identify the total count of trips and what the url is for the prev and next set of trips.
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?page=1&pageSize=20
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":[
]
}
]
}...
]