on 09-12-2014 9:52 AM
Hello,
from example request :
/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/Check_batch_and_cust?$format=json&WERK='ASJV'&PDATUM=''&CHARGE='140005'&MENGE=''&VORG=''
response json looks like this:
{"d":{"__metadata":{"id":"http://x:8000/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/CHECK_BATCH_AND_CUSTOMERSet(Charge='',Menge='',...'')","uri":"http://x:8000/sap/opu/odata/sap/ZQM_CONFIRMATION_SRV/CHECK_BATCH_AND_CUSTOMERSet(Charge='',Menge='',...'')","type":"ZQM_CONFIRMATION_SRV.CHECK_BATCH_AND_CUSTOMER"},"Charge":"","Menge":"","Pdatum":"","Vorg":"","Werk":"","Msg":"OK","Name1":"WIN-Warth GmbH","Name2":"","Status":"0"}}
I want to remove wrapper 'd'
Any ideas ?
regards
Lucas
no way you can not remove that "d" out of the response. better when you consume from your odata client(may be UI5), remove the "d" and use it.
Sree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Lukasz,
In my openion your json response will always be encapsulated in a standard structure/format as u have shared. I do not see any way u can remove ' d ' from the json response in GW level
Regards,
Ashwin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.