Contact us Login LIVE DEMO FREE TRIAL

list_models()

Get all tracker models (from “models” table).

parameters:

name description type
compact_view Optional. true to compact view, default is false boolean
codes Optional array of model codes. If passed only given models will be returned. array of String

return:

{
"success": true, "list": [
{
"id": 2,
"code": , //string
"type": <logger, portable, vehicle, or personal>, //string
"name": ,
"id_type": ,
"has_phone": , //string
"has_apn_settings": , //string
"register": , //boolean
"battery": (see below) > , //json object
"altitude": , //boolean
"satellites": , //boolean
"gsm_level": , //boolean,
"gsm_network": , //boolean,
"gsm_roaming": , //boolean,
"has_detach_button": , //boolean,
"has_fuel_input": , //boolean,
"analog_inputs": , //int
"digital_inputs": , //int
"rs232_inputs": , //int,
"digital_outputs": , //int,
"track_control": , //string
"output_control": , //string
"special_control": , //string
"vendor": , //string
"inputs": [list of available inputs] // array of strings,
"rules": [list of available rules] // array of strings,
"state_fields": [],
"has_led_control": true,
"special_settings": [ "none" ],
"sms_control": [], //set of strings, "tracking", "outputs" indicates what control methods uses SMS
"has_location_request" : ,
"has_gsm_lbs_location_request" : }, ... ]
}
=
{
"min_charge": , //float
"low_charge": , //float
"max_charge": , //float
},

Id type:

Id type is used to determine the information needed to register device in our system (see tracker/register(..)).

Possible values are:

  • “imei” – means device uses IMEI as its identifier, e. g. “356938035643809”. See Wikipedia article. When needed, you should pass only digits of IMEI, no spaces, minus signs, etc.
  • “meid” means device uses MEID consisting of 14 HEX digits as its identifier, e. g. “A10000009296F2”. See Wikipedia article.
  • “id,n” – means device uses n-digit identifier (factory id with length n), for example, “id,7” means that you must pass 7-digit number, for example “1234567”
  • “n,m” – n-digit generated id starting with m. This means that device has configurable ID and our platform generates and configures it automatically. You don’t need to pass any identifier during device registration in this case.

errors:

general types only

Example

{
"id": 166,
"code": "tt1_wp",
"type": "vehicle",
"name": "WondeProud TT1",
"id_type": "10,2",
"has_phone": true,
"has_apn_settings": true,
"register": true,
"battery": {
"min_charge": 3.4,
"low_charge": 3.7,
"max_charge": 4.1
},
"altitude": true,
"satellites": true,
"gsm_level": true,
"gsm_network": true,
"gsm_roaming": true,
"has_detach_button": false,
"has_fuel_input": true,
"analog_inputs": 2,
"digital_inputs": 4,
"rs232_inputs": 0,
"digital_outputs": 4,
"track_control": "tt1",
"output_control": "default",
"special_control": "none",
"vendor": "WondeProud",
"rules": ["offline",
"input_change",
"sos",
"sensor_range",
"speedup",
"route",
"track_change",
"inoutzone",
"battery_off"],
"inputs": ["analog_2", "analog_1"],
"state_fields": [],
"special_settings": ["none"],
"sms_control": [],
"has_led_control": false,
"has_location_request": true,
"has_gsm_lbs_location_request": true,
"has_chat": false,
"check_bundle": false,
"has_odometer": true
}

If you have more questions please contact our support team

Contacts

USA: +1 858 815 9045

Mexico: +52 334 1642158

UK: +44 808 1641499

Germany: +49 1573 5988250

Russia: +7 495 317 1622

Log in

Loading...

We use сookies to improve our website, products and related services, analyze site traffic, and serve targeted advertisements. If you continue to use our services, you consent to our use of сookies. Read more