Add Device
POST {{base_url}}/api/v2/device/add
Description
Provision a device that is assigned to your company. It allows you to add a new device to your system by providing the deviceId (MAC address).
Reponse Body Contents
Post request address: https://assetflo.io/api/v2/device/add
Header information: Content-Type: application/json
Data
: json payloaddeviceId
(string): This field specifies the unique identifier of the device you want to add. In the example, the device ID is set to"de0366b789d8"
.
Summary
When you make a POST request to the provided endpoint with the specified payload, the Assetflo system will add the device to the system specified by the deviceId.
Request Body
{"deviceId"=>"Device MAC Address"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string |
RESPONSES
status: OK
{"_id":"636178633fe3bb06d32a5c10","deviceId":"de0366b789d8","archived":false,"assetName":"5G-de03","beaconType":"unknown","createdAt":1667332195543,"deviceType":"Tag","fixAsset":false,"groups":["GroupVehicleId"],"icon":"tagIcon","id":"de0366b789d8","isProvisioned":true,"organization":"assetflotest","protocol":"LTE","source":"API","status":"Active","updatedAt":1668181680559,"configurationId":"636d59c0e62bb0cdfd95076e","connectors":["DIG"],"isPush":true,"serialNo":"JU13214BA906","firmware":[{"firmwareId":"636d8f4ac51b3407c5ae05d1","protocol":"LTE","version":16},{"protocol":"BLE","version":3}],"noLocation":"used","geotabId":"b11","productId":10239}