Quantcast
Channel: SCN : All Content - SAP HANA Cloud Platform Developer Center
Viewing all articles
Browse latest Browse all 3285

Problems when posting a new Entity from UI5 to XSOData Service

$
0
0

Hi,

 

I am trying to add a new Entity by posting it from ui5 to the corresponding xsodata service in hana cloud. Sadly I get the error "Request contains properties that do not exist in entity" as shown in the screenshot.

 

The Entity City is defined as follows:

 

Entity City{

       key CITYID: Integer;

       NAME: Types.StdString;

       ZIPCODE: Integer;

       STATEABBREVIATION: Types.StdString;

       COUNTRY: Association to Country;

};

 

The Type City is defined as follows:

 

type City {

            CITYID: Integer;

            NAME: Types.StdString;

            ZIPCODE: Integer;

            STATEABBREVIATION: Types.StdString;

            COUNTRY: Integer;

};

 

I tried to add it like i did before with another Entity, where I didn't get any errors. The only difference is the association.Can you Help me? Do you need further informations?

 

Best regards,

Juergen


Viewing all articles
Browse latest Browse all 3285

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>