PUT api/PlaceCities/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

EditPlaceCityBindingModels
NameDescriptionTypeAdditional information
Id

integer

Required

PlaceId

integer

Required

CityId

string

Required

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PlaceId": 2,
  "CityId": "sample string 3"
}

application/xml, text/xml

Sample:
<EditPlaceCityBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <CityId>sample string 3</CityId>
  <PlaceId>2</PlaceId>
  <Id>1</Id>
</EditPlaceCityBindingModels>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.