Location

In Supportable, a Location refers to a physical building or community within the organization. Offices, apartments, and houses managed by the organization are all considered Locations. A Location can have multiple associations with different Offerings, meaning those Offerings can be administered at the Location and Persons with referrals for those Offerings can be placed at the Location.

Sample Request #

HeadersAuthorization = Bearer [token]
ParametersNone
BodyNone
GET https://connect.supportableapp.com/api/locations

Sample Response JSON #

Status: 200

[
  {
    "_id": "6356c850fd581c6a5c8f2e64",
    "status": true,
    "name": "Swallow Valley",
    "address": "19029 Apple Way, Macintosh, MN 55555",
    "locationTypeId": "62860d0cf31490171ab7b9df",
    "locationAssociations": [
      {
        "subEntityId": "631b78b3b85f7b84cd478b28",
        "offeringId": "6311a1dac42741794219e7bd"
      },
      {
        "subEntityId": "6346eca89f32eacd40ee875c",
        "offeringId": "6342e722ef17a9371572500b"
      },
      {
        "subEntityId": "6346eca89f32eacd40ee875c",
        "offeringId": "63456bb39f32eacd40ee8667"
      },
      {
        "subEntityId": "6346eca89f32eacd40ee875c",
        "offeringId": "63456fd59f32eacd40ee8673"
      },
      {
        "subEntityId": "6346eca89f32eacd40ee875c",
        "offeringId": "63457ab49f32eacd40ee8685"
      },
      {
        "subEntityId": "6346eca89f32eacd40ee875c",
        "offeringId": "6345785d9f32eacd40ee867f"
      }
    ]
  },
  . . .
]

Notes on Values #

AttributeData TypeDescription
idstringThe unique identifier for the Location.
statusbooleanWhether the Location is active in Supportable.
namestringThe name of the Location given by the organization.
addressstringThe address for the Location.
locationTypeIdstringThe unique identifier for the Location Type with which the Location is associated.
locationAssociationsarray of objectsThe Offerings with which this Location is associated, as well as their associated Sub-Entities.
locationAssociations.offeringIdstringThe unique identifier of the Offering.
locationAssociations.subEntityIdstringThe unique identifier of the Sub-Entity with which the Offering is associated.