POST api/Values/GetMessage

Request Information

URI Parameters

None.

Body Parameters

InGetMessageData
NameDescriptionTypeAdditional information
pw

string

None.

municipalityid

integer

None.

accountid

integer

None.

deviceid

integer

None.

messageid

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "pw": "sample string 1",
  "municipalityid": 2,
  "accountid": 3,
  "deviceid": 4,
  "messageid": 5
}

application/xml, text/xml

Sample:
<InGetMessageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models.Api">
  <accountid>3</accountid>
  <deviceid>4</deviceid>
  <messageid>5</messageid>
  <municipalityid>2</municipalityid>
  <pw>sample string 1</pw>
</InGetMessageData>

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

Response Information

Resource Description

ActionResult

None.

Response Formats

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

Sample:

Sample not available.