{"status_code":200,"status_message":"OK","response": null}
For Private Offering subscriptions only.
Example{"request": {"application": "XXXXX-XXXXX", // Pushwoosh application code"push_token": "DEVICE_PUSH_TOKEN","device_type": 1, // possible values: 1 — iOS; 2 — BB; 3 — Android; 5 — Windows Phone; 7 — OS X; 8 — Windows 8; 9 — Amazon; 10 — Safari; 11 — Chrome; 12 — Firefox; 13 - IE11; 17 - Huawei"language": "en", // language locale of the device"name": "TEST_DEVICE_1", // test device name"description": "android test device" // test device description}}
{"status_code": 200,"status_message": "OK","response": {"TestDevices": [{"name": "iosDevice","type": "1","pushtoken": "token","description": "ios device","languages": ["en","fr"]}}
For Private Offering subscriptions only.
Example{"request":{"auth": "yxoPUlwqm…………pIyEX4H", // API access token from Pushwoosh Control Panel"application" : "XXXXX-XXXXX" // Pushwoosh application code}}
For device types see /registerDevice
.