ethMobileNotifications


Back to API doc top page.

Click here for a complete list of operations.

GetDevices

Retrieves a list of mobile devices (phones and tablets) registered for the current user account.

A mobile device is registered when user first starts the iOS/Android app and answers "Yes" to if to allow app to send push notification. The registration information includes 'token', the push notification token, 'phoneName' used to identify each phone, and 'type', currently 'apns', 'gcm' and 'c2dm' are possible values.

POST /ethMobileNotifications.asmx/GetDevices HTTP/1.1
Host: wirelesstags.net
Content-Type: application/json; charset=utf-8
Content-Length: length

{
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
    d:[
        {
            "token":string
            "phoneName":string
            "enabled":boolean
            "type":string
        },
        {
            "token":string
            "phoneName":string
            "enabled":boolean
            "type":string
        },
        ...
    ]
}