Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8581

Getting primitive data types in ODATA Payload

$
0
0

Hi,

 

While calling create Operation using oData.create("/Employee", oEntry, null, function(oData, response){}, function(){}     );

I'm getting error that response is not in proper format.

While checking Payload contains edit_link_extensions like

edit_link_extensions":[{"name":"title","value":"Benefit","namespaceURI":null} which are not acceptable by ODATA.

 

It look like all metadata information is added to each property as below

"BonPreTaxCost":{"type":"Edm.String","extensions":[]}

 

Where it should be like

"BonPreTaxCost":


Can anyone please explain why edit_link_extensions, extensions are coming in Payload and how can I create payload without these extensions.


Thanks

Puneet


Viewing all articles
Browse latest Browse all 8581

Trending Articles



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