Rides
About the Rides API
The EverTransit Rides API allows you to create and update a ride, as well as retrieve the details of an existing one. To make your requests, you can use the endpoints and their methods listed below.
Endpoints
The Ride object
Attributes
Name | Type | Description |
---|---|---|
id | string | A unique identifier for the ride. |
createdTime | string | The date and time the ride was created in ISO format. |
scheduledTime | string | The date and time the ride was scheduled in ISO format. |
pickup | object | Information about the pickup of the ride. For example, latitude, longitude, and address. |
destination | object | Information about the destination of the ride. For example, latitude, longitude, and address. |
service | object | Information about the service level of the ride. For example, name and description. |
rider | object | Information about the rider of the ride. For example, first name, last name, email, and phone number. |
driver | object | Information about the driver of the ride. For example, first name, last name, email, and phone number. |
passengers | string | Amount of passengers on the ride. |
reservationNumber | string | The reservation number to identify the ride. |
status | string | The status of the ride. |
vehicle | object | Information about the vehicle of the ride. For example, make, model, license plate, color, and year. |
paymentMethod | enum | The payment method used to pay for the ride. It can be one of the followings: credit, cash, external, or invoice. |
externalId | string | An external ID to associate the ride with an external system. |
Create a ride
Create a ride.
Create a new ride.
The data to create the ride.
Amount of passengers on the ride.
2
An external ID to associate the ride with an external system.
"4251092660"
The date and time the ride was scheduled in ISO format.
"2022-08-16T22:06:24.024Z"
The payment method used to pay for the ride.
"credit"
The ride was created successfully.
A unique identifier for the ride.
"5f886c22fe5dd800318f809j"
The date and time the ride was scheduled in ISO format.
"2022-08-16T22:06:24.024Z"
The date and time the ride was created in ISO format.
"2022-08-16T22:06:24.024Z"
Amount of passengers on the ride.
2
The reservation number to identify the ride.
"RES-1QW2E3"
The status of the ride.
"scheduled"
An external ID to associate the ride with an external system.
"4251092660"
The payment method used to pay for the ride.
"credit"
API playground for creating a ride
Retrieve a ride
Retrieve a ride.
Retrieve a ride by its ID.
A unique identifier for the ride.
"507f191e810c19729de860ea"
The ride was retrieved successfully.
A unique identifier for the ride.
"5f886c22fe5dd800318f809j"
The date and time the ride was scheduled in ISO format.
"2022-08-16T22:06:24.024Z"
The date and time the ride was created in ISO format.
"2022-08-16T22:06:24.024Z"
Amount of passengers on the ride.
2
The reservation number to identify the ride.
"RES-1QW2E3"
The status of the ride.
"scheduled"
An external ID to associate the ride with an external system.
"4251092660"
The payment method used to pay for the ride.
"credit"
API playground for retrieving a ride
Update a ride
Update a ride.
Update a ride by its ID.
A unique identifier for the ride.
"507f191e810c19729de860ea"
The data to update the ride.
Amount of passengers on the ride.
2
An external ID to associate the ride with an external system.
"4251092660"
The date and time the ride was scheduled in ISO format.
"2022-08-16T22:06:24.024Z"
The payment method used to pay for the ride.
"credit"
The status of the ride.
"scheduled"
The ride was updated successfully.
A unique identifier for the ride.
"5f886c22fe5dd800318f809j"
The date and time the ride was scheduled in ISO format.
"2022-08-16T22:06:24.024Z"
The date and time the ride was created in ISO format.
"2022-08-16T22:06:24.024Z"
Amount of passengers on the ride.
2
The reservation number to identify the ride.
"RES-1QW2E3"
The status of the ride.
"scheduled"
An external ID to associate the ride with an external system.
"4251092660"
The payment method used to pay for the ride.
"credit"
Last updated