Novant

Documentation

Sign in

Import Sources

Imports source data to add or update records in a project.

POST /v1/import/sources

Content

See Import & Export for details on the CSV format used for sources. To add a new source:

name, type, addr, source_map_id, node
ECB-600-1, bacnet, 10.0.1.1:47808, sm.1, NA00000000V1

To update an existing source:

id, parent_asset_id, target_poll_freq
s.1, a.4, 5min
curl https://api.novant.io/v1/import/sources \
  -X POST \
  -u ak_sample_123: \
  -H "Content-Type: text/csv" \
  --data-binary @sources.csv

Returns

Returns ok if import was successful.

{ "status": "ok" }