POST api/ScenarioActions

Creates ScenarioAction.

Request Information

URI Parameters

None.

Body Parameters

ScenarioAction
NameDescriptionTypeAdditional information
ID

string

None.

ScenarioID

string

None.

FloorID

string

None.

RoomID

string

None.

AreaID

string

None.

UnitID

string

None.

Command

byte

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "ScenarioID": "sample string 2",
  "FloorID": "sample string 3",
  "RoomID": "sample string 4",
  "AreaID": "sample string 5",
  "UnitID": "sample string 6",
  "Command": 64
}

text/html

Sample:
{"ID":"sample string 1","ScenarioID":"sample string 2","FloorID":"sample string 3","RoomID":"sample string 4","AreaID":"sample string 5","UnitID":"sample string 6","Command":64}

application/xml, text/xml

Sample:
<ScenarioAction xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZPPModel.Model">
  <AreaID>sample string 5</AreaID>
  <Command>64</Command>
  <FloorID>sample string 3</FloorID>
  <ID>sample string 1</ID>
  <RoomID>sample string 4</RoomID>
  <ScenarioID>sample string 2</ScenarioID>
  <UnitID>sample string 6</UnitID>
</ScenarioAction>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>