GET api/command/commandvalue

根据设备编码和指令编码 获取该指令发送的记录

Request Information

URI Parameters

NameDescriptionTypeAdditional information
CommandCode

指令编码

string

None.

Imei

IMEI

string

None.

Language

语言选项 国内一般用zh-cn

string

Required

TimeOffset

手机当前时区,值为数字,如东八区为 8 ,西八区为 -8

decimal number

Required

AppId

APP应用标识 平台申请后返回的APPID

string

Required

Response Information

Resource Description

State 值为: 0. 表示成功

CommandValueResult
NameDescriptionTypeAdditional information
Code

指令编码

string

None.

Name

名称

string

None.

CmdValue

指令初始值

string

None.

SmsType

下发指令方式 0:网络 1:短信 2:网络和短信

integer

None.

SmsContent

短信指令格式

string

None.

State

integer

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "Name": "sample string 2",
  "CmdValue": "sample string 3",
  "SmsType": 4,
  "SmsContent": "sample string 5",
  "State": 6,
  "Message": "sample string 7"
}

application/xml, text/xml

Sample:
<CommandValueResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Gps.OpenApi.Models.ResponseModels">
  <Message>sample string 7</Message>
  <State>6</State>
  <CmdValue>sample string 3</CmdValue>
  <Code>sample string 1</Code>
  <Name>sample string 2</Name>
  <SmsContent>sample string 5</SmsContent>
  <SmsType>4</SmsType>
</CommandValueResult>