GET api/NearPlaceTypes

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of NearPlaceType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Stamp

integer

None.

LanguageID

integer

None.

Language

Language

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "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",
    "Stamp": 3,
    "LanguageID": 4,
    "Language": {
      "ID": 1,
      "Name": "sample string 2",
      "FlowDirection": 1
    }
  }
]

application/xml, text/xml

Sample:
<ArrayOfNearPlaceType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models">
  <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>
  <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>
</ArrayOfNearPlaceType>