4003: Get device
4003: Get device
Fetches the mobile device details. For iOS, this will only ever be the device id. For other device types (Android, WindowsPhone, Windows8 and BlackBerry), the current "push" status is also included, indicating whether push communications may be sent to this device.
Endpoint ID: | 4003 | |||||||
Method: | GET | |||||||
URL: | /mobile/device/registration/entity/id/{entity-id}/{device-id} /mobile/device/registration/entity/ext-key/{ext-key}/{ext-type}/{device-id} | |||||||
entity-id | Rubiq entity ID that uniquely identifies an account to register mobile device with | |||||||
ext-key | External key that uniquely identifies an account to register mobile device with | |||||||
ext-type | Type of external key | |||||||
device-id | ID of device to get | |||||||
Request body: | None | |||||||
Response body: | JSON data with information about the mobile device Example 1 – iOS device { "deviceID": "671c6845e85b4873596fcee5da2f1bc25b2d038a710c12bf992", "deviceType": "iOS" } Example 2 – Android device with push enabled { "deviceID": "671c6845e85b4873596fcee5da2f1bc25b2d038a710c12bf992", "deviceType": "Android", "push": true } | |||||||
Status codes: | 200 | Mobile device fetched successfully | ||||||
404 | Account was not found The following sub codes may be returned:
|
, multiple selections available,
Related content
4001: Register mobile device
4001: Register mobile device
More like this
4002: Sign out mobile device
4002: Sign out mobile device
More like this
7002: Get message
7002: Get message
More like this
3002: Get social connection
3002: Get social connection
More like this
7001: Get messages
7001: Get messages
More like this
1002: Get account data
1002: Get account data
More like this