Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Fetching Metadata along with Query/Get opertation

$
0
0

Hi All,

 

I have following questions.

1. I have a requirement to fetch Metadata of the Entity along with the GetEntity/EntitySet operation

Is there any way out for this? url service

/sap/opu/odata/SAP/ZTEST_FLIGHT_SRV/carrierSet?$metadata (This is giving only the fetched data I also need EDM details).

 

 

2. Metadata definition of the project gives all the details of EDM types in XML only, Is there any way to obtain the same data in Json format?

Url Service used

/sap/opu/odata/SAP/ZTEST_FLIGHT_SRV/?$metadata

tried using

/sap/opu/odata/SAP/ZTEST_FLIGHT_SRV/?$format=json (This gives only entityset details not the EDM details)

 

 

Please help me on this

 

 

Thanks

Vishnu


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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