POST api/AlertSetting/DynamicAlarm/Edit

Add and Edit DynamicAlarm

Request Information

URI Parameters

None.

Body Parameters

DynamicAlarmObject
NameDescriptionTypeAdditional information
ID

Object

None.

CustomerDeviceID

Object

None.

AlarmID

Object

None.

AlarmType

Object

None.

Polarity

Object

None.

RateOfChange

Object

None.

NotifyBy

Object

None.

NotifySMSTo

Object

None.

NotifyEmailTo

Object

None.

NotifyPush

Object

None.

Status

Object

None.

ProductName

Object

None.

lstDynamicAlarm

Collection of CustomerDeviceAlarmSettings

None.

Request Formats

application/json, text/json

Sample:
{
  "lstDynamicAlarm": [
    {
      "Id": 1,
      "Level": 2,
      "Status": {},
      "TankLevel": {},
      "LevelMeasureIn": {},
      "LevelMaxValue": 6,
      "LevelMinValue": 7,
      "AlarmID": {},
      "AlarmType": {},
      "NotifyBy": {},
      "NotifySMSTo": {},
      "NotifyEmailTo": {},
      "NotifyPush": {},
      "Polarity": {},
      "RateOfChange": {},
      "Hystresis": {}
    },
    {
      "Id": 1,
      "Level": 2,
      "Status": {},
      "TankLevel": {},
      "LevelMeasureIn": {},
      "LevelMaxValue": 6,
      "LevelMinValue": 7,
      "AlarmID": {},
      "AlarmType": {},
      "NotifyBy": {},
      "NotifySMSTo": {},
      "NotifyEmailTo": {},
      "NotifyPush": {},
      "Polarity": {},
      "RateOfChange": {},
      "Hystresis": {}
    }
  ],
  "ID": {},
  "CustomerDeviceID": {},
  "AlarmID": {},
  "AlarmType": {},
  "Polarity": {},
  "RateOfChange": {},
  "NotifyBy": {},
  "NotifySMSTo": {},
  "NotifyEmailTo": {},
  "NotifyPush": {},
  "Status": {},
  "ProductName": {},
  "CreatedBy": {},
  "CreatedDateTime": {},
  "CreatedIp": {},
  "ModifiedBy": {},
  "ModifiedDateTime": {},
  "ModifiedIp": {}
}

application/xml, text/xml

Sample:
<AlarmDetails.DynamicAlarmObject xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/sscTeklekWebAPI.Models">
  <AlarmID />
  <AlarmType />
  <CreatedBy />
  <CreatedDateTime />
  <CreatedIp />
  <CustomerDeviceID />
  <ID />
  <ModifiedBy />
  <ModifiedDateTime />
  <ModifiedIp />
  <NotifyBy />
  <NotifyEmailTo />
  <NotifyPush />
  <NotifySMSTo />
  <Polarity />
  <ProductName />
  <RateOfChange />
  <Status />
  <lstDynamicAlarm xmlns:d2p1="http://schemas.datacontract.org/2004/07/StrategicAlliance">
    <d2p1:CustomerDeviceAlarmSettings>
      <d2p1:AlarmID />
      <d2p1:AlarmType />
      <d2p1:Hystresis />
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Level>2</d2p1:Level>
      <d2p1:LevelMaxValue>6</d2p1:LevelMaxValue>
      <d2p1:LevelMeasureIn />
      <d2p1:LevelMinValue>7</d2p1:LevelMinValue>
      <d2p1:NotifyBy />
      <d2p1:NotifyEmailTo />
      <d2p1:NotifyPush />
      <d2p1:NotifySMSTo />
      <d2p1:Polarity />
      <d2p1:RateOfChange />
      <d2p1:Status />
      <d2p1:TankLevel />
    </d2p1:CustomerDeviceAlarmSettings>
    <d2p1:CustomerDeviceAlarmSettings>
      <d2p1:AlarmID />
      <d2p1:AlarmType />
      <d2p1:Hystresis />
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Level>2</d2p1:Level>
      <d2p1:LevelMaxValue>6</d2p1:LevelMaxValue>
      <d2p1:LevelMeasureIn />
      <d2p1:LevelMinValue>7</d2p1:LevelMinValue>
      <d2p1:NotifyBy />
      <d2p1:NotifyEmailTo />
      <d2p1:NotifyPush />
      <d2p1:NotifySMSTo />
      <d2p1:Polarity />
      <d2p1:RateOfChange />
      <d2p1:Status />
      <d2p1:TankLevel />
    </d2p1:CustomerDeviceAlarmSettings>
  </lstDynamicAlarm>
</AlarmDetails.DynamicAlarmObject>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.