Hi Joe!
Add {deviceid} to URL. REST Service address will look like following:
codehttps://api.tiggzi.com/rest/push/reg/channel/A/7cf54281-5407-4821-a8e8-783958ec1f0e/{deviceid}/code
Hi Joe!
Add {deviceid} to URL. REST Service address will look like following:
codehttps://api.tiggzi.com/rest/push/reg/channel/A/7cf54281-5407-4821-a8e8-783958ec1f0e/{deviceid}/code
Hi Katya,
Not exactly sure where to set the URL in GetChannels as you describe the settings in the service look like:
Do I change the URL here from {service_url}/{appType}/{guid}/{deviceId} to https://api.tiggzi.com/rest/push/reg/...
The URL within settings looks like:
https://api.tiggzi.com/rest/push/reg/...
Regards,
Joe
Hello! In service URL on your screenshot there is a {deviceId} (note that Id starts with a upper-case letter) and your request parameter is deviceid where "Id" starts with lowercase letter. Please change your request parameter to deviceId.
Sorry, could you send us screenshots with updated service settings for GetChannels service, Request parameters section and screenshot with Settings service
Thank's. I'll update
Hello!
Error 404 appeared because you don't have your device registered.
You can register it via Rest Service:
http://docs.tiggzi.com/tutorials/send...
Hi Katya,
Thank you for the update. I have the register device service added to the page it is configured exactly like the example but with the correct GUID in the URL. In reply to another question you describe the parameters required as:
Request parameters:
guid: project GUID looks like "1be1131b-5b02-4244-ac30-74868af5db5d"
appType: "A" for Android, "I" for iOS
deviceId: ID of device
token: can't be empty, any symbols are allowed
The tutorial mentions only two the deviceid and the token. What is the correct method to use?
Do I need to add the deviceid to the deviceid variable with custom javascript?
Thanks for your assistance,
Joe
Device ID is stored in localStorage variable "pushNotificationDeviceID". It is created automatically when run on the device.
You need to create localStorage variable for being used in mapping.
Also there is "pushNotificationToken" variable - it's used as a "token" request parameter value.
Hi Katya,
I have attempted to setup registerDevice as outlined below when trialed on the device I get an error! Will you please advice me on the settings.
The url is set as https://api.tiggzi.com/rest/push/reg/...
The mapping on the service is:
Regards,
Joe