post https://api.connio.cloud/v3/devices
Api Key Authorization
Required Fields | Values |
---|---|
Context type | Account |
Scopes | device:create |
Creating multiple devices
Simply make your request within an array element:
[ { "name": "factory3.floor4.forklift5", "friendlyName": "Forklift #5", "profile": "Forklift", "status": "enabled", "customIds": { "mac": "3c:15:d2:ec:ab:30" }, "period": 0, "description": "Maintenance cycle: every 1,000 miles", "tags": ["forklift", "test"], "location": {"zone": "plant3.floor4", "geo": { "lat": 49.58695, "lon": -123.59685} }, "timezone": "Vancouver UTC-08:00", "annotateWithLoc": true, "annotateWithMeta": true }, { "name": "factory3.floor4.forklift6", "friendlyName": "Forklift #6", "profile": "Forklift", "status": "enabled", "customIds": { "mac": "dd:15:00:ec:aa:30" }, "period": 0, "description": "Maintenance cycle: every 1,000 miles", "tags": ["forklift", "test"], "location": {"zone": "plant3.floor4", "geo": { "lat": 49.58695, "lon": -123.59685} }, "timezone": "Vancouver UTC-08:00", "annotateWithLoc": true, "annotateWithMeta": true } ]