on 09-14-2017 7:09 AM
When I call the odata service in json format like below: http://xxx.xxx.xxx.xxx/xxx/xxx/odata/xxx/TEST_SERVICE/SocSet?$format=json).
during the answer it changes the entity set name from SocSet to SocCollection. In this odata I have created 3 entities set and when I call the service in json format it changes all the entities set names.
"results":[{"__metadata":{"id":"http://xxxxxxxx/xxx/xxx/odata/sap/TEST_SERVICE/SocCollection('0001')","uri":"http://xxxxxxxx/xxx/xxx/odata/sap/TEST_SERVICE/SocCollection('0001')","type":"TEST_SERVICE.Soc"},.........
One thing that I have notice is that when I have only one entity set and I call the service with json format it works. But in my case I have 3 entity set in one odata. I need the SocCollection to be SocSet()
When I use the format=xml it works fine.
User | Count |
---|---|
84 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.