Last active
April 16, 2024 18:41
-
-
Save ddfont/2f21146df6ca87ec363af3f1fa166ad3 to your computer and use it in GitHub Desktop.
SPLV manual test
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: | |
{ | |
// Hamlin Liu (employee) | |
"dasherId": 16079532, | |
// Adak, Alaska | |
"lat": 51.8685636, | |
"lng": -176.6392757, | |
"isDasherPreferenceEnabled": true | |
} | |
Response: Prod (Before bug fix) | |
{ | |
"response": [ | |
{ | |
"startingPointId": 217, | |
"isOutsideDasherCurrentMarket": true, | |
"upcomingBoosts": [], | |
"startingPoint": { | |
"id": 0, | |
"consumerOrderOpenPad": 0, | |
"consumerOrderClosePad": 0, | |
"marketId": 0, | |
"submarketId": 0, | |
"name": "AK: Adak", | |
"shortname": "", | |
"ratePerDelivery": 0, | |
"idealFlfs": "" | |
}, | |
"location": { | |
"lat": 51.795746, | |
"lng": -176.7601 | |
}, | |
"encodedPolyline": [ | |
"iam|Hfskw`@kaEskh@csB}yYaf@u{Zl|FunRpkIrcAtgKjuQpiDhuQ|FzMfhAaHfTvN~tMmcZrzRogM`yIj}i@jjSkhCvi@rm|@oNzcSmw}AomB" | |
], | |
"vehicleDashStatus": { | |
"1": { | |
"busyness": "NORMAL", | |
"panelText": {}, | |
"suggestedShifts": [], | |
"displayItems": [], | |
"earningsModeList": [ | |
{ | |
"id": "ORDER_MODE", | |
"heatmapPolygonColor": { | |
"fillColor": "PINK_FILL", | |
"strokeColor": "PINK_STROKE" | |
} | |
}, | |
{ | |
"id": "TIME_MODE", | |
"heatmapPolygonColor": { | |
"fillColor": "PINK_FILL", | |
"strokeColor": "PINK_STROKE" | |
} | |
} | |
] | |
} | |
}, | |
"isSelectedByDasherPreference": false, | |
"commuteToDash": { | |
"isCommutable": true, | |
"maxAutoAssignMeters": 3218, | |
"isCommutableV2": true, | |
"maxAutoAssignMetersV2": 0, | |
"isCommutableHome": true, | |
"maxAutoAssignMetersHome": 0 | |
}, | |
"highQualityHighPay": { | |
"highQualityHighPayEnabled": false | |
}, | |
"timeMode": { | |
"isEnabled": true, | |
"hourlyPayMonetaryFields": { | |
"unitAmount": 1175, | |
"currency": "USD", | |
"displayString": "$11.75", | |
"decimalPlaces": 2, | |
"sign": true, | |
"symbol": "$" | |
}, | |
"isCapAvailable": true | |
} | |
} | |
], | |
"dasherMarketId": 15 | |
} | |
Response: Sandbox (After bug fix) | |
{ | |
"response": [ | |
{ | |
"startingPointId": 217, | |
"isOutsideDasherCurrentMarket": true, | |
"upcomingBoosts": [], | |
"startingPoint": { | |
"id": 0, | |
"consumerOrderOpenPad": 0, | |
"consumerOrderClosePad": 0, | |
"marketId": 0, | |
"submarketId": 0, | |
"name": "AK: Adak", | |
"shortname": "", | |
"ratePerDelivery": 0, | |
"idealFlfs": "" | |
}, | |
"location": { | |
"lat": 51.795746, | |
"lng": -176.7601 | |
}, | |
"encodedPolyline": [ | |
"iam|Hfskw`@kaEskh@csB}yYaf@u{Zl|FunRpkIrcAtgKjuQpiDhuQ|FzMfhAaHfTvN~tMmcZrzRogM`yIj}i@jjSkhCvi@rm|@oNzcSmw}AomB" | |
], | |
"vehicleDashStatus": { | |
"1": { | |
"busyness": "NORMAL", | |
"panelText": {}, | |
"suggestedShifts": [], | |
"displayItems": [], | |
"earningsModeList": [ | |
{ | |
"id": "ORDER_MODE", | |
"heatmapPolygonColor": { | |
"fillColor": "PINK_FILL", | |
"strokeColor": "PINK_STROKE" | |
} | |
}, | |
{ | |
"id": "TIME_MODE", | |
"heatmapPolygonColor": { | |
"fillColor": "PINK_FILL", | |
"strokeColor": "PINK_STROKE" | |
} | |
} | |
] | |
} | |
}, | |
"isSelectedByDasherPreference": true, | |
"commuteToDash": { | |
"isCommutable": true, | |
"maxAutoAssignMeters": 3218, | |
"isCommutableV2": true, | |
"maxAutoAssignMetersV2": 0, | |
"isCommutableHome": true, | |
"maxAutoAssignMetersHome": 0 | |
}, | |
"highQualityHighPay": { | |
"highQualityHighPayEnabled": false | |
}, | |
"timeMode": { | |
"isEnabled": true, | |
"hourlyPayMonetaryFields": { | |
"unitAmount": 1175, | |
"currency": "USD", | |
"displayString": "$11.75", | |
"decimalPlaces": 2, | |
"sign": true, | |
"symbol": "$" | |
}, | |
"isCapAvailable": true | |
} | |
} | |
], | |
"dasherMarketId": 15 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment