3 Get Device List By User

Get the devices list of the user

Method

GET

API

https://iotdev.dialog.lk/axt-iot-mbil-instance0001001/apkios/axtitomblebckenddev/iotadmindev/device?user_id=yyy>

Headers

IotMife-AccessToken : Generated At the step 4.2/4.3
X-Key               : Generated At the step 4.4
Accept              : application/json
Content-Type        : application/json

Response

{
    "id": "1276",
    "deviceDefinitionId": ynt,
    "brand": "Dialog",
    "type": "GENERIC_DEVICE",
    "version": "v1",
    "device_category": "BOTH",
    "user_id": "yyy",
    "device_parent_id": "0",
    "mac_address": "87766565",
    "name": "new generic",
    "location": "",
    "location_id": "0",
    "additionalParams": {
        "macAddress": ""
    },
    "current_status": null,
    "featured": "N",
    "nonDeletable": false,
    "macAvailable": false
}
Last updated on 9th Mar 2018