How to understand /place/positions/trip/{vin} response ?

1 post / 0 new
psa@communiquons.org
How to understand /place/positions/trip/{vin} response ?

Hello,

I am developping a small web app that performs request on the Connected Car Development API.

I need to use the GET /place/positions/trip/{vin} method of the API to get the different coordinates of a trip of a car. However, when I tried to use the method I got an array of objects that looks like this :

[{
    "latitude": {
        "2": "46.31380",
        "7": "0.00000",
        "13": "0.00000",
        "19": "46.31383",
        ...
    },
    "longitude": {
        "2": "1.41693",
        "7": "0.00000",
        "13": "0.00000",
       ...
    },
    "altitude": {
        "1": "313",
        "19": "328",
        "25": "326",
        "31": "328",
        "37": "327",
        "43": "325",
        "49": "328",
        "55": "328"
    },
    "nbsat": {
        "19": 5,
        ...
    },
    "source": {
        "1": "2",
        "17": "2",
        ...
    },
    "vin": "VF73AAHXTHJ543470",
    "lastUpdate": "20170818175034",
    "contract": "633044901"
}, {
    "latitude": {
        "6": "46.31380",
        "12": "46.31380",
        "18": "46.31380",
        ...
    },
    "longitude": {
        "6": "1.41693",
        "12": "1.41693",
        "18": "1.41693",
        ...
    },
    "altitude": {
        "6": "328",
        "12": "328",
        "18": "328",
        ...
    },
    "nbsat": {
        "36": 4,
        "42": 9,
        ...
    },
    "source": {
        "6": "2",
        "12": "2",
        "18": "2",
        ...
    },
    "vin": "VF73AAHXTHJ543470",
    "lastUpdate": "20170818175114",
    "contract": "633044901"
}, ...

Longitude and latitude are not the same in each array entry, and I don't understand why. I also don't understand also why their are several array entries.

Thank you in advance for your help.