GET api/Lake

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of LakeViewModel
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

Required

Description

string

None.

Address

string

None.

Photo

string

None.

WardId

integer

None.

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",
    "Address": "sample string 4",
    "Photo": "sample string 5",
    "WardId": 1,
    "LocalLevelId": 6,
    "Latitude": 1.0,
    "Longitude": 1.0
  },
  {
    "Id": 1,
    "Name": "sample string 2",
    "Description": "sample string 3",
    "Address": "sample string 4",
    "Photo": "sample string 5",
    "WardId": 1,
    "LocalLevelId": 6,
    "Latitude": 1.0,
    "Longitude": 1.0
  }
]

text/xml

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