POST technical/requestAlarmTest

Request Information

URI Parameters

None.

Body Parameters

AlarmTest
NameDescriptionTypeAdditional information
Latitude

decimal number

Required

Longitude

decimal number

Required

AddressId

integer

Required

TestMode

boolean

Required

CustId

integer

None.

Duration

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "Latitude": 1.0,
  "Longitude": 2.0,
  "AddressId": 3,
  "TestMode": true,
  "CustId": 5,
  "Duration": 6
}

text/html

Sample:
{"Latitude":1.0,"Longitude":2.0,"AddressId":3,"TestMode":true,"CustId":5,"Duration":6}

application/xml, text/xml

Sample:
<AlarmTest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Alarm">
  <AddressId>3</AddressId>
  <CustId>5</CustId>
  <Duration>6</Duration>
  <Latitude>1</Latitude>
  <Longitude>2</Longitude>
  <TestMode>true</TestMode>
</AlarmTest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.