Rides
About the Rides API
Endpoints
The Ride object
{
"id": "597d2186fff125a32fe9e315",
"createdTime": "2022-08-18T01:06:41.800Z",
"scheduledTime": "2022-08-18T01:10:16.000Z",
"pickup": {
"latitude": 42.483327,
"longitude": -76.49093299999998,
"address": "40 Catherwood Road, Ithaca, NY, United States"
},
"destination": {
"latitude": 42.434911,
"longitude": -76.49840599999999,
"address": "403 South Cayuga Street, Ithaca, NY, United States"
},
"service": {
"id": "578facccc5b9c32d51d87a46",
"name": "Sedan Luxury",
"description": "Luxury sedan cars for all types of rides.",
},
"rider": {
"id": "5218481c3c8d4def7f000028",
"firstName": "John",
"lastName": "Doe",
"email": "[email protected]",
"phoneNumber": "+12345678901"
},
"driver": {
"id": "5218481c3c8d4def7f000028",
"firstName": "Michael",
"lastName": "Jackson",
"email": "[email protected]",
"phoneNumber": "+12345678902"
},
"passengers": 1,
"reservationNumber": "RES-QWERT0",
"status": "completed",
"vehicle": {
"make": "Toyota",
"model": "Corolla",
"licensePlate": "808ZEL",
"color": "Blue",
"year": 2020
},
"externalId": "4251092660",
"paymentMethod": "credit"
}Create a ride
Create a new ride.
Amount of passengers on the ride.
2An external ID to associate the ride with an external system.
4251092660The date and time the ride was scheduled in ISO format.
2022-08-16T22:06:24.024ZThe payment method used to pay for the ride.
creditPossible values: The ride was created successfully.
Bad request.
Unauthorized.
Retrieve a ride
Retrieve a ride by its ID.
A unique identifier for the ride.
507f191e810c19729de860eaThe ride was retrieved successfully.
Unauthorized.
Not found.
Update a ride
Update a ride by its ID.
A unique identifier for the ride.
507f191e810c19729de860eaAmount of passengers on the ride.
2An external ID to associate the ride with an external system.
4251092660The date and time the ride was scheduled in ISO format.
2022-08-16T22:06:24.024ZThe payment method used to pay for the ride.
creditPossible values: The status of the ride.
scheduledThe ride was updated successfully.
Bad request.
Unauthorized.
Not found.
Last updated
Was this helpful?