Yep, thats it. @scooter_seh I had kinda looked at implementing this which is why I was curious for the json dump. I figure you probably have this , if not or too busy, let me know I would be happy to help!
{
"MyQDeviceId": 909105,
"ParentMyQDeviceId": 871072,
"MyQDeviceTypeId": 3,
"MyQDeviceTypeName": "LampModule",
"RegistrationDateTime": "2014-09-22T23:53:54.09",
"SerialNumber": "CG0670811DAA",
"UserName": "..........",
"UserCountryId": 0,
"Attributes": [
{
"MyQDeviceTypeAttributeId": 135,
"Value": "True",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "online",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
},
{
"MyQDeviceTypeAttributeId": 14,
"Value": "201447270",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "gatewayID",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
},
{
"MyQDeviceTypeAttributeId": 21,
"Value": "Bedroom",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "desc",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
},
{
"MyQDeviceTypeAttributeId": 8,
"Value": "0",
"UpdatedTime": "1453821839165",
"IsDeviceProperty": false,
"AttributeDisplayName": "lightstate",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2016-01-26T15:23:59.1650846Z"
},
{
"MyQDeviceTypeAttributeId": 15,
"Value": "1411448034090",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "addedtime",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
},
{
"MyQDeviceTypeAttributeId": 98,
"Value": "CG0670811DAA",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "name",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
},
{
"MyQDeviceTypeAttributeId": 13,
"Value": "CG0670811DAA",
"UpdatedTime": "1411448034090",
"IsDeviceProperty": false,
"AttributeDisplayName": "customerName",
"IsPersistent": false,
"IsTimeSeries": false,
"IsGlobal": false,
"UpdatedDate": "2014-09-22T23:53:54.09"
}
],
"ChildrenMyQDeviceIds": "",
"UpdatedBy": "System",
"UpdatedDate": "2014-09-22T23:53:54.09",
"ConnectServerDeviceId": "234883416"
}