POST api/Command/sendComand

Request Information

Body Parameters

SendCommondModel
NameDescriptionTypeAdditional information
Imei

string

None.

CmdCode

string

None.

AccessToken

string

None.

Params

string

None.

Response Information

Resource Description

NewCommandResult
NameDescriptionTypeAdditional information
WifiItem

Collection of WifiResult

None.

State

integer

None.

Msg

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WifiItem": [
    {
      "WifiName": "sample string 1",
      "Mac": "sample string 2",
      "Password": "sample string 3"
    },
    {
      "WifiName": "sample string 1",
      "Mac": "sample string 2",
      "Password": "sample string 3"
    }
  ],
  "State": 1,
  "Msg": "sample string 2"
}

application/xml, text/xml

Sample:
<NewCommandResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BeeHome.WebMain.Models.Results">
  <Msg xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">sample string 2</Msg>
  <State xmlns="http://schemas.datacontract.org/2004/07/NewGPS2012.OpenApi.Models.ResponseModels">1</State>
  <WifiItem>
    <WifiResult>
      <Mac>sample string 2</Mac>
      <Password>sample string 3</Password>
      <WifiName>sample string 1</WifiName>
    </WifiResult>
    <WifiResult>
      <Mac>sample string 2</Mac>
      <Password>sample string 3</Password>
      <WifiName>sample string 1</WifiName>
    </WifiResult>
  </WifiItem>
</NewCommandResult>