Thanks Jitendra!
We were able to get this working. We did have to supply the x-smp-appcid in the header.
Hello Jay,
Do you still see same issue occuring to you?
Well, please understand that when you got a new application ID in SAP CP mobile services, you need to register user (+device+deviceType) against it. It follows below URL with a POST call
https://hcpms- trial.hanatrial.ondemand.com/odata/applications/v4/com.test.hcpms/Connections
on successful, you should see a 201 success code with x-smp-appcid value in response body.
To get backend resources, you need to make a GET call, it follows below URL
https://hcpms- trial.hanatrial.ondemand.com/com.test.hcpms
(also x-smp-appcid value in header section)
Note: You still have to use OData V2 in backend URL (northwind).
I would recommend you to check this blog for more details: https://blogs.sap.com/2014/07/01/smp3-rest-api-application-development/
Regards,
Jitendra
Add comment