PUT api/NearPlaceTypes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

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

None.