curl --request POST \
--url https://sandbox.hurdlr.com/rest/v5/mileage/mileage \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: */*' \
--data '
{
"mileage": {
"distance": 123,
"id": 123,
"distanceType": "MILE",
"type": "PENDING",
"date": "2023-11-07T05:31:56Z",
"businessId": 123,
"clientId": 123,
"duration": 123,
"description": "<string>",
"startLat": 123,
"startLong": 123,
"endLat": 123,
"endLong": 123,
"startTime": "2023-11-07T05:31:56Z",
"customData": {}
}
}
'