TravelAdviceJourney

Namespace: CCPEntities

Summary

Every TravelAdvice contains one or more journeys. The journeys in the advice are different alternatives. The best alternative according to contract paramaters is automatically returned in a property in the advice.

Read Only

This object is read only

Properties

Name Type FixedLength MaxLength/Range Identity Summary Value
key TravelAdviceJourneyId* Edm.Int32 False true
Description Edm.String False
Cost* Edm.Decimal False The total cost of this journey without discount
DiscountedCost* Edm.Decimal False The total cost with discounts of this journey
StartingRate* Edm.Decimal False Presentation of the starting rate used in the Cost calculation of a booking.
DistanceRate* Edm.Decimal False Presentation of the price per km used in the Cost calculation of a booking.
Distance* Edm.Double False Total traveldistance during this journey
Duration* Edm.Int32 False Total duration of the journey in seconds
NumberOfTransfers* Edm.Int32 False Number of transfers for the traveler during the journey
PickupDateTime* Edm.DateTime False Timestamp the journey commences
DropOffDateTime* Edm.DateTime False Timestamp the journey ends
IsRecommended* Edm.Boolean False When IsRecommended is true this should be the first journey that is presented to the user
ReservationURI Edm.String False Optional URI to make reservations in external systems. When applicable a Guide will be added with further information
RateId Edm.Int32 False When the journey is calculated with an internal rate this property contains the id of the rate
TravelAdviceId Edm.Int32 False
Properties marked with a * are required

Navigation Properties

Name Type Multiplicity Summary
Advice TravelAdvice 0..1
Rate Rate * Reference property to the rate
Stages TravelAdviceStage 0..1 Collection of stages of this particular TravelAdviceJourney

Additional Information

No additional information found

Example

https://www.cabmanonline.nl/CCPService/DataServiceCCP.svc/TravelAdviceJourneys