GET api/TourOperatorProfileRegions/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

TourOperatorProfileRegionViewModel
NameDescriptionTypeAdditional information
TourOperatorProfile

IdTextModel

None.

Region

ValueTextModel

None.

Response Formats

application/json, text/json

Sample:
{
  "TourOperatorProfile": {
    "Id": 1,
    "Text": "sample string 2"
  },
  "Region": {
    "Value": "sample string 1",
    "Text": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<TourOperatorProfileRegionViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO">
  <Region>
    <Text>sample string 2</Text>
    <Value>sample string 1</Value>
  </Region>
  <TourOperatorProfile>
    <Id>1</Id>
    <Text>sample string 2</Text>
  </TourOperatorProfile>
</TourOperatorProfileRegionViewModel>