GET api/clients/{clientID}/subscription?startDate={startDate}&endDate={endDate}&additionalPassengerMode={additionalPassengerMode}

Gets the recurring trips for a client within a specific date range.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
clientID

ID of the client to get trips for.

integer

Required

startDate

The start date of the date range to find trips for.

date

None.

endDate

The end date of the date range to find trips for.

date

None.

additionalPassengerMode

If set to , the client will be automatically included in the additional passengers list.

AdditionalPassengerMode

Default value is ClientPlusAdditionalPassengers

Body Parameters

None.

Response Information

Resource Description

Returns the list of trips.

Collection of BookedRecurringTripItinerary
NameDescriptionTypeAdditional information
Days

Gets or sets the days that this recurring trip will apply to.

TripDays

None.

IsPending

Whether this trip is currently in a "Pending" status.

boolean

None.

Trips

Collection of BookedRecurringTrip

None.

ContainsReturnTrip

boolean

None.

Count

integer

None.

Item

BookedRecurringTrip

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.