ValueLogicProvider Service

The standard service endpoints for the valuelogic system, scope is the basic CRUD for valuelogic records and Udid information

Namespace
http://vasr.service.cbtweb.cbt.com/
WSDL
valuelogic.wsdl
Path
/ValueLogicProviderService

getVasrByRecordLocator Operation

Retrieve a vasr by the record locator

Input Parameters
name type description
recordLocator string Record locator to use to find the the savings summary.
Return Value
type description
itinerarySavingsSummary The found savings summary

getVasrById Operation

Retrieve a savings summary by its id

Input Parameters
name type description
savingsSummaryId long The id to use to find the summary
Return Value
type description
itinerarySavingsSummary The found savings summary

getUdidByNumber Operation

Retrieve a udid by number

Input Parameters
name type description
number long The UDID number to use to search by
Return Value
type description
list of valuelogicUdidInfo Found UDID

getAllUdidsForClient Operation

Retrieve all udids for a client

Input Parameters
name type description
client client The client to get a UDID list for
Return Value
type description
list of valuelogicUdidInfo The UDID list for a client

getAllUdids Operation

Get all available UDIDS

Return Value
type description
list of valuelogicUdidInfo All Available UDIDs

translatePnrToVasr Operation

Translates an pnr into an itinerary savings summary object

Input Parameters
name type description
recordLocator string The record locator to search by
clientId long The client to search by
Return Value
type description
itinerarySavingsSummary The translated pnr

getUdidService Operation

Get the Udid Service by travel type, savings type, and client

Input Parameters
name type description
clientId long The client to search by
travelType string The travel type code to search by
savingsType string The savings type code to search by
Return Value
type description
valuelogicUdidService The found UDID service

searchValuelogic Operation

Searches the Vasr schema with the given filters

Input Parameters
name type description
filters searchList The filters to apply to the search
Return Value
type description
list of itinerarySavingsSummary The found list of savings summaries

searchSimpleValueLogic Operation

Input Parameters
name type description
search searchList  
Return Value
type description
list of simpleItinerarySavings  

countValueLogic Operation

Input Parameters
name type description
search searchList  
Return Value
type description
long  

getAverageSavingsPerPnr Operation

Get the average savings for a summary

Input Parameters
name type description
clientId long The client to search by
Return Value
type description
string The average savings (In String form!)

getSavingsTypeByCode Operation

Get a savings type by its identifying code

Input Parameters
name type description
code string Code to get savings type of.
Return Value
type description
savingsType The matching savings type

getServices Operation

Get a list of services by travel type

Input Parameters
name type description
travelTypeCode string The code to get services for
Return Value
type description
list of valuelogicUdidService The found list of services

getValueLogicServiceByCode Operation

Get a service by its code and number

Input Parameters
name type description
code string the service code
number int the service number
Return Value
type description
valuelogicUdidService the matched service

getDetails Operation

Get the details for an itinerary savings summary

Input Parameters
name type description
itinerarySavingsSummaryId long The summary to get details for
Return Value
type description
list of itinerarySavingsDetail A list of details that belong to the summary.

getServiceById Operation

Get a service by id.

Input Parameters
name type description
serviceId long The service to retrieve
Return Value
type description
valuelogicUdidService The found service

saveItinerarySavingsSummary Operation

Save an itinerary savings summary

Input Parameters
name type description
summary itinerarySavingsSummary The summary to save
Return Value
type description
itinerarySavingsSummary The saved summary

getAllAvailableServices Operation

Get all available services for the office of the logged in user.

Return Value
type description
list of valuelogicUdidService A list of available services

getItinerarySavingsDetailById Operation

Get an itinerary savings detail by id

Input Parameters
name type description
itinerarySavingsDetailId long Detail id to search by
Return Value
type description
itinerarySavingsDetail The matching itinerary savings detail

getSavingsSummaryFilters Operation

Get savings summary filters

Return Value
type description
list of filterItem Filters available

getSoftSavings Operation

Get the soft savings for the client

Input Parameters
name type description
clientId long Client to search for soft savings.
Return Value
type description
list of valuelogicUdidService List of soft savings

getHardSavings Operation

get the hard savings for the client

Input Parameters
name type description
clientId long Client to search for hard savings
Return Value
type description
list of valuelogicUdidService List of hard savings

getMonthlySavingsByTravelType Operation

Get monthly savings

Input Parameters
name type description
accountNumbers list of string Account numbers to search by
startDate dateTime Start period
endDate dateTime End Period
travelType string Type of travel to search by
Return Value
type description
list of itinerarySavingsSummary List of monthly savings

getValueLogicSavingsSummary Operation

Get a summary of total value logic savings for a given time period.

Input Parameters
name type description
list searchList A filter list asking for specific time periods or data.
Return Value
type description
travelSpendSummaryPojo A summary of total value logic savings for the given search criteria.

getValueLogicMonthlyAverage Operation

Get a monthly average of total savings per record locator.

Input Parameters
name type description
list searchList A list to search for specific savings criteria.
Return Value
type description
list of travelSpendSummaryPojo A list of summaries of averages for the given search criteria.

getValueLogicMonthlyTotal Operation

Get a monthly total of total savings per record locator.

Input Parameters
name type description
list searchList A list to search for specific savings criteria.
Return Value
type description
list of travelSpendSummaryPojo A list of summaries of totals for the given search criteria.