TmcProvider Service

A provider to interact with Travel Management Companies and their settings. Created by nick on 11/12/15.

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

searchTravelManagementCompanies Operation

Search all TMCs.

Input Parameters
name type description
searchList searchList A searchlist containing the query to receive all TMCs.
Return Value
type description
list of travelManagementCompany A list of TMCs.

getTmcById Operation

Get a specific TMC

Input Parameters
name type description
id long The ID of the TMC
Return Value
type description
travelManagementCompany  

getAllTmcSettings Operation

Get a list of all TmcSettings

Return Value
type description
list of tmcSettings a list of all TmcSettings

getTmcSettings Operation

Get the TMC settings for a TMC.

Input Parameters
name type description
id long The ID of the TMC.
Return Value
type description
tmcSettings The settings for this TMC.

updateTmcSettings Operation

Update the settings for a TMC.

Input Parameters
name type description
record tmcSettings The settings to update.
Return Value
type description
tmcSettings The settings for this TMC.

getTmcForLoggedInUser Operation

Get the TMC that this user books travel through.

Return Value
type description
travelManagementCompany The TMC that the logged in user books travel through.

getTmcSettingsForLoggedInUser Operation

Get the settings for the TMC that this user books travel through.

Return Value
type description
tmcSettings The settings for the TMC that this user books travel through.

getHeadQuartersForTmc Operation

Get the office information for a TMC.

Input Parameters
name type description
tmcid long The ID of the TMC to get office information for.
Return Value
type description
officeInfo The office information for the headquarters office of this TMC.

getOfficesForTmc Operation

Get a list of every office location for the provided TMC.

Input Parameters
name type description
tmcid long The ID of the TMC to get offices for.
Return Value
type description
list of officeInfo A list of all office locations for this TMC.