Page tree

Attention

For this API to work correctly, the Access ACS calendar must be set as your default calendar.

GET

/:site_number/accessevents?&startdate=:start_date&stopdate=:stop_date

Returns a list of events. Depending on the start and end date specified and the login used, the information displayed may change.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/accessevents?

&startdate=08/01/2015&stopdate=08/31/2015

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with Full/View Rights to the Calendars

Request Header

Basic Authorization is used to determine security rights for the user credentials supplied using the following parameters.

username: "jadams"

password: "password231"

URL Parameters

site_number – The site number to gather data for.

start_date – The date to start pulling events from.

stop_date – The date to stop pulling events from.

Return Data

{
  "Page": [
	{
  	"Id": 733,
  	"Name": "Sunday School",
  	"Description": "Everyone is Welcome!",
  	"LocationName": null,
  	"StartDate": "08/16/2015 11:00:00",
  	"EndDate": "08/16/2015 12:00:00"
	},
	{
  	"Id": 760,
  	"Name": "Back to School Bash!",
  	"Description": "This is a free concert open to the public.",
  	"LocationName": null,
  	"StartDate": "08/22/2015 17:00:00",
  	"EndDate": "08/22/2015 19:00:00"
	},
	{
  	"Id": 734,
  	"Name": "Sunday School",
  	"Description": "Everyone is Welcome!",
  	"LocationName": null,
  	"StartDate": "08/23/2015 11:00:00",
  	"EndDate": "08/23/2015 12:00:00"
	},
	{
  	"Id": 761,
  	"Name": "Mother's Morning Out",
  	"Description": "Feeling Stress?  Need to get something done without bringing the little ones along?  Let us help.",
  	"LocationName": null,
  	"StartDate": "08/25/2015 09:30:00",
  	"EndDate": "08/25/2015 12:00:00"
	},
	{
  	"Id": 735,
  	"Name": "Sunday School",
  	"Description": "Everyone is Welcome!",
  	"LocationName": null,
  	"StartDate": "08/30/2015 11:00:00",
  	"EndDate": "08/30/2015 12:00:00"
	}
  ],
  "PageCount": 1,
  "PageIndex": 0,
  "PageSize": 50
}