8 Replies Latest reply on Aug 31, 2017 8:48 AM by Adam Macierzyński RSS
    pmishra-4 Explorer

    format of JSON for PUT method of geo type property

    Hi, I want to post lat long and height to loc property (field type geo). I am trying this


    URL :-localhost:8080/Thingworx/Things/liveVehicle/Properties/loc


    HEADERS :-


    rest_thing_api:e3c27605-2c66-40d6-b914-4a6bf57c1f33

    Userid:Administrator

    Password:admin

    Content-Type:application/json

    JSON

     

    {

          "lon": "104.211",

          "lat": "10220.030",

          "height": "0"

        }


    Please suggest correct format of jSON?