on ‎2018 Jul 13 10:04 AM
Dear All,
How can we get the metadata of an oData from C4C in JSON format, Itried below way.
https://myxxxxxx.crm.ondemand.com/sap/c4c/odata/v1/c4codata/?$format=json
it only gives me the fieldnames and not its properties, if I check below URL,
https://myxxxxxx.crm.ondemand.com//sap/c4c/odata/v1/c4codata/$metadata
I get all the metadata with XML format and not in JSON , even if Pass parameter format=json , I get error unsupported content-type [application/xml].
did any1 have this issue?
Request clarification before answering.
Hi Dhruvin,
unfortunately there is no support for JSON formatting of the $metadata call. That is because of the CSDL format of the $metadata document, which does only support XML.
Best regards
Jürgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.