ethMobileNotifications


Back to API doc top page.

Click here for a complete list of operations.

UpdateToken

Register a phone to receive push notification.

type: currently, 'c2dm' or 'gcm' or 'fcm' or 'apns' are supported.
uuid: An ID that uniquely identifies the phone.
phoneName: A human readable name of the phone to be displayed in the "Phone Options" screen.
newToken: The push notification token received from Apple or Google.
Returns a list of region to monitor for KumoApps.

POST /ethMobileNotifications.asmx/UpdateToken HTTP/1.1
Host: caogadgets.com
Content-Type: application/json; charset=utf-8
Content-Length: length

{
    "type":string
    "phoneName":string
    "uuid":string
    "newToken":string
}
HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Content-Length: length

{
    d:[
        {
            "name":string
            "detail":string
        },
        {
            "name":string
            "detail":string
        },
        ...
    ]
}