POST api/mls/circle

Request Information

URI Parameters

None.

Body Parameters

SimpleGeoCircle
NameDescriptionTypeAdditional information
latitude

decimal number

None.

longitude

decimal number

None.

radiusMeters

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "latitude": 1.1,
  "longitude": 2.1,
  "radiusMeters": 3
}

text/html

Sample:
{"latitude":1.1,"longitude":2.1,"radiusMeters":3}

application/xml, text/xml

Sample:
<SimpleGeoCircle xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Geometry">
  <Latitude>1.1</Latitude>
  <Longitude>2.1</Longitude>
  <RadiusMeters>3</RadiusMeters>
</SimpleGeoCircle>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.