POST api/alerts/UpdateWrongLocationAlertsSettings

Request Information

URI Parameters

None.

Body Parameters

WrongLocationAlertSettings
Name Description Type Additional information
MaxDistance

integer

None.

MaxTaskPercentage

integer

None.

MaxTasks

integer

None.

Id

integer

None.

IsOn

boolean

None.

IsDefault

boolean

None.

DistributorId

integer

None.

Diom

integer

None.

NotifyThrough

integer

None.

AlertTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "MaxDistance": 1,
  "MaxTaskPercentage": 2,
  "MaxTasks": 3,
  "Id": 4,
  "IsOn": true,
  "IsDefault": true,
  "DistributorId": 7,
  "Diom": 1,
  "NotifyThrough": 8,
  "AlertTypeId": 9
}

text/html

Sample:
{"MaxDistance":1,"MaxTaskPercentage":2,"MaxTasks":3,"Id":4,"IsOn":true,"IsDefault":true,"DistributorId":7,"Diom":1,"NotifyThrough":8,"AlertTypeId":9}

application/xml, text/xml

Sample:
<WrongLocationAlertSettings xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAO.Alerts.Models">
  <AlertTypeId>9</AlertTypeId>
  <Diom>1</Diom>
  <DistributorId>7</DistributorId>
  <Id>4</Id>
  <IsDefault>true</IsDefault>
  <IsOn>true</IsOn>
  <NotifyThrough>8</NotifyThrough>
  <MaxDistance>1</MaxDistance>
  <MaxTaskPercentage>2</MaxTaskPercentage>
  <MaxTasks>3</MaxTasks>
</WrongLocationAlertSettings>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.