GET api/NearPlaces
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of NearPlace| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Name | string |
None. |
|
| Summary | string |
None. |
|
| Details | string |
None. |
|
| Longitude | decimal number |
None. |
|
| Latitude | decimal number |
None. |
|
| Stamp | integer |
None. |
|
| NearPlaceTypeID | integer |
None. |
|
| Image | string |
None. |
|
| Url | string |
None. |
|
| Stars | integer |
None. |
|
| LanguageID | integer |
None. |
|
| Language | Language |
None. |
|
| NearPlaceType | NearPlaceType |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ID": 1,
"Name": "sample string 2",
"Summary": "sample string 3",
"Details": "sample string 4",
"Longitude": 5.0,
"Latitude": 6.0,
"Stamp": 7,
"NearPlaceTypeID": 8,
"Image": "sample string 9",
"Url": "sample string 10",
"Stars": 11,
"LanguageID": 1,
"Language": {
"ID": 1,
"Name": "sample string 2",
"FlowDirection": 1
},
"NearPlaceType": {
"ID": 1,
"Name": "sample string 2",
"Stamp": 3,
"LanguageID": 4,
"Language": {
"ID": 1,
"Name": "sample string 2",
"FlowDirection": 1
}
}
},
{
"ID": 1,
"Name": "sample string 2",
"Summary": "sample string 3",
"Details": "sample string 4",
"Longitude": 5.0,
"Latitude": 6.0,
"Stamp": 7,
"NearPlaceTypeID": 8,
"Image": "sample string 9",
"Url": "sample string 10",
"Stars": 11,
"LanguageID": 1,
"Language": {
"ID": 1,
"Name": "sample string 2",
"FlowDirection": 1
},
"NearPlaceType": {
"ID": 1,
"Name": "sample string 2",
"Stamp": 3,
"LanguageID": 4,
"Language": {
"ID": 1,
"Name": "sample string 2",
"FlowDirection": 1
}
}
}
]
application/xml, text/xml
Sample:
<ArrayOfNearPlace xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models">
<NearPlace>
<Details>sample string 4</Details>
<ID>1</ID>
<Image>sample string 9</Image>
<Language>
<FlowDirection>RightToLeft</FlowDirection>
<ID>1</ID>
<Name>sample string 2</Name>
</Language>
<LanguageID>1</LanguageID>
<Latitude>6</Latitude>
<Longitude>5</Longitude>
<Name>sample string 2</Name>
<NearPlaceType>
<ID>1</ID>
<Language>
<FlowDirection>RightToLeft</FlowDirection>
<ID>1</ID>
<Name>sample string 2</Name>
</Language>
<LanguageID>4</LanguageID>
<Name>sample string 2</Name>
<Stamp>3</Stamp>
</NearPlaceType>
<NearPlaceTypeID>8</NearPlaceTypeID>
<Stamp>7</Stamp>
<Stars>11</Stars>
<Summary>sample string 3</Summary>
<Url>sample string 10</Url>
</NearPlace>
<NearPlace>
<Details>sample string 4</Details>
<ID>1</ID>
<Image>sample string 9</Image>
<Language>
<FlowDirection>RightToLeft</FlowDirection>
<ID>1</ID>
<Name>sample string 2</Name>
</Language>
<LanguageID>1</LanguageID>
<Latitude>6</Latitude>
<Longitude>5</Longitude>
<Name>sample string 2</Name>
<NearPlaceType>
<ID>1</ID>
<Language>
<FlowDirection>RightToLeft</FlowDirection>
<ID>1</ID>
<Name>sample string 2</Name>
</Language>
<LanguageID>4</LanguageID>
<Name>sample string 2</Name>
<Stamp>3</Stamp>
</NearPlaceType>
<NearPlaceTypeID>8</NearPlaceTypeID>
<Stamp>7</Stamp>
<Stars>11</Stars>
<Summary>sample string 3</Summary>
<Url>sample string 10</Url>
</NearPlace>
</ArrayOfNearPlace>