API - Allocation Types Follow
Allocation types are ways to customize the way donations / money is displayed for mission trips and participants. This Api endpoint lists all the allocation types that have been created by the organization.
Listing Api
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 Focus Missions. Refer to the authentication section of the document for instructions on how to find this url.
URL: https://<TENANT_API_URL>/1.0/allocationtypes
Request Headers:
Authorization: Basic 239848923sdfhs93jsdf0u2h3
Content-Type: application/json
Host: 52projects.focusmissions.com
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
Content-Length: 70308
[
{
"id": 7,
"name": "Cash",
"description": "This is for when cash is received.",
"isActive": true
},
{
"id": 11,
"name": "Check",
"description": "If a person walks up with a check, record it here",
"isActive": true
},
{
"id": 12,
"name": "Scholarship",
"description": "Things about scholarships",
"isActive": false
},
....
]