The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Terms of Use and Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content
Lifecycle Twin API

Create and manage various objects in the Lifecycle Twin.

Asset Onboarding

The Bx onboarding process involves creating assets in Lifecycle Twin or Data Setup, or mapping existing assets.

Mappable Entities

Lifecycle TwinBuilding X Data Setup
BuildingLocation [Building]
FloorLocation [Floor]
RoomLocation [Room]
ComponentEquipment

Scenario 1: Lifecycle Twin configured, No data in Data Setup

In this scenario, Lifecycle Twin (LCT) contains the building structure hierarchy (buildings, floors, rooms) and components. Typically, data comes from a BIM model, which is then cleaned up and enriched in LCT. There is no building structure data in Data Setup

Onboarding Steps

  1. query data from Lifecycle Twin
  2. create entity in Data Setup
  3. map created entity with the existing LCT entity

Data should be created in the following order: Building -> Floor -> Room -> Equipment.

Endpoints to query building assets can be found on the asset management page

Note

Components should be filtered by type and/or category. LCT components include all building elements, such as pipes, walls, ducts, etc., which are not considered IoT equipment. Only components representing IoT equipment in Bx need to be queried. It is recommended to use the filter by category to query only equipment, using the filter header. Suitable categories include:

  • Radiators
  • Water sensors
  • Air handling units
  • Chillers

To filter components by categories, apply the following filter:

    {"in":{"Category.Id":["id1", "id2", "idN"]}}

To create a building structure in Data Setup, refer to the Building Structure API

After an asset has been created in Bx, obtain the ID of the created entity. Use this ID to map the LCT asset with the Bx asset.

To map an asset, update the LCT entity and set the property BxEntityId with the ID of the created entity in Data Setup.

Example

PUT /facilities/{facilityId}

Headers:

ParameterDescription
clientname(mandatory) Portfolio name
authorization(mandatory) Authentication token
projectId(mandatory) Project identifier
select(mandatory)

Body:

{
    "BxEntityId": "45902784-c0e8-430c-87fe-1454dd82b88c"
}

Specification and schema can be found in the API Reference

Note

Id of a Bx entity is not validated as it is considered as external identifier. Any UUID is acceptable. The responsibility on passing correct Id.

After creating equipment, in Data Setup application the equipment needs to be mapped with points

Scenario 2. Data Setup configured, Lifecycle Twin is not

This scenario assumes that the building structure is already configured in Data Setup, but LCT is empty, and the customer does not intend to use a BIM model.

The steps are the similar to the Scenario 1, but the data needs to be queried from Data Setup and created in Lifecycle Twin

To query a building structure in Data Setup, refer to the Building Structure API

To create and asset in Lifecycle Twin use the relevant POST endpoint, described on the asset management page.

Example of building creation

POST /facilities

Headers:

ParameterDescription
clientname(mandatory) Portfolio name
authorization(mandatory) Authentication token
projectId(mandatory) Project identifier
select(mandatory)

Body:

{
    {
    "Name": "Building 1",
    "Description": ""    
}
}

In case of successful creation, Id of the newly created asset will be returned:

{
    "Value": "5696bfb4-f07f-4b59-94d0-ba30dd4ede34"
}

Use this Id to map the existing Bx asset with the LCT asset, using the PUT request, described in the Scenario 1

Same Id must be used to create the child assets, for example, to create Component, Building Id as well as Room Id needs to be passed.

{
    "Name": "AC-OU-1",
    "Facility": {
        "Id": "c1920de1-30a8-4d5f-a7a7-88a3a22df115"
    },
    "Locations": [
        {
            "Id": "9540ce11-48a2-4cf5-ac3a-b2ebf324abd2"
        }
    ],
    "CustomFileds": [
        {
            "Id": "c1920de1-30a8-4d5f-a7a7-88a3a22df115",
            "Value": "Poor"
        }
    ]
}

Scenario 3

Data Setup and Lifecycle Twin are both configured and have some building structure and equipment/components.

Data Setup is considered as master source. The scenario doesn't assume any asset creation. The existing entities needs to be mapped.

Typical workflow:

  • query all building from Data Setup
  • find corresponding buildings in LCT. It can be found based on name or any other available property in both systems. Exact fields depends on the data quality and customer's configuration
  • map the Bx building with Lifecycle Twin building, using the PUT request, as described in Scenario 1
  • Do the same steps with other entities: floors, rooms, components

Refer to the asset management page and Building Structure API to query the data from both systems