Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
OpenAPI Testing Support
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Claus Näveke  
View profile  
 More options Feb 6 2012, 3:33 am
From: Claus Näveke <claus.naev...@daimler.com>
Date: Mon, 6 Feb 2012 00:33:45 -0800 (PST)
Local: Mon, Feb 6 2012 3:33 am
Subject: OpenAPI Testing Support
Hi all,

I just updated the OpenAPI Wiki for all V2.1 API calls: We introduced
a new testing functionality for all protected functions which allows
developers to test the API without requiring any special test
accounts.

Please let us know what you think of the testing mode!

Regards
Claus

PS: If you did not notice: Lyon and Duesseldorf just went live, so if
your app doesn't already support those cities it might be a good time
for an update ;-)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Kern  
View profile  
 More options Feb 6 2012, 5:06 am
From: Andreas Kern <andreask...@mac.com>
Date: Mon, 06 Feb 2012 11:06:36 +0100
Local: Mon, Feb 6 2012 5:06 am
Subject: Re: OpenAPI Testing Support
Hello Claus.

Thank you. This is a great tool for testing.

I have one question:
If I call the getBookings API request. The API will return me two bookings. One with a vehicle and one without. The value for the "vehicle" key is null in the second booking. I can remember that, the behavior of the 2.0 API was, that bookings without a vehicle didn't contain a "vehicle" key. Now there is a vehicle key with the value null. Was this behavior changed in the 2.1 API? Or is this a bug in the Testing API?

Greetings, Andreas.

Am 06.02.2012 um 09:33 schrieb Claus Näveke:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Claus Näveke  
View profile  
 More options Feb 7 2012, 12:22 pm
From: Claus Näveke <claus.naev...@daimler.com>
Date: Tue, 7 Feb 2012 09:22:48 -0800 (PST)
Local: Tues, Feb 7 2012 12:22 pm
Subject: Re: OpenAPI Testing Support
On 6 Feb., 11:06, Andreas Kern <andreask...@mac.com> wrote:

Hi Andreas,

> I have one question:
> If I call the getBookings API request. The API will return me two bookings. One with a vehicle and one without. The value for the "vehicle" key is null in the second booking. I can remember that, the behavior of the 2.0 API was, that bookings without a vehicle didn't contain a "vehicle" key. Now there is a vehicle key with the value null. Was this behavior changed in the 2.1 API? Or is this a bug in the Testing API?

Are you referring to the JSON or XML Output? For JSON the null value
should be there with or without test=1 (for long term booking which do
not yet have an vehicle assigned). For XML there should not be a
vehicle key if the value is null.
This is not realy a consistent behaviour between the JSON and the XML
output, but it should be consistent between test and non test
requests.

Claus


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andreas Kern  
View profile  
 More options Feb 9 2012, 7:58 am
From: Andreas Kern <andreask...@mac.com>
Date: Thu, 09 Feb 2012 13:58:26 +0100
Local: Thurs, Feb 9 2012 7:58 am
Subject: Re: OpenAPI Testing Support
Hi Claus.

Yes, I was talking about the JSON response. The last time I had the possibility to test the long term booking was with the 2.0 API. As I can remember the behavior was, that there wasn't a vehicle key. But it doesn't matter.
I found a bug in my code for the current API with the testing mode. So I want to thank you for this feature.

Regards, Andreas.

Am 07.02.2012 um 18:22 schrieb Claus Näveke:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »