renault-api icon indicating copy to clipboard operation
renault-api copied to clipboard

SendNavigation endpoint

Open jumpjack opened this issue 3 years ago • 0 comments

I don't know if this is already known, anyway I just successfully reverse-engineered SendNavigation endpoint:

actions/send-navigation

{
    "data": {
        "type": "SendNavigation",
        "attributes": {
            "downloadTrafficInfo": false, // true/false or 0/1
            "destinations": [ // Server note: "size must be between 1 and 5"
                {
                    "id": 1,  // Server note: "must be between 1 and 5"
                    "latitude": 42,
                    "longitude": 12,
                    "calculationCondition": 0  //  (Server notes: "must be between 0 and 3") (Probably "shorter", "faster", "eco",...)
                }
            ]
            }
        }
    }
}

Not yet checked what happened onboard...

jumpjack avatar Apr 28 '22 12:04 jumpjack