Authentication is required prior to accessing the Willow API. Refer to Authentication section above for details.
- Create or update multiple events.
Willow Public API (v3)
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.
- application/json
- text/json
- application/*+json
The filter criteria and pagination details for the events to be retrieved.
- https://{instance}.app.willowinc.com/api/v3/events
- Payload
- JS
- C#
- Java
- Python
{ "sortSpecifications": [ { … } ], "filterSpecifications": [ { … } ], "page": 0, "pageSize": 0 }
No response example- application/json
- text/json
- application/*+json
A collection of Event objects to be created or updated.
Gets the event type id which is defined by Willow, e.g. CalendarEvent, WeatherForecast, UtilityBill, ….
Gets an Id linking it to the source system, facilitating updates and deletes.
Gets or sets a version for the payload to assist in the deserialization of the payload.
Gets or sets a double value that may be stored to complement the Payload value.
Gets the id of the twin that is a reference to to an existing space, or equipment twin.
Gets or sets a JSON string with the expanded location ancestors for the twinId.
Gets or sets the date the event was last modified in the system.
- https://{instance}.app.willowinc.com/api/v3/events
- Payload
- JS
- C#
- Java
- Python
[ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "startTime": "2019-08-24T14:15:22Z", "endTime": "2019-08-24T14:15:22Z", "eventTypeId": 0, "eventSourceId": "string", "externalId": "string", "payload": "string", "payloadVersion": "string", "scalarValue": 0.1, "twinId": "string", "locations": "string", "createdDate": "2019-08-24T14:15:22Z", "lastModifiedDate": "2019-08-24T14:15:22Z" } ]
No response example- https://{instance}.app.willowinc.com/api/v3/events/{eventId}
- Payload
- JS
- C#
- Java
- Python
No request payloadOK
- text/plain
- application/json
- text/json
Gets the event type id which is defined by Willow, e.g. CalendarEvent, WeatherForecast, UtilityBill, ….
Gets an Id linking it to the source system, facilitating updates and deletes.
Gets or sets a version for the payload to assist in the deserialization of the payload.
Gets or sets a double value that may be stored to complement the Payload value.
Gets the id of the twin that is a reference to to an existing space, or equipment twin.
Gets or sets a JSON string with the expanded location ancestors for the twinId.
No response example- https://{instance}.app.willowinc.com/api/v3/events/types
- Payload
- JS
- C#
- Java
- Python
No request payloadNo response example