TravelAdvice

Namespace: CCPEntities

Summary

The platform can return zero or more travel advices from different internal providers. Each advice is specific to a kind of transportation (e.g Public Transport or Taxi). Each advice can contain a number of variations of the journey.

Read Only

This object is read only

Properties

Name Type FixedLength MaxLength/Range Identity Summary Value
key TravelAdviceId* Edm.Int32 False true A unique id for the advice. Every internal advice provider has it's own id. It can be used to identify a particular provider
ProviderId* Edm.Int32 False Id of the provider that genereated this advice
Description Edm.String False A description of the advice. Can be used to present this to the user.
JourneyCount* Edm.Int32 False The number of journeys in the advice. Every advice can have one or more journeys for different variations of the advice or at different moments
TravelAdviceSetId* Edm.Int32 False Identifier of a set of travel advices
ContractId Edm.Int32 False Returns the id of the contract used for this advice
IsMandatory* Edm.Boolean False Indicates if the advice is mandatory. When this property is set to true the returned advice is mandatory for this traveler. It indicates that there were possible other advices but the contract included a rule that made this advice mandatory. When true, other advices should not be returned by the platform. If that isn't the case, the other advices should be ignored.
TripRuleId Edm.Int32 False Id of a trip rule that might be blocking this advice
GlobalResourceItemId Edm.Int32 False Id of a trip rule that might be blocking this advice
TravelerId Edm.Int32 False
TransporterId* Edm.Int32 False
ContractorId Edm.Int32 False
Properties marked with a * are required

Navigation Properties

Name Type Multiplicity Summary
Contract Contract * Reference property to the Contract
Contractor Contractor *
GlobalResourceItem GlobalResourceItem * Reference property to the TripRule
Journeys TravelAdviceJourney 0..1 A collection of different variations for this advice.
Transporter Transporter *
Traveler Traveler *
TripRule TripRule * Reference property to the TripRule

Additional Information

No additional information found

Example

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