Device Object
This section goes over the parts of the Device object.
Device Object Attributes
This is the JSON response that gets returned when a request is successful.
Attribute | Data Type | Description |
---|---|---|
application_sid | string | The secure ID of the application installed on the device. |
application_version | string | The internal version of the application. |
device_sid read only | string | The device secure ID. |
environment | string | The environment to be used to send push notifications, applicable to Apple Push Notification. Values accepted in this field are development and production . |
os_version | string | The device operating system version number. |
partner read only | object | The Partner object associated with the device. This field is displayed if with_related is set to true when performing the GET queries. |
partner_sid read only | string | The secure ID of the partner associated with the device. |
token | string | The Push Notification identifying token from Google or Apple. |
type | string | The type of the device operating system. Values accepted in this field are android , ios and web . |
Sample Device Object
{
"application_sid": "b3edc875-f73c-4c48-895a-8697b92b8d07",
"application_version": "",
"device_sid": "56d485ae-0693-421a-91eb-6b02b152573a",
"environment": "production",
"os_version": "",
"partner_sid": "e00430c3-a7d0-4666-ab5c-f7202448382f",
"token": "1111",
"type": "ios"
}