Resource Definition to Add Cellular Operations on iOS Devices
A sample resource definition, together with details on the information that is added in the JSON are as follows:
Sample definition JSON to add cellular operations
The following is the sample configuration that can be used in a JSON to add cellular operations:
{ "operation": { "attachAPNName": "APN", "authenticationType": "CHAP", "username": "Kim", "password": "$kim1234", "apnConfigurations": [ { "configurationName": "APNConfiguration", "authenticationType": "CHAP", "username": "Bill", "password": "$bill1234", "proxyServer": "22.231.113.64", "proxyPort": 8080 } ] }, "deviceIDs": [ "2be702beaaf4ad34fc9e7f8da2b6b808c453fa72b", "2ec33430ad456713c633de75b2219376bac45de56" ] }
Â
Property definitions
All the properties that correspond to adding cellular operations are explained as follows:Â
Property Value | Description | Data | Example | ||
---|---|---|---|---|---|
operation | This specifies the operation that is to be applied on the iOS devices. | Yes | N/A | operation | - |
| ID of the iOS device. Multiple device IDs can be added by using comma separated values. | Yes | N/A | String | 2be702beaaf4ad34fc9e7f8da2b6b808c453fa72b |
Â
operation
Property Value  |  Description | Data | Example | ||
---|---|---|---|---|---|
attachAPNName | The name of the configuration. |  Yes | N/A | String | APN |
authenticationType | The authentication type must contain either CHAP or PAP as the value. |  No | PAP |  String | CHAP |
username | The user name used for authentication. |  No |  N/A |  String |  Kim |
password | The password used for authentication. |  No |  N/A |  String |  $kim1234 |
apnConfigurations | This specifies the APN configurations | Â No | Â N/A | apnConfigurations | Â |
apnConfigurations
Â
Property Value  |  Description |  |  | Data | Example |
---|---|---|---|---|---|
configurationName | The name for the configuration. | Yes | N/A | String | APNConfiguration |
authenticationType | Must contain either CHAP or PAP. | No | PAP | String | CHAP |
username | The user name used for authentication. | No | N/A | String | Bill |
password | The password used for authentication. | No | N/A | String | $bill1234 |
proxyServer | The proxy server's network address. | No | N/A | String | 22.231.113.64 |
proxyPort | The proxy server's port. | No | N/A | Number | 8080 |