List/Get isPartOf relationships for the Location
GET {{baseUrl}}/locations/:locationId/relationships/is-part-of
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":{"self":"/locations/05085306-9c1d-4cee-b92a-04c07e4b1945/relationships/is-part-of"},"data":[{"attributes":{"label":"Location XYZ","timeZone":"Europe/Zurich","buildingType":"office","constructionYear":2019,"usableArea":{"value":1200,"unit":"m2"},"description":"A properly organized location","externalId":"IfcGuid:1234","tags":{"Excepteur_6":["non veniam esse"],"pariatur_9":["enim aliqua"]},"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"}]]}},"primaryContact":{"name":"Marla Pfahl","email":"marla.pfahl@example.com","phone":"+41 41 234 56 78"}},"id":"c9e01d9d-457c-426f-a186-f7c5e592e1f7","relationships":{"hasPostalAddress":{"data":{"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address"}},"isBuildingOf":{"data":{"id":"43997b3e-fe5a-4053-ab90-ed218faa164f","type":"Campus"}}},"type":"Building","meta":{"createdAt":"2023-11-12T09:12:48.986Z","updatedAt":"1965-11-12T06:12:18.389Z","createdBy":"adsf","updatedBy":"adsf"}},{"attributes":{"label":"Location XYZ","timeZone":"Europe/Zurich","buildingType":"office","constructionYear":2019,"usableArea":{"value":1200,"unit":"m2"},"description":"A properly organized location","externalId":"IfcGuid:1234","tags":{"laborum_e05":["consectetur pariatur anim dolor dolor"]},"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"}]]}},"primaryContact":{"name":"Marla Pfahl","email":"marla.pfahl@example.com","phone":"+41 41 234 56 78"}},"id":"c9e01d9d-457c-426f-a186-f7c5e592e1f7","relationships":{"hasPostalAddress":{"data":{"id":"05085306-9c1d-4cee-b92a-04c07e4b1945","type":"Address"}},"isBuildingOf":{"data":{"id":"43997b3e-fe5a-4053-ab90-ed218faa164f","type":"Campus"}}},"type":"Building","meta":{"createdAt":"2018-08-27T14:21:16.788Z","updatedAt":"2023-08-15T23:10:40.323Z","createdBy":"adsf","updatedBy":"adsf"}}]}