POST radios/saveCameraZone

Request Information

URI Parameters

None.

Body Parameters

CameraZone
NameDescriptionTypeAdditional information
ZoneCameraId

integer

None.

ZoneId

integer

None.

ViewType

string

None.

CameraId

integer

None.

Enabled

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ZoneCameraId": 1,
  "ZoneId": 2,
  "ViewType": "sample string 3",
  "CameraId": 4,
  "Enabled": true
}

text/html

Sample:
{"ZoneCameraId":1,"ZoneId":2,"ViewType":"sample string 3","CameraId":4,"Enabled":true}

application/xml, text/xml

Sample:
<CameraZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Radios">
  <CameraId>4</CameraId>
  <Enabled>true</Enabled>
  <ViewType>sample string 3</ViewType>
  <ZoneCameraId>1</ZoneCameraId>
  <ZoneId>2</ZoneId>
</CameraZone>

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 'CameraZone'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.