Dataset: Device Record

Dataset name: ds_device_record

Description

Records of devices.

Fields in this dataset

Name Field Name Description Field Type Field Example
IMEI device_imei The IMEI of the device. varchar
MAC Address device_mac_address The MAC Address of the device. varchar
Model Number device_model_number The model number of the device. varchar
Name device_name Device Name. varchar
Phone Number device_phone_number The phone number of the device. varchar
Serial Number device_serial_number The serial number of the device. varchar
Software Version Number device_software_version_number The software version number the device is running. varchar
Type device_type Device Type. varchar
Device Record ID id The primary identifier for a device record. serial
Device Record Instance instance The instance this device record relates to. int
Device Record Source source The source of the data - user or connection (uid or con_id). varchar

Making an API request for this Dataset

Example Request to the Sandbox Server

http://sbx-api.mydex.org/api/pds/transaction/UID.json
  ?key=KEY
  &api_key=API_KEY
  &con_id=CON_ID
  &source_type=connection
  &dataset=ds_device_record
  &instance=N

Replace the following with your own details: UID KEY, API_KEY, CON_ID and instance N.

Replace sbx-api with api when making a connection to a real member on the production server (must be authenticated).

To return the data in XML, change UID.json to UID.xml.

Example Response

A response to this API request will be structured as follows.

{
  "": {
    "id": null,
    "ds_id": null,
    "device_imei": null,
    "device_mac_address": null,
    "device_model_number": null,
    "device_name": null,
    "device_phone_number": null,
    "device_serial_number": null,
    "device_software_version_number": null,
    "device_type": null
  }
}