POST api/Values/DeviceNotice

Request Information

URI Parameters

None.

Body Parameters

InDeviceNoticeData
NameDescriptionTypeAdditional information
pw

string

None.

municipalityid

integer

None.

accountid

integer

None.

userid

string

None.

deviceid

integer

None.

olddeviceid

string

None.

phonenumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pw": "sample string 1",
  "municipalityid": 2,
  "accountid": 3,
  "userid": "sample string 4",
  "deviceid": 5,
  "olddeviceid": "sample string 6",
  "phonenumber": "sample string 7"
}

application/xml, text/xml

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

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

Response Information

Resource Description

ActionResult

None.

Response Formats

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

Sample:

Sample not available.