Start of change

Format of the JSON file

When you add or modify a mobile device, you can supply a JSON file.

The JSON file that is used to supply values for a mobile device contains a set of fields and values in this format: "field":"value". The set of fields is enclosed by {}. The fields in the JSON, and the corresponding fields on the Add Mobile Device or Modify Mobile Device window, are described in Table 1.
Table 1. Fields in the JSON file
Window Field JSON Field
Address UsrAdr
Push service name UsrPrj
Mobile OS UsrTgt
User ID UsrNam
The following are examples of JSON files for iOS and Android devices:
{
"UsrAdr":"15675c529db1f1e738598729b7047aca638f11f1eb047101b5f8b421cc13341",
"UsrPrj":"APNS01",
"UsrTgt":"iOS",
"UsrNam":"zosmfad"
}
{
   "UsrAdr":"APA91bEJxZf6fiy6MPr4AERC7HMK61W3Owiwm27QzxMk5T2qQZrm7kml44qsQuSINUq7BLbQCL-nu6VcNN8n7xMXvFDvZZ9DAzOvAmPrsF8aEHqw7stTyXh6_r6NER_a3LtBguFphHlL",
   "UsrPrj":"GCM-production",
   "UsrTgt":"Android",
   "UsrNam":"Vincent"
}
End of change