Update iOS Channel Configs
Description
This API would let you update the configurations of the iOS channel.
Requested Payload:
- enabled (true/false) - This key specifies if the channel status is enabled or not.
- sandbox_notifications - This key specifies the push notifications configuration for sandbox (development) SDK.
- enabled (true/false) - This key specifies if the sandbox notifications are enabled or not.
- production_notifications - This key specifies the push notifications configuration for production (published) SDK.
- enabled (true/false) - This key specifies if the production notifications are enabled or not.
OAuth Scope:
SalesIQ.apps.UPDATE
URL
Copiedhttps://{zohosalesiq_server_uri}/api/v2/{screen name}/apps/{app id}/channels/ios
Example
Copiedhttps://salesiq.zoho.com/api/v2/zylkerinc/apps/80000000007001/channels/ios
Payload
Copied{
"enabled" : true,
"sandbox_notifications": {
"enabled": "false"
},
"production_notifications": {
"enabled": "false"
}
}
Success Response
Copied{
"url": "/api/v2/zylkerinc/apps/80000000007001/channels/ios",
"object": "ios",
"data": {
"enabled" : true,
"modified_time": "1544727593110",
"creator": {
"name": "Patricia",
"id": "12000000000005"
},
"app_key": "CCZEg1uZCQuPut7ZbXERxR82P6TJbeZwJ1LMIHAv8VOIJpzW7OAw79eAgDM73k62gCtighj%2Br4DiBmbE0Fw4dxHIxDDbpfT0s1ksZQwfmvRRPjQTcttbNw%3D%3D",
"access_keys": [
{
"version": "1",
"enabled": true,
"key": "M%2F0j6UciVM12a5jKEcE7aWdybWdxAL%2BngXIYDn4XR9%2Fz5ueqsC6W2R1QGXoS%2BrgCb34Uj14qeYKOWpFnvEquzbRH%2BdXO8bqjPxTCTTwqqk45kd3PwbAnDm%2FlKmgdYwGAt%2FQb143hv0SvjjiohnVJKO1VXscvZsLxA60kv6YzdoEgOoYSYRU9TDU8nf%2BC9QPZ6FRcdw6vNCM%3D",
"uuid": "c2b4f0e5-23e7-45d7-917f-f4ac026feac2",
"creator": {
"name": "Patricia",
"id": "12000000000005"
},
"created_time": "1544727592700"
}
],
"bundle_name": "com.fashions.zylker",
"sandbox_notifications": {
"certificate": "",
"password": "",
"enabled": false,
"test_devices" : [
{
"mobileid":"32dc9100-86b1-11e9-a4ce-525400cfe65e",
"user_id":"$2407800830243248440",
"model":"iPhone"
}
]
},
"production_notifications": {
"certificate": "",
"password": "",
"enabled": false,
"test_devices" : [
{
"mobileid":"32dc9100-86b1-11e9-a4ce-525400cfe65e",
"user_id":"$2407800830243248440",
"model":"iPhone"
}
]
},
"components": [
"proactive",
"chat",
"faq",
"call"
],
"created_time": "1544727593110",
"bundle_id": "12000000022001",
"code": "c5b877106f5e58059556c2e687ebba44d317a14d4428fccd3d58cc1c1e308ed8",
"app_name": "Eleven"
}
}