Page tree

GET

/:site_number/locations

Returns a list of all locations for the site.These locations can be primary or non-primary locations.

Example

https://secure.accessacs.com/api_accessacs_mobile/v2/12345/locations

Required Permissions

The user must fall into one of the categories below:

  • System Administration

  • A user with rights to Add/Edit Resources

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.

Return Data

[
 {
    "LocationId": "676974dd-0217-40ab-a67d-7c2fd3016143",
    "LocationName": "Music Center - Choir Room",
    "ResourceCategoryId": "aae1483c-461c-4761-893c-88104e8432b8",
    "ResourceCategoryName": "Music Suite"
  },
   {
    "LocationId": "e5e8a41a-9a40-4676-878c-5e93c8c12157",
    "LocationName": "All Saints Hall",
    "ResourceCategoryId": "76440102-5539-43dd-913c-8b5076a89878",
    "ResourceCategoryName": "Rooms"
  },
   {
    "LocationId": "1343d133-d08b-478e-a10e-a2b400f1846f",
    "LocationName": "Church Office",
    "ResourceCategoryId": "4d947fa0-250d-4775-b798-a2b400f150d3",
    "ResourceCategoryName": "Staff Area"
  },
   {
    "LocationId": "bc868227-b91b-4092-8fe7-a04b00fc8c06",
    "LocationName": "Parlor",
    "ResourceCategoryId": "1f95414a-f3dc-486a-a7ac-1cb46823d6b8",
    "ResourceCategoryName": "Worship Centers"
  },
  {
    "LocationId": "d100b375-c2d4-409a-b2a9-b2737d637a07",
    "LocationName": "Sanctuary",
    "ResourceCategoryId": "1f95414a-f3dc-486a-a7ac-1cb46823d6b8",
    "ResourceCategoryName": "Worship Centers"
  },
    {
    "LocationId": "92113f27-1280-48a2-81b4-a13bf0b70a57",
    "LocationName": "Youth Rec Center",
    "ResourceCategoryId": "592aad16-d059-4cc8-b41d-fb143269913e",
    "ResourceCategoryName": "Youth Center"
  }
]