List Locations

GET {{baseUrl}}/locations?page[size]=100&page[number]=0&include=<string>&filter[type]=<string>&filter[isPartOf.data.type]=<string>

List Locations

Request Params

KeyDatatypeRequiredDescription
page[size]numberThe numbers of items to return
page[number]numberThe page number (how many pages to skip)
includestringIncludes the hasPostalAddress relationship
filter[type]stringFilter by 'type'
filter[isPartOf.data.type]stringFilter by 'type' of isPartOf relationship

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;links&quot;:{&quot;self&quot;:&quot;/locations&quot;,&quot;next&quot;:&quot;/locations?page[number]=1&quot;},&quot;data&quot;:[{&quot;attributes&quot;:{&quot;label&quot;:&quot;Aspern Smart City Campus&quot;,&quot;timeZone&quot;:&quot;Europe/Zurich&quot;,&quot;description&quot;:&quot;A properly organized location&quot;,&quot;externalId&quot;:&quot;IfcGuid:1234&quot;,&quot;tags&quot;:{&quot;consequat_6&quot;:[&quot;exercitation&quot;],&quot;eiusmod3&quot;:[&quot;id ut tempor pariatur officia&quot;],&quot;dolor79&quot;:[&quot;aute nisi consequat eiusmod dolor&quot;],&quot;magna_6b&quot;:[&quot;nisi&quot;]},&quot;geoLocation&quot;:{&quot;geometry&quot;:{&quot;type&quot;:&quot;Point&quot;,&quot;coordinates&quot;:[8.48281,47.19717]}},&quot;geoArea&quot;:{&quot;geometry&quot;:{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]]}},&quot;primaryContact&quot;:{&quot;name&quot;:&quot;Marla Pfahl&quot;,&quot;email&quot;:&quot;marla.pfahl@example.com&quot;,&quot;phone&quot;:&quot;+41 41 234 56 78&quot;}},&quot;id&quot;:&quot;43997b3e-fe5a-4053-ab90-ed218faa164f&quot;,&quot;type&quot;:&quot;Campus&quot;,&quot;relationships&quot;:{&quot;hasPostalAddress&quot;:{&quot;data&quot;:{&quot;id&quot;:&quot;05085306-9c1d-4cee-b92a-04c07e4b1945&quot;,&quot;type&quot;:&quot;Address&quot;}}},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;1967-04-29T09:05:08.486Z&quot;,&quot;updatedAt&quot;:&quot;1993-12-22T21:43:33.036Z&quot;,&quot;createdBy&quot;:&quot;adsf&quot;,&quot;updatedBy&quot;:&quot;adsf&quot;}},{&quot;attributes&quot;:{&quot;label&quot;:&quot;Aspern Smart City Campus&quot;,&quot;timeZone&quot;:&quot;Europe/Zurich&quot;,&quot;description&quot;:&quot;A properly organized location&quot;,&quot;externalId&quot;:&quot;IfcGuid:1234&quot;,&quot;tags&quot;:{&quot;consequat_597&quot;:[&quot;dolore adipisicing magna minim enim&quot;],&quot;culpa_488&quot;:[&quot;Lorem esse veniam tempor&quot;],&quot;dolore_9&quot;:[&quot;ut irure&quot;]},&quot;geoLocation&quot;:{&quot;geometry&quot;:{&quot;type&quot;:&quot;Point&quot;,&quot;coordinates&quot;:[8.48281,47.19717]}},&quot;geoArea&quot;:{&quot;geometry&quot;:{&quot;type&quot;:&quot;Polygon&quot;,&quot;coordinates&quot;:[[{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;},{&quot;value&quot;:&quot;\u003cError: Too many levels of nesting to fake this schema\u003e&quot;}]]}},&quot;primaryContact&quot;:{&quot;name&quot;:&quot;Marla Pfahl&quot;,&quot;email&quot;:&quot;marla.pfahl@example.com&quot;,&quot;phone&quot;:&quot;+41 41 234 56 78&quot;}},&quot;id&quot;:&quot;43997b3e-fe5a-4053-ab90-ed218faa164f&quot;,&quot;type&quot;:&quot;Campus&quot;,&quot;relationships&quot;:{&quot;hasPostalAddress&quot;:{&quot;data&quot;:{&quot;id&quot;:&quot;05085306-9c1d-4cee-b92a-04c07e4b1945&quot;,&quot;type&quot;:&quot;Address&quot;}}},&quot;meta&quot;:{&quot;createdAt&quot;:&quot;1946-12-31T09:53:52.536Z&quot;,&quot;updatedAt&quot;:&quot;1965-09-10T16:19:01.615Z&quot;,&quot;createdBy&quot;:&quot;adsf&quot;,&quot;updatedBy&quot;:&quot;adsf&quot;}}],&quot;included&quot;:[{&quot;attributes&quot;:{&quot;countryCode&quot;:&quot;AUT&quot;,&quot;countryName&quot;:&quot;Austria&quot;,&quot;continentCode&quot;:&quot;EU&quot;,&quot;continentName&quot;:&quot;Europe&quot;,&quot;locality&quot;:&quot;Vienna&quot;,&quot;region&quot;:&quot;Styria&quot;,&quot;postalCode&quot;:&quot;1010&quot;,&quot;street&quot;:&quot;Opernring 3&quot;},&quot;id&quot;:&quot;05085306-9c1d-4cee-b92a-04c07e4b1945&quot;,&quot;type&quot;:&quot;Address&quot;,&quot;meta&quot;:{&quot;createdAt&quot;:&quot;2007-01-02T19:36:06.804Z&quot;,&quot;updatedAt&quot;:&quot;1989-06-24T02:37:39.187Z&quot;,&quot;createdBy&quot;:&quot;adsf&quot;,&quot;updatedBy&quot;:&quot;adsf&quot;}},{&quot;attributes&quot;:{&quot;countryCode&quot;:&quot;AUT&quot;,&quot;countryName&quot;:&quot;Austria&quot;,&quot;continentCode&quot;:&quot;EU&quot;,&quot;continentName&quot;:&quot;Europe&quot;,&quot;locality&quot;:&quot;Vienna&quot;,&quot;region&quot;:&quot;Styria&quot;,&quot;postalCode&quot;:&quot;1010&quot;,&quot;street&quot;:&quot;Opernring 3&quot;},&quot;id&quot;:&quot;05085306-9c1d-4cee-b92a-04c07e4b1945&quot;,&quot;type&quot;:&quot;Address&quot;,&quot;meta&quot;:{&quot;createdAt&quot;:&quot;2023-09-04T02:13:06.012Z&quot;,&quot;updatedAt&quot;:&quot;2013-05-24T11:05:33.309Z&quot;,&quot;createdBy&quot;:&quot;adsf&quot;,&quot;updatedBy&quot;:&quot;adsf&quot;}}]}