Hi Dilan, We will change this as necessary Thanks
On Mon, May 11, 2015 at 7:47 PM, Chathura Dilan <[email protected]> wrote: > Hi All, > > Currently in WSO2 MDM device list API (mdm-admin/devices/{userId}) > > Properties are getting as a objects in an array like following > > "properties": [ > { > "name": "imei", > "value": "310260043444000" > }, > { > "name": "imsi", > "value": "3102644300000" > }, > { > "name": "model", > "value": "Google Nexus 5" > }, > { > "name": "osVersion", > "value": "5.0" > }, > { > "name": "vendor", > "value": "Genymotion" > } > ] > > > This is cumbersome when searching for a value of a property, because it > needs be to looped through the whole array. Would be easy if it can be > presented as a whole object with key value pairs like follows > > "properties" : { > "imie" : "434243242432434", > "imsi" : "643534242424243", > "model" : "Google Nexus 5" > > } > > > > -- > Regards, > > Chatura Dilan Perera > *(Senior Software Engineer** - WSO2 Inc.**)* > www.dilan.me > -- Manoj Gunawardena Tech Lead WSO2, Inc.: http://wso2.com lean.enterprise.middleware Mobile : +94 77 2291643
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
