PUT api/NearPlaces/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
AddUpdateNearPlace| 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. |
|
| NearPlaceTypeID | integer |
None. |
|
| LanguageID | integer |
None. |
|
| Image | string |
None. |
|
| Url | string |
None. |
|
| Stars | integer |
None. |
Request 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,
"NearPlaceTypeID": 7,
"LanguageID": 1,
"Image": "sample string 8",
"Url": "sample string 9",
"Stars": 10
}
application/xml, text/xml
Sample:
<AddUpdateNearPlace xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetraAPI.Models"> <Details>sample string 4</Details> <ID>1</ID> <Image>sample string 8</Image> <LanguageID>1</LanguageID> <Latitude>6</Latitude> <Longitude>5</Longitude> <Name>sample string 2</Name> <NearPlaceTypeID>7</NearPlaceTypeID> <Stars>10</Stars> <Summary>sample string 3</Summary> <Url>sample string 9</Url> </AddUpdateNearPlace>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.