Import Scene
Imports a scene to add or update a scene record in a project.
POST /v1/import/scene
Requires a Control API key. A scene used by a schedule writes its values to equipment, so changing those values is a write to the building.
Content
See Scenes for details on the CSV format used for scenes. Like source maps, this CSV describes a single scene: the first data row is the scene itself, and each following row is a point in that scene, with one column per mode.
name, id, Occupied, Unoccupied, Curtail
Lobby HVAC, sn.5, , ,
, s.5.9, 72, 55, 78
, s.5.12, 1, 0, 0
Leave the scene id blank to create a new scene.
curl https://api.novant.io/v1/import/scene \
-X POST \
-u ak_sample_123: \
-H "Content-Type: text/csv" \
--data-binary @scene.csvReturns
Returns ok if import was successful.
{ "proj_id": 4821, "status": "ok" }