API - Events Listing Follow
The events listing endpoint will return a list of events that the organization has set up. There is an understood rule that events that have a start date 180 days in the past will not be returned in the api.
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=L_vc0ayFBpbppKseZWPkGS7OX0jhHBG3ryxoIB0oMeNdxvwmjfG6RyKdRxvZRbuXHWDVQ6zmED1xJU4sjqfs2gcdvO6C6_VSdtijjgYfeeS1nUtFVqUULtuRjAMff_tiG6MCXoobJhQ-NzPK0B5ToA2; expires=Tue, 04-Apr-2017 04:33:25 GMT; path=/; HttpOnly
X-AspNet-Version: 4.0.30319
X-SourceFiles: =?UTF-8?B?RDpcZGV2XGZvY3VzXHdlYlxGb2N1cy5XZWIuTWlzc2lvbnNcRm9jdXMuTWlzc2lvbnMuV2ViXGFwaVwxLjBcZXZlbnRz?=
X-Powered-By: ASP.NET
Date: Tue, 24 Jan 2017 17:53:29 GMT
Content-Length: 667
[
{
"id": 1,
"name": "Daddy | Daughter Dance",
"description": "<p>Dads, make your daughter's dreams come true! </p>",
"registerUrl": "http://www.52projectsllc.com/",
"imageUrl": "https://prodmissionsstorage01.blob.core.windows.net/eventimages/1/1/636208084078342168.jpg (85KB)",
"startDate": "2017-02-11T18:00:00",
"endDate": "2017-02-11T20:00:00",
"isAllDayEvent": false,
"isActive": true,
"filterTypes": [
{
"name": "Who",
"filters": [
"Family"
]
}
],
"createdDateTime": "2017-01-23T22:44:19.423",
"updatedDateTime": "2017-01-23T22:44:19.423"
}
]