VendorProvider Service

An API to interact with vendor objects.

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

getAirVendorById Operation

Get the air vendor by it's ID.

Input Parameters
name type description
id long The id of the vendor.
Return Value
type description
airVendor The AirVendor represented by the provided ID.

getAirVendorByName Operation

Get the air vendor by its name

Input Parameters
name type description
name string The name of the vendor
Return Value
type description
airVendor The AirVendor object

getAirVendorByTicketNumber Operation

Get the air vendor by a ticket number.

Input Parameters
name type description
ticketNumber string The ticket number to search
Return Value
type description
airVendor The AirVendor object

getHotelVendorById Operation

Get the hotel vendor by it's ID.

Input Parameters
name type description
id long The id of the vendor.
Return Value
type description
hotelVendor The HotelVendor represented by the provided ID.

getCarVendorById Operation

Get the car vendor by it's ID.

Input Parameters
name type description
id long The id of the vendor.
Return Value
type description
carVendor The CarVendor represented by the provided ID.

getCarVendorByName Operation

Input Parameters
name type description
name string  
Return Value
type description
carVendor  

getTrainVendorById Operation

Get the train vendor by it's ID.

Input Parameters
name type description
id long The id of the vendor.
Return Value
type description
trainVendor The TrainVendor represented by the provided ID.

getAirVendorByCode Operation

Get the air vendor by it's unique code.

Input Parameters
name type description
code string The unique code for the vendor.
Return Value
type description
airVendor The AirVendor represented by the provided code.

getAirVendorByAirlineNumber Operation

Input Parameters
name type description
code string  
Return Value
type description
airVendor  

getAirVendorsByAirlineNumber Operation

Airline numbers are not unique. This will return all records of a particular airline number.

Input Parameters
name type description
code string The airline number to search for.
Return Value
type description
list of airVendor A list of all air vendors that share the same airline number.

getCarVendorByCode Operation

Get the car vendor by it's unique code.

Input Parameters
name type description
code string The unique code for the vendor.
Return Value
type description
carVendor The CarVendor represented by the provided code.

getHotelVendorByCode Operation

Get the hotel vendor by it's unique code.

Input Parameters
name type description
code string The unique code for the vendor.
Return Value
type description
hotelVendor The HotelVendor represented by the provided code.

getHotelVendorByName Operation

Input Parameters
name type description
name string  
Return Value
type description
hotelVendor  

getTrainVendorByCode Operation

Get the train vendor by it's unique code.

Input Parameters
name type description
code string The unique code for the vendor.
Return Value
type description
trainVendor The TrainVendor represented by the provided code.

getTrainVendorByName Operation

Input Parameters
name type description
name string  
Return Value
type description
trainVendor  

getTravelVendorByCode Operation

Get the travel (non-arc) vendor by it's unique code.

Input Parameters
name type description
code string The unique code for the vendor.
Return Value
type description
travelVendor The Travel Vendor represented by the provided code.

getTravelVendorByName Operation

Get the travel (non-arc) vendor by it's name.

Input Parameters
name type description
name string The unique name for the vendor.
Return Value
type description
travelVendor The Travel Vendor represented by the provided name.

updateAirVendor Operation

Update the air vendor.

Input Parameters
name type description
vendor airVendor The air vendor to update.
Return Value
type description
airVendor The updated vendor.

updateHotelVendor Operation

Update the hotel vendor.

Input Parameters
name type description
vendor hotelVendor The hotel vendor to update.
Return Value
type description
hotelVendor The updated vendor.

updateCarVendor Operation

Update the car vendor.

Input Parameters
name type description
vendor carVendor The car vendor to update.
Return Value
type description
carVendor The updated vendor.

updateCarLocation Operation

Update a car rental agency.

Input Parameters
name type description
location carLocation The car rental agency to update.
Return Value
type description
carLocation  

updateTrainVendor Operation

Update the train vendor.

Input Parameters
name type description
vendor trainVendor The train vendor to update.
Return Value
type description
trainVendor The updated vendor.

updateVendorContact Operation

Update the vendor contact

Input Parameters
name type description
contact vendorContact The vendor contact to update.
Return Value
type description
vendorContact the updated vendor contact.

deleteVendorContact Operation

Remove the vendor contact

Input Parameters
name type description
id long the vendor contact id

searchAirVendors Operation

Search all air vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by air vendors.
Return Value
type description
list of airVendor A list of AirVendors.

searchCarVendors Operation

