importSiteAssetsJSON

POST https://{{host}}/api/v1/sites/:site_id/assets/import

Request Params

KeyDatatypeRequiredDescription
upsertnullAPI 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"}}