Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SendNavigation endpoint #607

Open
jumpjack opened this issue Apr 28, 2022 · 0 comments
Open

SendNavigation endpoint #607

jumpjack opened this issue Apr 28, 2022 · 0 comments

Comments

@jumpjack
Copy link

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant