POST api/command/add
Request Information
URI Parameters
None.
Body Parameters
CommandAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PointId | string |
None. |
|
| PollId | string |
None. |
|
| CommandType | string |
None. |
|
| EValue | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"PointId": "sample string 1",
"PollId": "sample string 2",
"CommandType": "sample string 3",
"EValue": 4.1
}
application/xml, text/xml
Sample:
<CommandAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApi.Models"> <CommandType>sample string 3</CommandType> <EValue>4.1</EValue> <PointId>sample string 1</PointId> <PollId>sample string 2</PollId> </CommandAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IApiResult| Name | Description | Type | Additional information |
|---|---|---|---|
| Message | string |
None. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.