importSiteAssetsJSON
POST https://{{host}}/api/v1/sites/:site_id/assets/import
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
upsert | null | API will replace the assets with same mac if provided upsert=True, otherwise will report in errors in response. |
Request Body
{"0"=>{"name"=>"Expensive Instrument", "mac"=>"a31eb04e1c38"}, "1"=>{"name"=>"Cheap Instrument", "mac"=>"a31eb04e1c37"}}