POST api/NearPlaceTypes

Request Information

URI Parameters

None.

Body Parameters

NearPlaceType
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

Stamp

integer

None.

LanguageID

integer

None.

Language

Language

None.

Request 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
  }
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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
  }
}

application/xml, text/xml

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