Re: "free" vehicles does not account for booked vehicle

56 views
Skip to first unread message

Claus Näveke

unread,
May 6, 2013, 5:14:49 AM5/6/13
to car2go-...@googlegroups.com

Am Donnerstag, 2. Mai 2013 00:34:29 UTC+2 schrieb sweng....@gmail.com:
Hello
Hi

I am a simple car2go user, I don't make bookings.

However I do use the public API, and use google maps to execute a search / query to obtain "available" vehicles.

A few weeks ago did a query, found an available vehicle nearby.  When I walked up to the vehicle and tried to gain access, I was not permitted because "vehicle reserved".
 
Looks like kind of a race condition: Reserved vehicles are not included in the OpenAPIs free vehicles list. Your observation could be a result of one (or a combination of both) of the following reasons:
* Our list of free vehicles is cached for about one minute. If you book a vehicle and look at the vehicle list a few seconds afterwards you will most probably still find your vehicle in the list
* The vehicle could have been been booked by another user after you looked at the OpenAPI - So it might have been a bad timing.
 
Claus
Reply all
Reply to author
Forward
0 new messages