Search all car vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by car vendors.
Return Value
type description
list of carVendor A list of CarrVendors.

searchHotelVendors Operation

Search all hotel vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by hotel vendors.
Return Value
type description
list of hotelVendor A list of HotelVendors.

searchTrainVendors Operation

Search all train vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by train vendors.
Return Value
type description
list of trainVendor A list of TrainVendors.

searchTravelVendors Operation

Search all travel vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by travel vendors.
Return Value
type description
list of travelVendor A list of TravelVendors.

searchVendorContacts Operation

Search all vendor contacts using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by vendor contacts
Return Value
type description
list of vendorContact A list of VendorContacts.

countTravelVendors Operation

Count all travel vendors using the query provided.

Input Parameters
name type description
searchList searchList The query for searching by travel vendors.
Return Value
type description
long A list of TravelVendors.

updateTravelVendor Operation

Update a travel vendor.

Input Parameters
name type description
vendor travelVendor The travel vendor to update.
Return Value
type description
travelVendor The updated vendor.

getAirVendorAssociates Operation

Get an air vendor and it's associates based on the vendor code provided. Air vendor associates will share deals, like frequent flyer numbers.

Input Parameters
name type description
code string The vendor code to get for an associated vendor.
Return Value
type description
list of airVendor The air vendors that are associated with this vendor code.

getAirAlliances Operation

Get all airline alliances. Airline alliances will share information, like frequent flyer numbers.

Return Value
type description
list of airVendorAlliance Get all airline alliances. Airline alliances will share frequent flyer numbers and other information.

getHotelFamilies Operation

Get all hotel families. A hotel family is the company that owns hotel brands.

Return Value
type description
list of hotelFamily Get all hotel families. A hotel family is the company that owns hotel brands.

getHotelProperties Operation

Get all hotel properties using a search.

Input Parameters
name type description
search searchList The search parameters to find hotel properties with.
Return Value
type description
list of hotelLocation A list of hotel properties found using the given query.

getHotelLocationById Operation

Get hotel location by ID

Input Parameters
name type description
id long The id of the hotel location
Return Value
type description
hotelLocation The hotel location represented by the provided ID.

getHotelLocationByZipCode Operation

get list of hotelLocation by zip code

Input Parameters
name type description
zipcode string  
Return Value
type description
list of hotelLocation  

getHotelLocationByHotelName Operation

Input Parameters
name type description
name string  
Return Value
type description
hotelLocation  

getHotelLocationByZipCodeAndAddress Operation

get list of hotelLocation by zip code

Input Parameters
name type description
zipcode string  
address string  
Return Value
type description
hotelLocation  

mergeHotels Operation

Merge two hotel locations into one

Input Parameters
name type description
keepId long  
mergeId long  
Return Value
type description
hotelLocation The hotel id other hotel has been merged into or error

updateHotelLocation Operation

Update a hotel property.

Input Parameters
name type description
property hotelLocation The hotel property to update.
Return Value
type description
hotelLocation The updated hotel property.

countAirVendors Operation

Get a count of air vendors returned from a searchlist

Input Parameters
name type description
list searchList The list of parameters to get a count of air vendors for.
Return Value
type description
long An integer stating the number of vendors found

countHotelVendors Operation

Get a count of hotel vendors returned from a searchlist

Input Parameters
name type description
list searchList The query to get a count of hotel vendors for.
Return Value
type description
long An integer stating the number of vendors found.

countCarVendors Operation

Get a count of car vendors returned from a searchlist

Input Parameters
name type description
list searchList The query to get a count of car vendors for.
Return Value
type description
long An integer stating the number of vendors found.

countRailVendors Operation

Get a count of Rail vendors returned from a searchlist

Input Parameters
name type description
list searchList The query to get a count of rail vendors for.
Return Value
type description
long An integer stating the number of vendors found.

countHotelProperties Operation

Get a count of hotel properties returned from a searchlist

Input Parameters
name type description
list searchList The query to get a count of hotel properties for.
Return Value
type description
long An integer stating the number of hotel properties found.

countVendorContacts Operation

Get a count of vendor contacts returned from a searchlist

Input Parameters
name type description
list searchList The query to get a count of vendor contacts.
Return Value
type description
long an integer stating the number of vendor contacts found.

getAirVendorAllianceByCode Operation

Get a carrier alliance by it's given code.

Input Parameters
name type description
code string The code for a particular carrier alliance.
Return Value
type description
airVendorAlliance An airline alliance represented by the given code, or null if not found.