[Fiware-lab-help] value mismatch

Yunior jrluis at fe.up.pt
Thu Oct 13 17:41:47 CEST 2016


Hi,

I am sending a POST request to 
http://orion.lab.fiware.org:1026/v2/entities/85/attrs?type=UrbansenseLocation 
in order to update *atime* and *bundle* attributes:

     {
     "atime":{
         "type":"Number",
         "value":1476370651},
     "bundle":{
         "type":"Number",
         "value":1}
     }

and a GET request to the same entity receives the following response:

     {
     "id": "85",
     "type": "UrbansenseLocation",
     "atime": {
         "type": "Number",
         "value": 1476370000,
         "metadata": {}
     },
     "bundle": {
         "type": "Number",
         "value": 1,
         "metadata": {}
     },
     //some other attributes
     }

Please, note the mismatch on the value field of the *atime* attribute!!! 
Why is such thing happening?


Thanks,


-- 
Yunior Luis Rojo,

Researcher at Instituto de Telecomunicações
Faculdade de Engenharia, Universidade do Porto.




More information about the Fiware-lab-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy