GET api/HistoricPlace

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of HistoricPlaceViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

Description

string

None.

WardId

integer

Required

LocalLevelId

integer

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "WardId": 1,
    "LocalLevelId": 4,
    "Latitude": 1.0,
    "Longitude": 1.0
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "WardId": 1,
    "LocalLevelId": 4,
    "Latitude": 1.0,
    "Longitude": 1.0
  }
]

text/xml

Sample:
<ArrayOfHistoricPlaceViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MeroPalikaApi.Models">
  <HistoricPlaceViewModel>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocalLevelId>4</LocalLevelId>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <WardId>1</WardId>
  </HistoricPlaceViewModel>
  <HistoricPlaceViewModel>
    <Description>sample string 3</Description>
    <Id>1</Id>
    <Latitude>1</Latitude>
    <LocalLevelId>4</LocalLevelId>
    <Longitude>1</Longitude>
    <Name>sample string 2</Name>
    <WardId>1</WardId>
  </HistoricPlaceViewModel>
</ArrayOfHistoricPlaceViewModel>