Hi! We are implementing the create reviews and create reservations functionalities from the front end, and some doubts related to the associated user have arisen. We follow the API specification for the devguide ( http://docs.devguide.apiary.io/#reference/api-especification-for-devguide/review ) and the request bodies of the examples do not contain information about the users. [See *no_undername_in_example.png*] We consulted the reservationsgenerations.js file and we deduce that the request body should be like: [See *create_reservation.png*] *{* * "@type": "FoodEstablishmentReservation",* * "partySize": 2,* * "reservationFor": {* * "@type": "FoodEstablishment",* * "name": "Elizalde"* * },* * "startTime": "2016-12-24T10:10:23.396Z",* * "underName":{* * "@type":"Person",* * "name":"user10"* * }* *}* At this point we can create the reservation but without an associated user. If we retrieve the reservations we get: [See *reservation_without_undername.png*] *{"@context":"http://schema.org <http://schema.org/>","@type":"FoodEstablishmentReservation","partySize":2,"reservationFor":{"@type":"FoodEstablishment","name":"Elizalde","address":{"streetAddress":"Cuesta de las Cabras Aldapa 2","addressRegion":"Araba","addressLocality":"Alegría-Dulantzi","postalCode":"01240","@type":"postalAddress"}},"reservationStatus":"Pending","startTime":"2016-12-24T10:10:23.396Z","underName":{"@type":"Person"},"reservationId":"Elizalde-418lRljWe"}* We have experimented the same issues creating reviews. What are we doing wrong? Regards ULPGC Team -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151029/fa9ede83/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: create_reservation.png Type: image/png Size: 103923 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151029/fa9ede83/attachment.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: no_undername_in_example.png Type: image/png Size: 77059 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151029/fa9ede83/attachment-0001.png> -------------- next part -------------- A non-text attachment was scrubbed... Name: reservation_without_undername.png Type: image/png Size: 228802 bytes Desc: not available URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151029/fa9ede83/attachment-0002.png>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy