List/Get hasAssets relationships for the Location
GET {{baseUrl}}/locations/:locationId/relationships/has-assets?page[size]=100
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
page[size] | number | The numbers of items to return |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"links":{"self":"/locations/05085306-9c1d-4cee-b92a-04c07e4b1945/relationships/has-assets"},"data":[{"id":"7cff918e-2da2-488a-ac86-3732ebca559a","type":"Equipment","relationships":{"hasLocation":{"data":{"id":"7cff918e-2da2-488a-ac86-3732ebca559a","type":"Building"}}}},{"id":"7cff918e-2da2-488a-ac86-3732ebca559a","type":"Equipment","relationships":{"hasLocation":{"data":{"id":"7cff918e-2da2-488a-ac86-3732ebca559a","type":"Building"}}}}]}