POST api/ListingView

Request Information

URI Parameters

None.

Body Parameters

ListingViewModel
NameDescriptionTypeAdditional information
Id

string

None.

Latitude

decimal number

Required

Longitude

decimal number

Required

Date

date

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "sample string 1",
  "Latitude": 2.1,
  "Longitude": 3.1,
  "Date": "2025-06-29T13:04:24.7617407+00:00"
}

text/html

Sample:
{"Id":"sample string 1","Latitude":2.1,"Longitude":3.1,"Date":"2025-06-29T13:04:24.7617407+00:00"}

application/xml, text/xml

Sample:
<ListingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NPlay.Common.Models.Services.Listing">
  <Date>2025-06-29T13:04:24.7617407+00:00</Date>
  <Id>sample string 1</Id>
  <Latitude>2.1</Latitude>
  <Longitude>3.1</Longitude>
</ListingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.