Get list of medium consumptions
GET {{baseUrl}}/medium-consumptions?entity.id=<string>&entity.type=<string>&disciplines=<string>&usesMeterId=<string>&fields=<string>
Get list of medium consumptions
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
entity.id | string | Only return items were 'entity' contain the given id. F.e. locationId. | |
entity.type | string | Only return items were 'entity.type' contain the type. F.e. Building. | |
disciplines | string | Only return items were 'disciplines' contain the given discipline. | |
usesMeterId | string | Only return items were the medium consumption uses the given meter. | |
fields | string | Parse fieldsets to indicate which fields to return. The value must be a comma-separated (U+002C COMMA, “,”) list that refers to the name(s) of the fields to be returned. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":[{"id":"847543ba-3bf8-434a-9330-109ae433364f","base":{"name":"","disciplines":[{"name":"total"},{"name":"total"}],"unit":"unit:KiloW-HR"},"entity":{"reference":{"id":"27c501cc-bf89-4e18-9952-c069105ec696","type":"Building"}},"usedMeters":[{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","reference":{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","type":"Equipment"}},{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","reference":{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","type":"Equipment"}}]},{"id":"847543ba-3bf8-434a-9330-109ae433364f","base":{"name":"","disciplines":[{"name":"total"},{"name":"total"}],"unit":"unit:KiloW-HR"},"entity":{"reference":{"id":"27c501cc-bf89-4e18-9952-c069105ec696","type":"Building"}},"usedMeters":[{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","reference":{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","type":"Equipment"}},{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","reference":{"id":"b08c8a54-b462-4c99-bc36-5f802c894d61","type":"Equipment"}}]}]}