cancel
Showing results for 
Search instead for 
Did you mean: 

Consume oDataModel with json data and post method

Former Member
0 Kudos

Hello,

I want to make a POST request with JSON data to the following URL:

http://localhost:8320/cstiparking/incloud_backend.svc/Floors

Headers:

Content-Type: application/json

Cookie: JSESSIONID=3073B356F4EEA53C8A02D867C860D9333FE2312418AC

Body JSON:

{

"Id_car_parking": 1,

"Id_floor": 1,

"Is_basement": "1",

"Status": "1",

"Text": "S1"

}

I get the following Error:

<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata"> <code/> <message xml:lang="en">"OData - JPA Runtime: JPA create request is not correct"</message> </error>

Please help.

Accepted Solutions (0)

Answers (0)