cancel
Showing results for 
Search instead for 
Did you mean: 

ODATA GET Issue with Postman

PGAKHAR
Explorer
0 Kudos
410

Error_ping.png

Hi Everyone,

Need your help on Below Query.

I Created Custom ODATA based on CDS ( with parameter ) on SAP S4 Private Cloud and able to execute or fetch result from gateway client and Browser. But if I am trying to Access same from Postman.( Need to use Same on CPI ).

I am getting Below Error.

Resource not found for segment '<CDSNAME>Type'.
 
Below is URL using on Postman.
GET
https://<server_details_port>/sap/opu/odata/sap/<CDS_Service>/<EntitySet>/(<list_of_paramaters_With_value_Sep_by_comma>
 
Any idea how to resolve this error?
 
Note: Correct Authentication is Maintained in Postman.
Only Encode URL Automatically and Automatically Follow Request settings are enabled. Rest all are disabled in postman including (SSL Certificate Verification).
Already tried to Load Meta Data Multiple times.
Metadata Fetching is working fine in Postman
 
Thanks,
PG

 

junwu
Active Contributor
0 Kudos
why not show the query url?
View Entire Topic
TuncayKaraca
Active Contributor

Hi Bodhisattwa,

I don't think there is a downcasting & upcasting here! You have a component / view / window attribute WD_CONTEXT (its type IF_WD_CONTEXT_NODE) that refers to your component / view / window context and this context has other nodes which has same type IF_WD_CONTEXT_NODE and by GET_CHILD_NODE returns this given name node.