POST api/PlaceCities
Request Information
URI Parameters
None.
Body Parameters
PlaceCityBindingModels| Name | Description | Type | Additional information |
|---|---|---|---|
| PlaceId | integer |
Required |
|
| CityId | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"PlaceId": 1,
"CityId": "sample string 2"
}
application/xml, text/xml
Sample:
<PlaceCityBindingModels xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <CityId>sample string 2</CityId> <PlaceId>1</PlaceId> </PlaceCityBindingModels>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PlaceCity| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| PlaceId | integer |
None. |
|
| CityId | string |
None. |
|
| City | City |
None. |
|
| Place | Place |
None. |
Response Formats
application/json
Sample:
Sample not available.
text/json
Sample:
Sample not available.
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.