Get Client Trips

The following GetClientTrips context properties are specific to the behavior of the PassGetClientTrips method.

Table 1. Get Client Trips Properties
Property Description
PASS > PassInfoServer > GetClientTrips > HideTripsWithSubtype Trips on the ViewTrips page will not be shown if the subtype abbreviation is equal to this value. If blank, no trips will be hidden.
PASS > PassInfoServer > GetClientTrips > NaturalSort Defines how client trips should be sorted:
  • Sort by oldest trips first
  • Sort depending on where the dates lie with respect to the current date (this matches the old behavior, where the system would show the most recent trips if there is a to date only or if both the from date and to date are in the past)
  • Sort by most recent trips first

The default setting is Sort by oldest trips first.

PASS > PassInfoServer > GetClientTrips > MaxTripsReturnable Maximum number of records that will be returned by a call to GetClientTrips.

If any query produces more, an error will be returned instead.

PASS > PassInfoServer > GetClientTrips > Number of Days Ahead Number of days from the current date for which GetClientTrips will search for active subscriptions. Set to 0 to report to the end of next month.
PASS > PassInfoServer > GetClientTrips > NumberOfMonthsBehind Number of months, excluding the current month, to look back for previous trips on the View Trips page.

For example, if the current month is April, the value 3 lets the user select months going back to and including January.

Set to 0 to set the earliest date to January 1990.

The default is 0 and is stored in the database.

PASS > PassInfoServer > GetClientTrips > PrecedenceForDisplayTime Precedence order used when selecting trip times to be displayed by browsers.

If Sch/Neg/Req are all blank, EstTime will be used if available.

PASS > PassInfoServer > GetClientTrips > UseUserTime If selected, then in the GetClientTrips response, then the value of the SchTime field will be that of the UserTime1 field when not empty.
PASS > PassInfoServer > GetClientTrips > Use actual day trips If selected, allows the client to view the trip on the actual day, not the service day.
PASS > PassInfoServer > GetClientTrips > HideTripsWithSubtype Does not show trips on the pViewTrips page if the SubTypeAbbr is equal to this value. If blank, no trips will be hidden. Default: ", Stored: db.
PASS > PassInfoServer > GetClientTrips > Access > Expressions > CanCancelBooking Expression determines whether or not the displayed trip can be cancelled.
PASS > PassInfoServer > GetClientTrips > Expressions > FilterTrips Expression filters trips based on specific booking attributes (for example, CCSecGroup, SubTypeAbbr).
PASS > PassInfoServer > GetClientTrips > ProviderMessage > Enabled If selected, then the provider message with a specific ProviderId will be displayed on the View Trip Page.
PASS > PassInfoServer > GetClientTrips > ProviderMessage > ProviderId If Enabled is selected, then the provider message with this ProviderId will displayed.
PASS > PassInfoServer > GetClientTrips > ProviderMessage > ProviderName Provider name corresponding to the ProviderId.
PASS > PassInfoServer > GetClientTrips > ProviderMessage > Message Corresponding ProviderId message to be displayed if Enabled is selected.
PASS > PassInfoServer > GetClientTrips > ProviderMessage > ShownTime Provider message will appear only after this ShownTime (raw time) on the day before the trip.