You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@olingo.apache.org by "Neu, Dominik" <do...@sap.com> on 2016/05/12 09:04:21 UTC

Deep Create with Olingo

Hello,

I am working student in Walldorf and currently developing a prototype on the HCP as part of my bachelor thesis.
It is a Java8-Application including an Olingo-Service running in a Tomcat7 Container.

When trying to do a deep Create my Backend complains about the following error:
org.apache.olingo.odata2.jpa.processor.api.exception.ODataJPARuntimeException
"OData - JPA Runtime: JPA create request is not correct"
My request body looks like this:

{

               "Shipper":"ACME Widget GmbH",

               "Consignee":"HS RheinMain",

               "DangerousGoods": false,

               "Distance":"116.7",

               "Status":"Done",

               "StopDetails": [

                   {

                                            "StopName": "erster_Stop",

                                            "Location": "Walldorf",

                                            "Time": "16:00:00"

                   },

                   {

                                            "StopName": "zweiter_Stop",

                                            "Location": "Wiesbaden",

                                            "Time": "18:00:00"

                   }

               ]

}

Would be great if you'd have a hint for me. You can call me via Lync anytime :)

Thank a lot,
Dominik
--
Dominik Neu
Bachelor Student
Product Unit Transportation & Logistics
SAP SE
Dietmar-Hopp-Allee 16
D-69190 Walldorf/ Germany
T +49 6227 7-42127
M +49 176 416-55-999
mailto: dominik.neu@sap.com<ma...@sap.com>
www.sap.com<http://www.sap.com/>

Pflichtangaben/Mandatory Disclosure Statements: http://www.sap.com/company/legal/impressum.epx

Diese E-Mail kann Betriebs- oder Geschäftsgeheimnisse oder sonstige vertrauliche Informationen enthalten. Sollten Sie diese E-Mail irrtümlich erhalten haben, ist Ihnen eine Kenntnisnahme des Inhalts, eine Vervielfältigung oder Weitergabe der E-Mail ausdrücklich untersagt. Bitte benachrichtigen Sie uns und vernichten Sie die empfangene E-Mail. Vielen Dank.

This e-mail may contain trade secrets or privileged, undisclosed, or otherwise confidential information. If you have received this e-mail in error, you are hereby notified that any review, copying, or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal. Thank you for your cooperation.