POST alarmPanel/SaveAlarmPanel

Request Information

URI Parameters

None.

Body Parameters

AlarmPanelInfo
NameDescriptionTypeAdditional information
PanelId

integer

None.

AlarmPanel

string

None.

Description

string

None.

Notes

string

None.

TenantId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PanelId": 1,
  "AlarmPanel": "sample string 2",
  "Description": "sample string 3",
  "Notes": "sample string 4",
  "TenantId": 5
}

text/html

Sample:
{"PanelId":1,"AlarmPanel":"sample string 2","Description":"sample string 3","Notes":"sample string 4","TenantId":5}

application/xml, text/xml

Sample:
<AlarmPanelInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.Xyro.Models.AlarmPanel">
  <AlarmPanel>sample string 2</AlarmPanel>
  <Description>sample string 3</Description>
  <Notes>sample string 4</Notes>
  <PanelId>1</PanelId>
  <TenantId>5</TenantId>
</AlarmPanelInfo>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.