Skip to main content
GET
/
organisations
/
{organisationID}
/
virtual-assets
/
{virtualAssetID}
/
blocks
Get all the blocks belonging to a virtual asset.
curl --request GET \
  --url https://api.trlyr.com/organisations/{organisationID}/virtual-assets/{virtualAssetID}/blocks \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '{}'
[
  {
    "end": "2023-11-12T00:00:00Z",
    "id": "11111111-1111-1111-1111-111111111111",
    "powerCapacity": [
      {
        "chargePowerCapacity": 380,
        "dischargePowerCapacity": 380,
        "ratedChargePowerCapacity": 380,
        "ratedDischargePowerCapacity": 380,
        "time": "2023-11-11T14:30:00Z"
      }
    ],
    "ratedChargePower": 1000,
    "ratedDischargePower": 1000,
    "schedule": [
      {
        "power": 380,
        "time": "2023-11-11T14:30:00Z"
      }
    ],
    "start": "2023-11-11T00:00:00Z",
    "unitsPower": "kW"
  }
]

Headers

Authorization
string
default:Bearer <access token value>
required

Access token

Path Parameters

organisationID
string
required

Organisation ID

virtualAssetID
string
required

Virtual Asset ID

Query Parameters

start
string

Query start time

end
string

Query end time

Body

application/json

The body is of type object.

Response

OK

end
string<dateTime>
Example:

"2023-11-12T00:00:00Z"

id
string<uuid>
Example:

"11111111-1111-1111-1111-111111111111"

powerCapacity
object[]
ratedChargePower
number<float>
Example:

1000

ratedDischargePower
number<float>
Example:

1000

schedule
object[]
start
string<dateTime>
Example:

"2023-11-11T00:00:00Z"

unitsPower
string
Example:

"kW"

Last modified on June 30, 2026