POST CC/OperatingDevice

操作设备 ,比如开投影机,关空调等

Request Information

URI Parameters

None.

Body Parameters

TaskModel
NameDescriptionTypeAdditional information
CommandID

integer

None.

AirLastTemperaure

如果空调展项,则传温度(可选) 值>=-1

integer

None.

ExhibitionID

展项ID(可选) ,有温度时需要

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CommandID": 1,
  "AirLastTemperaure": 2,
  "ExhibitionID": 3
}

application/xml, text/xml

Sample:
<TaskModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AIVenueAPI.Models">
  <AirLastTemperaure>2</AirLastTemperaure>
  <CommandID>1</CommandID>
  <ExhibitionID>3</ExhibitionID>
</TaskModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TaskModel'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.