on 08-03-2015 5:54 PM
Hi,
I am trying to update the GCM registration id to SMP server by following REST method. but it's not getting updated.
PUT "https://{host name}/odata/applications/latest/{appid}/Connections({'mSmpAppConnId'})"
HTTP Headers:
"Content-Type" = "application/xml"
"XHTTP-METHOD" = "MERGE"
"Cookie"="cookies"
Body: <entry xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices" xmlns="http://www.w3.org/2005/Atom"><content type="application/xml"><m:properties><d:AndroidGcmRegistrationId>APA91bE8bWZw9_aXfv2JfeWL-gRjmxvzfuWYLCp-XaiqNt24dCjVZdz4emD8CeIqtlbTkErBauaJIXXXXXXXXXXXXXXXXXXXXX</d:AndroidGcmRegistrationId></m:properties></content></entry>
Getting 404 error ...
please help me in updating the gcm registartion id to backend using REST method.
Hi Sukesh,
Is there any specific reason on why you are not using Android/Kapsel SDK instead of using REST API?
If you use Android/Kapsel SDK you do not need to manually take care of this step.
Regards, Midhun
SAP Technology RIG
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.