POST api/TourTransactions/ChooseTourOperator
Request Information
URI Parameters
None.
Body Parameters
AddTourTransactionBindingModelName | Description | Type | Additional information |
---|---|---|---|
Title | string |
Required String length: inclusive between 0 and 150 |
|
RegionDestinationId | string |
Required |
|
CityDestinationId | string |
None. |
|
AdultPaxQty | integer |
None. |
|
ChildPaxQty | integer |
None. |
|
InfantPaxQty | integer |
None. |
|
StartDate | date |
Required Data type: Date |
|
EndDate | date |
Data type: Date |
|
TourCategoryId | integer |
Required |
|
TourPaxTypeId | integer |
Required |
|
GroupType | GroupType |
Required |
|
PackageType | PackageTypeEnum |
None. |
|
TourName | string |
String length: inclusive between 0 and 1000 |
Request Formats
application/json, text/json
Sample:
{ "Title": "sample string 1", "RegionDestinationId": "sample string 2", "CityDestinationId": "sample string 3", "AdultPaxQty": 4, "ChildPaxQty": 5, "InfantPaxQty": 6, "StartDate": "2025-06-26T13:01:21.212915+00:00", "EndDate": "2025-06-26T13:01:21.212915+00:00", "TourCategoryId": 9, "TourPaxTypeId": 10, "GroupType": 76, "PackageType": 0, "TourName": "sample string 11" }
application/xml, text/xml
Sample:
<AddTourTransactionBindingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TripPlannerAPI.Models.DTO"> <AdultPaxQty>4</AdultPaxQty> <ChildPaxQty>5</ChildPaxQty> <CityDestinationId>sample string 3</CityDestinationId> <EndDate>2025-06-26T13:01:21.212915+00:00</EndDate> <GroupType>Large</GroupType> <InfantPaxQty>6</InfantPaxQty> <PackageType>Custom</PackageType> <RegionDestinationId>sample string 2</RegionDestinationId> <StartDate>2025-06-26T13:01:21.212915+00:00</StartDate> <Title>sample string 1</Title> <TourCategoryId>9</TourCategoryId> <TourName>sample string 11</TourName> <TourPaxTypeId>10</TourPaxTypeId> </AddTourTransactionBindingModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
TourTransactionBuilderViewModelName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
Title | string |
None. |
|
RegionDestination | string |
None. |
|
CityDestination | string |
None. |
|
AdultPaxQty | integer |
None. |
|
ChildPaxQty | integer |
None. |
|
InfantPaxQty | integer |
None. |
|
StartDate | date |
None. |
|
EndDate | date |
None. |
|
AccommodationService | string |
None. |
|
TransportationService | string |
None. |
|
AttractionService | string |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.