Closed uri-jeff closed 4 weeks ago
Hey,
About your point #2, Can you clarify how would you do that? What endpoint would you use to generate fake rides, and drivers status to test ? @OmerGery
@6ewis you have a few options here:
You can activate a few drivers that will accept rides in the staging env, and complete rides through the env:
Through API
I was able to update the status of the driver through updating Stop points, thanks for clarifying
One more question regarding ride tracking: Is there a way to simulate the driver's location so I can see the driver moving to the pickup and drop-off points? and through which API can I get the driver's location - in real time?
Thanks @michalbanin
@michalbanin @OmerGery Can you please take a look? Also, can I update the status of stop points to "arrived"? Currently I can only update -> "completed" through admin panel
Unfortunately there is no way to simulate a driver's real time location in the staging env. In your testing env (production) we can activate fake drivers that will move around and simulate drivers completing rides. When completing rides through the Control Center, you can only complete and not mark arrived.
@michalbanin basically we have to go back to use the production environment to test
Only if you want to simulate real time location Another option is to connect as drivers to the staging env and complete trips through the driver app (and move around with the app). How to do this:
@uri-jeff just wanted to update- you can update a stop point to "arrived" via API - post: https://control.autofleet.io/api/v1/vehicles/xxxxxx/stop-points/yyyyyy/arrived xxxxxx= vehicleId yyyyyy= stopPointId
Hi Team,
After I create a Ride from Passenger, how can I update the status from Driver: accepted/rejected/ completed a ride? I checked the Driver related settings on the control panel but didn’t see it, Can we update this through API? any details regarding this?
Thanks Team,