tripFeedback Endpoint
IQL program drivers are scored using two trip types, driver
or driving.
However, these trip types do not allow for a way for the driver to input if the trip was a false positive or if the user was a passenger.
The tripFeedback
API endpoint is used to mark the specific trip as invalid for the IQL program. The following constraints apply:
Trip feedback can be accepted for any trip within 7 days of the trip.
Feedback not accepted when the user is already qualified for an offer.
Feedback is accepted only for valid user and trip.
POST
https://iql.zendrive.com/iql/v1/driver/<driver_id>/trip/<trip_id>/feedback
Path Parameters
driver_id*
String
The unique identifier for a driver.
trip_id*
String
The unique identifier for a trip. The start timestamp of a trip in epoch milliseconds (the value is available via the driverTrips API)
Request Body
trip_type*
String
Accepted values: invalid
timestamp*
Integer
The epoch timestamp (in milliseconds) of driver's feedback.
{
// Response
}