Home

You are here

Devices

Queries the devices available for testing in a specific region

Purpose

The devices resource is used to generate a list of MIN or mobile numbers that are available for testing. The query can include A country code, MNC (Mobile Network Code), MCC (Mobile Country Code) and a count for the number of results to return.

Request

GET /sms/devices?cc={}&mnc={}&mcc={}&count={}

Where

Property Description
cc ISO 3166 two digit country code. See http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
mcc Mobile Network Code. See http://en.wikipedia.org/wiki/Mobile_Network_Code
mcc Mobile Country Code. See http://en.wikipedia.org/wiki/Mobile_Network_Code
count The number of MIN values to return. The maximum is 10. Default 5

Reponse Example

XML

<?xml version="1.0" encoding="UTF-8"?>
<devices>
  <device>
    <brand_info>google</brand_info>
    <build_info>4.1.1</build_info>
    <country>ca</country>
    <device_info>maguro</device_info>
    <last_update>2012-07-21T17:04:21Z</last_update>
    <locale_info>English (United Kingdom)</locale_info>
    <mcc>302</mcc>
    <min>1403..</min>
    <mnc>610</mnc>
    <model_info>Galaxy Nexus</model_info>
  </device>
</devices>

JSON

{
  "devices": [
    {
      "country": "ca",
      "min": "14036145597",
      "last_update": "2012-07-21T17:04:21.000+0000",
      "brand_info": "google",
      "model_info": "Galaxy Nexus",
      "device_info": "maguro",
      "locale_info": "English (United Kingdom)",
      "mnc": 610,
      "mcc": 302,
      "build_info": "4.1.1"
    },
}