EvaluateTripRules
Container: CCPServiceNamespace: System.Data.Objects
Summary
Equivalent of the removed CheckForTripRule-method. Instead of using TripRuleType, this used the flagged version of it, namely TripRuleTypeFlagged.Method
The HTTP method for this function import is GETThis function is composable
This means that the query can be further extended with OData Query Options (like $select, $filter, etc.)Parameters
| Name | Type | Summary |
|---|---|---|
| entitySetId* | Edm.Int32 | Id of the entityset to check |
| entityId* | Edm.Int32 | Id of the trip/booking |
| tripRuleTypeFlags* | Edm.Int32 | Indicating for which TripRules to check for with <see cref="T:CCPEntities.TripRuleTypeOptions" />TripRuleTypeOptions |
Return
Type: Entity type - TripRuleIs collection: true
Summary: A collection of TripRules that will be violated by this trip/booking based on the given TripRuleTypeFlags