[Fiware-developer-experience] [Fiware/tutorials.TourGuide-App] Unexpected occupancyLevels date when retrieving a restaurany by date.

Jaisiel Santana jaisiel at gmail.com
Thu May 12 12:07:52 CEST 2016


Hi!

we have found an unexpected behaviour when we try to retrieve a restaurant
by date as specified at :
http://docs.tourguide.apiary.io/#reference/api-especification-for-tourguide/restaurant/get-restaurant-with-a-given-date

For example if we request:

GET
http://tourguide/api/orion/restaurant/Uriarte/date/2016-05-31T15:00:00.000Z

we get a response such as:

[
    {
        "@context": "http://schema.org",
        "@type": "Restaurant",
        "additionalProperty":
        [
            {
                "value": 80,
                "name": "capacity",
                "@type": "PropertyValue"
            },
            {
                "value": 0,
                "name": "occupancyLevels",
                "@type": "PropertyValue",
                *"timestamp": "2016-05-12T07:02:27.852Z"*
            }
        ],
   .........



We have noticed that the returned timestamp is the actual timestamp.

Regards,

FIWAREULPGC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20160512/9c94be89/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unexpected_occupancy_levels.png
Type: image/png
Size: 159343 bytes
Desc: not available
URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20160512/9c94be89/attachment.png>


More information about the Fiware-developer-experience mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy