API - Filter Types Listing Follow
The filter types listing endpoint will return a list of filter types that the organization has set up.
Note: There is currently no paging for the endpoint but future iterations of the implementation will include paging.
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 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/events
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/10.0
Set-Cookie: .ASPXANONYMOUS=RzJaLpKjOqcMNXuOc51z0jy4ydgtlII3VF45BGwBaj4KFCh9Uc7GGr5UH2yGiAzQ7Zwqow8dj6YLmh18uO6LaoCo3ovV7Fe0u2qqTyMWOYiGw5CCAGILaJXOUb3lkaL6P6iG7QuLDU1nbURPzOtHeg2; expires=Tue, 04-Apr-2017 04:33:06 GMT; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?RDpcZGV2XGZvY3VzXHdlYlxGb2N1cy5XZWIuTWlzc2lvbnNcRm9jdXMuTWlzc2lvbnMuV2ViXGFwaVwxLjBcZmlsdGVydHlwZXM=?=
X-Powered-By: ASP.NET
Date: Tue, 24 Jan 2017 17:53:06 GMT
Content-Length: 1223
[
{
"id": 8,
"name": "Who",
"isActive": true,
"filters": [
"Gateway Students",
"Gateway Adults",
"Ministry Kids",
"Adult",
"Family",
"Mens",
"Womens"
]
},
{
"id": 9,
"name": "Region",
"isActive": true,
"filters": [
"Mexico",
"Belize",
"South Africa",
" Africa",
" Asia",
" Caribbean",
" Central America",
" Eastern Europe",
" Middle East",
" North America",
" South America"
]
},
{
"id": 15,
"name": "School Year",
"isActive": true,
"filters": [
"Freshmen",
"Senior"
]
},
{
"id": 26,
"name": "Ministry Focus",
"isActive": true,
"filters": [
"medical",
"construction"
]
},
{
"id": 103,
"name": "When",
"isActive": true,
"filters": [
"Apr-June Fall break",
" Jan-Mar",
" July-Sept",
" Oct-Dec",
" Spring Break",
" Summer Break"
]
},
{
"id": 104,
"name": "Where",
"isActive": true,
"filters": [
"International",
" National"
]
}
]