on 06-11-2018 3:17 PM
Hello experts,
First of all, I hope I'm clear enough.
In "Mobile Service for Development and Operations" on SCP, we have a custom native/hybrid application. In this application, we have a list of user registrations with tokens (APNS device token, Android GCM Registration ID, BlackBerry Device Pin).
We would like to retrieve these tokens from our SAP ECC back-end but I did not find any suitable API I could use. I checked the "APIs" tab of the application but none of them seems to relevant. Do you know if there is one? If yes, where can I find it? If no, do you know an other way to get this tokens from an other SAP system (in our case SAP ECC)?
Thank you in advance for your help.
Regards,
Maurin
We would like to retrieve these tokens from our SAP ECC back-end
I am not sure what exactly you are looking for ?
You will receive Android GCM Registration ID, APNS Device Token etc once app is registered with Push provider respectively (of course, after user is on-boarded on SAP CP Mobile Services). These values are stored in Mobile Services for that particular user registration and can be retrieved by making a GET call to application on-boarding URL
e.g. https://hcpms-pxxxxtrial.hanatrial.ondemand.com/odata/applications/v4/com.sap.demo/Connections('appid')
Header:
X-SMP-APPCID : appid
Regards
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello JK,
Thank you for your very quick answer.
Indeed, ideally, we would like to make a GET with the user name of the user registration.
When I call the following URL with registration ID as appid, it is working but only for registration ID linked to my user name. For all others registrations ID, I have a 403 error (The registered user for application connection doesn't match the user). Have I missed something? And do you know if it is possible to filter on field "User Name"?
Thank you in advance for your help.
Regards,
Maurin
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.