Authentication is required prior to accessing the Willow API. Refer to Authentication section above for details.
Willow Public API (v3)
Instance of DigitalTwinRelationship.
The name of the relationship, which defines the type of link from source twin to target twin (e.g. isPartOf, locatedIn, servedBy, etc.. ).
- https://{instance}.app.willowinc.com/api/v3/twins/relationships
- Payload
- JS
- C#
- Java
- Python
{ "Id": "AHU-1_isFedBy_substance_ChilledWater_Chiller-1", "targetId": "Chiller-1", "sourceId": "AHU-1", "name": "isFedBy", "properties": { "substance": "ChilledWater" } }
{ "Id": "AHU-1_isFedBy_substance_ChilledWater_Chiller-1", "targetId": "Chiller-1", "sourceId": "AHU-1", "name": "isFedBy", "properties": { "substance": "ChilledWater" } }
- https://{instance}.app.willowinc.com/api/v3/twins/{twinId}/relationships/{relationshipId}
- Payload
- JS
- C#
- Java
- Python
No request payload{ "Id": "AHU-1_isFedBy_substance_ChilledWater_Chiller-1", "targetId": "Chiller-1", "sourceId": "AHU-1", "name": "isFedBy", "properties": { "substance": "ChilledWater" } }
- https://{instance}.app.willowinc.com/api/v3/twins/{twinId}/relationships/outgoing
- Payload
- JS
- C#
- Java
- Python
No request payloadTarget relationships retrieved.
The name of the relationship, which defines the type of link from source twin to target twin (e.g. isPartOf, locatedIn, servedBy, etc.. ).
Additional properties of the relationship as defined in the DTDL model.
[ { "Id": "AHU-1_isFedBy_substance_ChilledWater_Chiller-1", "targetId": "Chiller-1", "sourceId": "AHU-1", "name": "isFedBy", "properties": { … } } ]
- https://{instance}.app.willowinc.com/api/v3/twins/{twinId}/relationships/incoming
- Payload
- JS
- C#
- Java
- Python
No request payloadRelationships retrieved.
The name of the relationship, which defines the type of link from source twin to target twin (e.g. isPartOf, locatedIn, servedBy, etc.. ).
Additional properties of the relationship as defined in the DTDL model.
[ { "Id": "AHU-1_isFedBy_substance_ChilledWater_Chiller-1", "targetId": "Chiller-1", "sourceId": "AHU-1", "name": "isFedBy", "properties": { … } } ]
Time Series
The Time Series endpoints are used for sending or receiving telemetry data. Once a Capability twin has been created that represents the time series, the telemetry associated with that twin can be created using either the twin's dtId (aka twinId) or externalId, a timestamp, and a value. Data is transmitted as an array so time series data can be batched and sent within a single request. Similarly, time series can be retreived for one or more Capability twins at a time using the twinId(s).
Insights
Insights are issues, opportunities, or knowledge that can help optimize or improve the performance of a building. They can be associated with any twin within Willow and are triggered in real-time by Skills that are running within Willow's Activate Technology and analyzing the incoming time series data.