POST api/Switch/PostDeviceStatus

Request Information

URI Parameters

None.

Body Parameters

PostDeviceStatus
NameDescriptionTypeAdditional information
ID

string

None.

Switch

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "Switch": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1