Device Types

Returns a list of all device type IDs and names.


Request

Route

GET {IP_REF_DATA_URL}/IPUtilityService/ReferenceData/DeviceTypes 

Parameters

  • None
Name Type Description Required?
PARTNER_AUTH_KEY string Authorization of Reference Data access Yes

Body Details

  • None

Example Request

GET {IP_REF_DATA_URL}/IPUtilityService/ReferenceData/DeviceTypes
Content-Type: application/json
PARTNER_AUTH_KEY: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Response

Possible Codes

Code Etiology, actions
200 OK. Request processed normally
400 Bad Request. Request is malformed or incomplete. Review message details and take appropriate action
403 Forbidden. Invalid PARTNER_AUTH_KEY
500 Internal Error. An exception occurred while processing the request. Contact Toluna for resolution. Toluna will likely have the details captured in its logs

Body Details

Name Type Description
DeviceTypeID int Integer value of device type
Type string Name of device type

Response Example

[
...
  {
    "DeviceTypeID": 3,
    "Type": "SMARTPHONE"
  },
...
]