ItineraryBuilderProvider Service

A provider dedicated to creating itineraries from manual inputs as opposed to loading from external sources. Endpoints that are prefixed by 'add' are for non-GDS segments. To get them into the GDS, please set the appropriate addToGds level: 0 = do not add, 1 = add to PNR, 2 = add in seperate PNR with note in original. Created by nick on 5/19/16.

Namespace
http://airportal.service.cbtweb.cbt.com/
WSDL
airportal.wsdl
Path
/ItineraryBuilderProviderService

addHotelSegment Operation

Add a hotel to an itinerary. Only some fields are supported.

Input Parameters
name type description
segment hotelSegment The segment to add.
itineraryId long The itinerary to add it to.
addToGds int whether or not to add this hotel segment to the GDS. 0 = do not add, 1 = add to PNR, 2 = add in separate PNR with note
Return Value
type description
hotelSegment The updated segment. Any failures will be in the violations list in the object

addCarSegment Operation

Add a car rental to an itinerary. Only some fields are supported.

Input Parameters
name type description
segment carSegment The segment to add.
itineraryId long The itinerary to add it to.
addToGds int whether or not to add this hotel segment to the GDS. 0 = do not add, 1 = add to PNR, 2 = add in separate PNR with note
Return Value
type description
carSegment The updated segment. Any failures will be in the violations list in the object

addTravelSegment Operation

Add a misc segment to an itinerary. Only some fields are supported.

Input Parameters
name type description
segment travelSegment The segment to add.
itineraryId long The itinerary to add it to.
addToGds int whether or not to add this hotel segment to the GDS. 0 = do not add, 1 = add to PNR, 2 = add in separate PNR with note
Return Value
type description
travelSegment The updated segment. Any failures will be in the violations list in the object.

addAirSegment Operation

Add an air segment to an itinerary. Only some fields are supported.

Input Parameters
name type description
segment airSegment The segment to add.
itineraryId long The itinerary to add it to.
addToGds int whether or not to add this hotel segment to the GDS. 0 = do not add, 1 = add to PNR, 2 = add in separate PNR with note
Return Value
type description
airSegment The updated segment. Any failures will be in the violations list in the object

buildItinerary Operation

Create an empty itinerary. Only some fields are supported.

Input Parameters
name type description
itinerary itinerary The itinerary to add to the GDS.
addToGds int whether or not to add this hotel segment to the GDS. 0 = do not add, 1 = add to GDS.
Return Value
type description
itinerary The new itinerary. Any failures will be in the violations list in the object. The GDS record locator will be returned in the record locator field if successful.

removeHotelSegment Operation

Remove a hotel segment from an itinerary.

Input Parameters
name type description
segment hotelSegment Identifying information about which segment to remove.
itineraryId long The itinerary ID to remove the segment from.
removeFromGds int whether or not to remove this hotel segment from the GDS. 0 = do not remove, 1 = remove from GDS.

removeCarSegment Operation

Remove a hotel segment from an itinerary.

Input Parameters
name type description
segment carSegment Identifying information about which segment to remove.
itineraryId long The itinerary ID to remove the segment from.
removeFromGds int whether or not to remove this hotel segment from the GDS. 0 = do not remove, 1 = remove from GDS.

removeTravelSegment Operation

Remove a hotel segment from an itinerary.

Input Parameters
name type description
segment travelSegment Identifying information about which segment to remove.
itineraryId long The itinerary ID to remove the segment from.
removeFromGds int whether or not to remove this hotel segment from the GDS. 0 = do not remove, 1 = remove from GDS.

removeAirSegment Operation

Remove a hotel segment from an itinerary.

Input Parameters
name type description
segment airSegment Identifying information about which segment to remove.
itineraryId long The itinerary ID to remove the segment from.
removeFromGds int whether or not to remove this hotel segment from the GDS. 0 = do not remove, 1 = remove from GDS.