Get Location
GET {{baseUrl}}/locations/:locationId?include=<string>
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include | string | Includes the hasPostalAddress relationship |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":{"self":"/locations/05085306-9c1d-4cee-b92a-04c07e4b1945"},"data":{"attributes":{"label":"Aspern Smart City Campus","timeZone":"Europe/Zurich","description":"A properly organized location","externalId":"IfcGuid:1234","tags":{"reprehenderit_50":["laborum occaecat anim est"],"commodo_0f1":["sit cons"],"fugiat_e":["dolor Duis magna dolore"],"cillum_4bf":["velit cillum sit nulla consectetur"],"consequat7f8":["dolor amet"]},"geoLocation":{"geometry":{"type":"Point","coordinates":[8.48281,47.19717]}},"geoArea":{"geometry":{"type":"Polygon","coordinates":[[[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}],[{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"},{"value":"\u003cError: Too many levels of nesting to fake this schema\u003e"}]]]}},"primaryContact":{"name":"Marla Pfahl","email":"marla.pfahl@example.com","phone":"+41 41 234 56 78"}},"id":"43997b3e-fe5a-4053-ab90-ed218faa164f","type":"Campus","relationships":{"hasPostalAddress":{"data":{"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address"}}},"meta":{"createdAt":"1992-10-08T04:47:25.480Z","updatedAt":"1997-10-03T22:03:03.438Z","createdBy":"adsf","updatedBy":"adsf"}},"included":[{"attributes":{"countryCode":"AUT","countryName":"Austria","continentCode":"EU","continentName":"Europe","locality":"Vienna","region":"Styria","postalCode":"1010","street":"Opernring 3"},"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address","meta":{"createdAt":"1957-07-08T20:15:45.414Z","updatedAt":"2001-09-22T10:01:29.360Z","createdBy":"adsf","updatedBy":"adsf"}},{"attributes":{"countryCode":"AUT","countryName":"Austria","continentCode":"EU","continentName":"Europe","locality":"Vienna","region":"Styria","postalCode":"1010","street":"Opernring 3"},"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address","meta":{"createdAt":"1972-06-02T19:57:30.163Z","updatedAt":"2001-12-27T10:04:23.947Z","createdBy":"adsf","updatedBy":"adsf"}}]}