Get devices
    Retrieve the list of devices supported by the organization.
The payload type is 
GET-DEVICES.
There is no input payload for this call. Simply use the SDK Envelope with the appropriate organization ID.
The SDK response will be:
      
<devices> <device> <deviceGroupName></deviceGroupName> <deviceGroupCommonName></deviceGroupCommonName> <deviceName></deviceName> <deviceCommonName></deviceCommonName> <type>PERSONAL|MASS-NOTIFICATION</type> </device> … </devices>
The GET-DEVICES SDK requests and responses are internationalization-enabled. For a list of supported Windows 1252 characters, see Internationalization-supported characters.
The specific error and warning codes are listed in the following table.
| Error Code | Message | Description | 
|---|---|---|
| 1000 | XML parse error. | The system was not able to parse the XML. Data regarding the exact line and exact XML error appear in the <moreData> node. | 
| 9998 | Missing Request XML. | No XML was posted to SDK listener. | 
| 1111 | No Scenario with the common name or ID name was found. | The Alert Template was not found for the specified organization. | 
| 4001 | User not found | The operator user ID was is not valid. | 
| 4002 | Either ID, type, or commonName must be provided. | Get Hierarchy API, neither id, type, nor commonName are present in the request payload. |