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

&Locationid=:location_id

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&Locationid=2

Required Permissions

The user must fall into one of the categories below:

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.

location_id – The ID of the location on which to filter the list of events.  Values from the Get List of Locations API.  

Return Data

{
  "Page": [
    {
      "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"
    }
  ],
  "PageCount": 1,
  "PageIndex": 0,
  "PageSize": 50
}

Notes

You may pull more than one location by separating them by a comma.  For example, location_id=1,4