blian3 / car2go

Automatically exported from code.google.com/p/car2go
0 stars 0 forks source link

Get bookings or create bookings returns NULL with test=1 #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Stepts to reproduce:
1. Get a valid access_token
2. Perform a GET request call 
https://www.car2go.com/api/v2.1/bookings?format=json&loc=Hamburg&oaut....&test=1

Expected output would be at least an operation succesfull 0 with an empty array 
of bookings, that I can see without the test=1. With test=1 I don't get any 
answer, it is just NULL. If I use an invalid loation or omit the loc parameter, 
I get an "Location invalid" with test=1.

The same also occurs when I try to create a booking. I can get the two test 
accounts and when I try to create a booking with a valid VIN and the accountId, 
the result is just empty.

Original issue reported on code.google.com by gloe.sas...@gmail.com on 13 May 2012 at 8:46