EvaluateTripRules

Container: CCPService
Namespace: 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 GET

This 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
Parameters marked with a * are required

Return

Type: Entity type - TripRule
Is collection: true
Summary: A collection of TripRules that will be violated by this trip/booking based on the given TripRuleTypeFlags

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/EvaluateTripRules ?entitySetId=x &entityId=x &tripRuleTypeFlags=x