{"__v":1,"_id":"57dbbcbaf4da530e00b3b596","category":{"__v":17,"_id":"5540ce1c31827a0d007ab1d0","pages":["5540ce1d31827a0d007ab1d2","5540ff9dbb9e762d00f59557","554109205cf9682100d61b65","554109c35cf9682100d61b6b","55a635b6249a40190051d9a2","55bb5de0a8400c2d00873e19","55bb5f4174f10a0d002209a2","55bb607374f10a0d002209a6","55bb614f7313650d00c46e88","55bb61d8a8400c2d00873e20","55bb629874f10a0d002209aa","55bb6318a8400c2d00873e23","55bb63a07313650d00c46e8a","55d5dc84988e130d000b4110","5620b53d40e2c30d0002a848","567cfe57221af70d00fc5498","567d01fd221af70d00fc549c"],"project":"5540ce1b31827a0d007ab1cc","version":"5540ce1c31827a0d007ab1cf","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-04-29T12:27:08.888Z","from_sync":false,"order":1,"slug":"remote-api","title":"Remote API"},"parentDoc":null,"project":"5540ce1b31827a0d007ab1cc","user":"567bb6833241c20d00b730db","version":{"__v":31,"_id":"5540ce1c31827a0d007ab1cf","project":"5540ce1b31827a0d007ab1cc","createdAt":"2015-04-29T12:27:08.390Z","releaseDate":"2015-04-29T12:27:08.390Z","categories":["5540ce1c31827a0d007ab1d0","5540d91bbb9e762d00f594ad","5540e5f131827a0d007ab212","5540e5febb9e762d00f594d3","5540e61331827a0d007ab213","5540e6195cf9682100d61afa","5540e62631827a0d007ab214","5540e63031827a0d007ab215","5540e63531827a0d007ab216","5540e63e5cf9682100d61afc","5540e6445cf9682100d61afd","5540e64a5cf9682100d61afe","55a4ff5b2e70c0250038050f","55acb28318eefd0d0071d504","55ae1abe8576b92300291c80","55ae453ef302af23000ac109","55af586d555b900d0036d296","55af91dac8a85321007a53c3","55b9fee204775a2f00628071","55b9ff0e04775a2f00628072","55b9ff4604775a2f00628073","55b9ff5fd72d1e1900276a38","55b9ff7f04775a2f00628074","55b9ff90eb08801900f833e5","55b9ffa5d72d1e1900276a39","55b9ffca04775a2f00628075","55b9fffdd72d1e1900276a3a","56bc2f033ee9e70d008b46af","56c2f6efbbf9ec2d00e0fe4f","57595bbb18760817001e8bbe","57d8d9793916800e003dde53"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"updates":["57e4fef0f3d7fc0e009c509b"],"next":{"pages":[],"description":""},"createdAt":"2016-09-16T09:34:50.908Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":36,"body":"[block:callout]\n{\n  \"type\": \"success\",\n  \"title\": \"Enterprise API\"\n}\n[/block]\nConfigures application on the account. There are separate requests for auto- and manual configuration.\n\n## **Manual configuration**\n\n## Request\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\", // 1 - ios, 2 - blackberry, 3 - android, 5 - windows phone, 7 - osx, 8 - windows, 9 - amazon, 10 - safari\\n    \\\"ios_key_management_type\\\":\\\"manual\\\", // \\\"manual\\\" (one step) | \\\"auto\\\" (few steps)\\n    \\\"ios_key_file\\\": \\\"MIIMY...BAQ==\\\", // base64-encoded iOS key file content\\n    \\\"ios_key_password\\\": \\\"password\\\",\\n    \\\"ios_gateway\\\": \\\"1\\\", // \\\"0\\\" (sandbox) | \\\"1\\\" (production)\\n    \\\"ios_framework\\\": \\\"native\\\" // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\": {\\n    \\\"providers\\\": {\\n      \\\"ios\\\": true,\\n      \\\"android\\\": false,\\n      \\\"wp7\\\": false,\\n      \\\"macos\\\": false,\\n      \\\"blackberry\\\": false,\\n      \\\"wns\\\": false,\\n      \\\"adm\\\": false,\\n      \\\"safari\\\": false\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n\n## **Auto configuration**\n\n**Step 1** \nCreate the app and provide the Apple ID information.\n\n## Request \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\",\\n    \\\"ios_key_management_type\\\":\\\"auto\\\",\\n    \\\"step\\\":\\\"1\\\",\\n    \\\"ios_apple_id\\\":\\\"xxx:::at:::xxxxx.xxx\\\",\\n    \\\"ios_apple_password\\\":\\\"xxxxxx\\\",\\n    \\\"ios_framework\\\": \\\"native\\\" // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\": {\\n    \\\"step_data\\\": {\\n      \\\"teams\\\": {\\n        \\\"12345ABCDE\\\": {\\n          \\\"name\\\": \\\"Pushwoosh team\\\",\\n          \\\"memberid\\\": \\\"XXXXXXXXXX\\\"\\n        }\\n      },\\n      \\\"step\\\": 2 // proceed to step 2\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n**Step 2** \nSelect the Team ID.\n\n## Request \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\",\\n    \\\"ios_key_management_type\\\":\\\"auto\\\",\\n    \\\"step\\\":\\\"2\\\",\\n    \\\"ios_apple_id\\\":\\\"xxx@xxxxx.xxx\\\",\\n    \\\"ios_apple_password\\\":\\\"xxxxxx\\\",\\n    \\\"ios_framework\\\": \\\"native\\\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n    \\\"team_id\\\":\\\"12345ABCDE\\\"\\n }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\": {\\n    \\\"step_data\\\": {\\n      \\\"appids\\\": [\\n        {\\n          \\\"appIdId\\\": \\\"67890FGHIJ\\\",\\n          \\\"name\\\": \\\"My Application\\\",\\n          \\\"appIdPlatform\\\": \\\"ios\\\",\\n          \\\"prefix\\\": \\\"12345ABCDE\\\",\\n          \\\"identifier\\\": \\\"com.xxxxxxx.xxxxxxx\\\",\\n          \\\"isWildCard\\\": false,\\n          \\\"isDuplicate\\\": false,\\n          \\\"features\\\": {\\n            \\\"push\\\": true,\\n            \\\"iCloud\\\": false,\\n            \\\"inAppPurchase\\\": true,\\n            \\\"gameCenter\\\": true,\\n            \\\"XXXXXXXXXX\\\": false,\\n            \\\"passbook\\\": false,\\n            \\\"YYYYYYYYYY\\\": false,\\n            \\\"dataProtection\\\": \\\"\\\"\\n          },\\n          \\\"enabledFeatures\\\": [\\n            \\\"push\\\",\\n            \\\"inAppPurchase\\\",\\n            \\\"gameCenter\\\"\\n          ],\\n          \\\"isDevPushEnabled\\\": false,\\n          \\\"isProdPushEnabled\\\": true\\n        },\\n        ...\\n      ],\\n      \\\"step\\\": 3 // proceed to step 3\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n**Step 3** \nSelect the App Id.\n\n## Request\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\",\\n    \\\"ios_key_management_type\\\":\\\"auto\\\",\\n    \\\"step\\\":\\\"3\\\",\\n    \\\"ios_apple_id\\\":\\\"xxx@xxxxx.xxx\\\",\\n    \\\"ios_apple_password\\\":\\\"xxxxxx\\\",\\n    \\\"ios_framework\\\": \\\"native\\\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n    \\\"team_id\\\":\\\"12345ABCDE\\\",\\n    \\\"appid\\\":\\\"67890FGHIJ\\\"\\n }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\": {\\n    \\\"step_data\\\": {\\n      \\\"step\\\": 4 // proceed to step 4\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n**Step 4** \nSelect the *apns_type*. Configure the app for Dev or Prod.\n\n## Request\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\",\\n    \\\"ios_key_management_type\\\":\\\"auto\\\",\\n    \\\"step\\\":\\\"4\\\",\\n    \\\"ios_apple_id\\\":\\\"xxx@xxxxx.xxx\\\",\\n    \\\"ios_apple_password\\\":\\\"xxxxxx\\\",\\n    \\\"ios_framework\\\": \\\"native\\\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n    \\\"team_id\\\":\\\"12345ABCDE\\\",\\n    \\\"appid\\\":\\\"67890FGHIJ\\\",\\n    \\\"apns_type\\\": \\\"0\\\" // \\\"0\\\" - configure certificate for Development | \\\"1\\\" - configure certificate for Production\\n }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\": {\\n    \\\"step_data\\\": {\\n      \\\"appIdProfiles\\\":[\\n        {\\n          \\\"profileId\\\":\\\"KLMNOPQRS1\\\",\\n          \\\"name\\\":\\\"iOS Team Provisioning Profile: com.xxxxx.xxxxx\\\"\\n        },\\n        {\\n          \\\"profileId\\\":\\\"KLMNOPQRS2\\\",\\n          \\\"name\\\":\\\"XXXXXXX\\\"\\n        }\\n      ],\\n      \\\"certificates\\\": [\\n        {\\n          \\\"value\\\": \\\"PY986727N9\\\",\\n          \\\"name\\\": \\\"Developer (Expiry Feb 13, 2016)\\\"\\n        }\\n      ],\\n      \\\"step\\\": 5 // proceed to step 5\\n    }\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n**Step 5** \nSelect the certificate and provisioning profile.\n\n## Request \n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"request\\\":{\\n    \\\"auth\\\":\\\"API_ACCESS_TOKEN\\\",\\n    \\\"application\\\":\\\"APPLICATION_CODE\\\",\\n    \\\"device_type\\\":\\\"1\\\",\\n    \\\"ios_key_management_type\\\":\\\"auto\\\",\\n    \\\"step\\\":\\\"5\\\",\\n    \\\"ios_apple_id\\\":\\\"xxx@xxxxx.xxx\\\",\\n    \\\"ios_apple_password\\\":\\\"xxxxxx\\\",\\n    \\\"ios_framework\\\": \\\"native\\\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\\n    \\\"team_id\\\":\\\"12345ABCDE\\\",\\n    \\\"appid\\\":\\\"67890FGHIJ\\\",\\n    \\\"apns_type\\\": \\\"0\\\",\\n    \\\"auto_update_profile\\\":\\\"1\\\", // \\\"0\\\" - manual profile update | \\\"1\\\" - auto profile update\\n    \\\"profile\\\":\\\"KLMNOPQRS2\\\",\\n    \\\"certificate\\\" : \\\"PY986727N9\\\"\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]\n## Response\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"{\\n  \\\"status_code\\\": 200,\\n  \\\"status_message\\\": \\\"OK\\\",\\n  \\\"response\\\":{\\n    \\\"providers\\\":{\\n      \\\"ios\\\":true,\\n      \\\"android\\\":false,\\n      \\\"wp7\\\":false,\\n      \\\"macos\\\":false,\\n      \\\"blackberry\\\":false,\\n      \\\"wns\\\":false,\\n      \\\"adm\\\":false,\\n      \\\"safari\\\":false\\n    },\\n    \\\"needTouchProvProfile\\\":true,   // User choosed to auto-update profile\\n    \\\"provProfileTouchedSuccessfully\\\":true, // Profile changed on Apple side\\n    \\\"provProfileUploadSuccessfully\\\":true   // Profile created in Pushwoosh\\n  }\\n}\",\n      \"language\": \"json\"\n    }\n  ]\n}\n[/block]","excerpt":"","slug":"configureapplication-for-ios","type":"basic","title":"/configureApplication for iOS"}

/configureApplication for iOS


[block:callout] { "type": "success", "title": "Enterprise API" } [/block] Configures application on the account. There are separate requests for auto- and manual configuration. ## **Manual configuration** ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\", // 1 - ios, 2 - blackberry, 3 - android, 5 - windows phone, 7 - osx, 8 - windows, 9 - amazon, 10 - safari\n \"ios_key_management_type\":\"manual\", // \"manual\" (one step) | \"auto\" (few steps)\n \"ios_key_file\": \"MIIMY...BAQ==\", // base64-encoded iOS key file content\n \"ios_key_password\": \"password\",\n \"ios_gateway\": \"1\", // \"0\" (sandbox) | \"1\" (production)\n \"ios_framework\": \"native\" // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\": {\n \"providers\": {\n \"ios\": true,\n \"android\": false,\n \"wp7\": false,\n \"macos\": false,\n \"blackberry\": false,\n \"wns\": false,\n \"adm\": false,\n \"safari\": false\n }\n }\n}", "language": "json" } ] } [/block] ## **Auto configuration** **Step 1** Create the app and provide the Apple ID information. ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\",\n \"ios_key_management_type\":\"auto\",\n \"step\":\"1\",\n \"ios_apple_id\":\"xxx@xxxxx.xxx\",\n \"ios_apple_password\":\"xxxxxx\",\n \"ios_framework\": \"native\" // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\": {\n \"step_data\": {\n \"teams\": {\n \"12345ABCDE\": {\n \"name\": \"Pushwoosh team\",\n \"memberid\": \"XXXXXXXXXX\"\n }\n },\n \"step\": 2 // proceed to step 2\n }\n }\n}", "language": "json" } ] } [/block] **Step 2** Select the Team ID. ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\",\n \"ios_key_management_type\":\"auto\",\n \"step\":\"2\",\n \"ios_apple_id\":\"xxx@xxxxx.xxx\",\n \"ios_apple_password\":\"xxxxxx\",\n \"ios_framework\": \"native\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n \"team_id\":\"12345ABCDE\"\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\": {\n \"step_data\": {\n \"appids\": [\n {\n \"appIdId\": \"67890FGHIJ\",\n \"name\": \"My Application\",\n \"appIdPlatform\": \"ios\",\n \"prefix\": \"12345ABCDE\",\n \"identifier\": \"com.xxxxxxx.xxxxxxx\",\n \"isWildCard\": false,\n \"isDuplicate\": false,\n \"features\": {\n \"push\": true,\n \"iCloud\": false,\n \"inAppPurchase\": true,\n \"gameCenter\": true,\n \"XXXXXXXXXX\": false,\n \"passbook\": false,\n \"YYYYYYYYYY\": false,\n \"dataProtection\": \"\"\n },\n \"enabledFeatures\": [\n \"push\",\n \"inAppPurchase\",\n \"gameCenter\"\n ],\n \"isDevPushEnabled\": false,\n \"isProdPushEnabled\": true\n },\n ...\n ],\n \"step\": 3 // proceed to step 3\n }\n }\n}", "language": "json" } ] } [/block] **Step 3** Select the App Id. ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\",\n \"ios_key_management_type\":\"auto\",\n \"step\":\"3\",\n \"ios_apple_id\":\"xxx@xxxxx.xxx\",\n \"ios_apple_password\":\"xxxxxx\",\n \"ios_framework\": \"native\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n \"team_id\":\"12345ABCDE\",\n \"appid\":\"67890FGHIJ\"\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\": {\n \"step_data\": {\n \"step\": 4 // proceed to step 4\n }\n }\n}", "language": "json" } ] } [/block] **Step 4** Select the *apns_type*. Configure the app for Dev or Prod. ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\",\n \"ios_key_management_type\":\"auto\",\n \"step\":\"4\",\n \"ios_apple_id\":\"xxx@xxxxx.xxx\",\n \"ios_apple_password\":\"xxxxxx\",\n \"ios_framework\": \"native\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n \"team_id\":\"12345ABCDE\",\n \"appid\":\"67890FGHIJ\",\n \"apns_type\": \"0\" // \"0\" - configure certificate for Development | \"1\" - configure certificate for Production\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\": {\n \"step_data\": {\n \"appIdProfiles\":[\n {\n \"profileId\":\"KLMNOPQRS1\",\n \"name\":\"iOS Team Provisioning Profile: com.xxxxx.xxxxx\"\n },\n {\n \"profileId\":\"KLMNOPQRS2\",\n \"name\":\"XXXXXXX\"\n }\n ],\n \"certificates\": [\n {\n \"value\": \"PY986727N9\",\n \"name\": \"Developer (Expiry Feb 13, 2016)\"\n }\n ],\n \"step\": 5 // proceed to step 5\n }\n }\n}", "language": "json" } ] } [/block] **Step 5** Select the certificate and provisioning profile. ## Request [block:code] { "codes": [ { "code": "{\n \"request\":{\n \"auth\":\"API_ACCESS_TOKEN\",\n \"application\":\"APPLICATION_CODE\",\n \"device_type\":\"1\",\n \"ios_key_management_type\":\"auto\",\n \"step\":\"5\",\n \"ios_apple_id\":\"xxx@xxxxx.xxx\",\n \"ios_apple_password\":\"xxxxxx\",\n \"ios_framework\": \"native\", // one of native, cordova, titanium, marmalade, adobeAir, corona, xamarin, phoneGapBuild, triggerIO, unity\n \"team_id\":\"12345ABCDE\",\n \"appid\":\"67890FGHIJ\",\n \"apns_type\": \"0\",\n \"auto_update_profile\":\"1\", // \"0\" - manual profile update | \"1\" - auto profile update\n \"profile\":\"KLMNOPQRS2\",\n \"certificate\" : \"PY986727N9\"\n }\n}", "language": "json" } ] } [/block] ## Response [block:code] { "codes": [ { "code": "{\n \"status_code\": 200,\n \"status_message\": \"OK\",\n \"response\":{\n \"providers\":{\n \"ios\":true,\n \"android\":false,\n \"wp7\":false,\n \"macos\":false,\n \"blackberry\":false,\n \"wns\":false,\n \"adm\":false,\n \"safari\":false\n },\n \"needTouchProvProfile\":true, // User choosed to auto-update profile\n \"provProfileTouchedSuccessfully\":true, // Profile changed on Apple side\n \"provProfileUploadSuccessfully\":true // Profile created in Pushwoosh\n }\n}", "language": "json" } ] } [/block]