POST api/Values/ImageRegister

Request Information

URI Parameters

None.

Body Parameters

InImageRegisterData
NameDescriptionTypeAdditional information
pw

string

None.

municipalityid

integer

None.

accountid

integer

None.

userid

string

None.

deviceid

integer

None.

imagetype

integer

None.

comment

string

None.

shootingdatetime

string

None.

lat

string

None.

lng

string

None.

Request Formats

application/json, text/json

Sample:
{
  "pw": "sample string 1",
  "municipalityid": 2,
  "accountid": 3,
  "userid": "sample string 4",
  "deviceid": 5,
  "imagetype": 6,
  "comment": "sample string 7",
  "shootingdatetime": "sample string 8",
  "lat": "sample string 9",
  "lng": "sample string 10"
}

application/xml, text/xml

Sample:
<InImageRegisterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Api.Models.Api">
  <accountid>3</accountid>
  <comment>sample string 7</comment>
  <deviceid>5</deviceid>
  <imagetype>6</imagetype>
  <lat>sample string 9</lat>
  <lng>sample string 10</lng>
  <municipalityid>2</municipalityid>
  <pw>sample string 1</pw>
  <shootingdatetime>sample string 8</shootingdatetime>
  <userid>sample string 4</userid>
</InImageRegisterData>

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

Response Information

Resource Description

ActionResult

None.

Response Formats

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

Sample:

Sample not available.