User Manual
Version 7.5
×

Get command status

 
The method allows you to obtain the general status of a complex command, as well as the status and response for all commands and objects contained in the complex command.
 
Options: 
cmd: get_command_status
command_id: complex command id
 
Example request:
 
Answer:
{
  "code": 0,
  "msg": "",
  "detailed_status": {
    "43207": [
      {
        "type": "gprs",
        "status": "accepted",
        "response": "Ver:03.25.15_88 GPS:AXN_3.80_3333 Hw:FMB010 Mod:3 IMEI:352094083043221 Init:2024-3-30 12:29 Uptime:505289 MAC:001E428490AF SPC:0(0) AXL:0 OBD:0 BL:0.2 BT:3"
      },
      {
        "type": "gprs",
        "status": "accepted",
        "response": "Data Link: 1 GPRS: 1 Phone: 0 SIM: 0 OP: 25001 Signal: 4 NewSMS: 0 Roaming: 0 SMSFull: 0 LAC: 10 Cell ID: 11522 NetType: 1 FwUpd:-65536"
      }
    ]
  },
  "general_status": "complete",
  "ver": "7.2.0"
}
 
Comments:
  • The key 43207 in the associative array detailed_status is the agent ID