Created
February 24, 2021 17:53
-
-
Save davixz/7611e643be46dac092dcada579aa5411 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REQUEST | |
estimate( | |
shopId: 10, | |
packagesDestination: [ | |
{ | |
lat: -23.5025491, | |
lng: -46.69607400000001 | |
} | |
] | |
chargeMethod: 1, | |
optimize: true | |
) | |
RESPONSE | |
{ | |
"data": { | |
"estimate": { | |
"packages": [ | |
{ | |
"error": null, | |
"eta": 1552, | |
"index": 1, | |
"rideCm": 21.84, | |
"outOfCityCover": false, | |
"outOfCoverageArea": true, | |
"originalIndex": 1, | |
"waypoint": { | |
"indexDisplay": "B", | |
"role": "ra" | |
} | |
} | |
], | |
"routeOptimized": false, | |
"normal": { | |
"cost": 21.84, | |
"distance": 7504, | |
"eta": 1852 | |
}, | |
"optimized": { | |
"cost": 21.84, | |
"distance": 7504, | |
"eta": 1852 | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment