GET api/TourOperatorProfileRegions

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of 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"
    }
  },
  {
    "TourOperatorProfile": {
      "Id": 1,
      "Text": "sample string 2"
    },
    "Region": {
      "Value": "sample string 1",
      "Text": "sample string 2"
    }
  }
]

application/xml, text/xml

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