CalculateTripCostString

Container: CCPService
Namespace: System.Data.Objects

Summary

Calculate the cost of a trip on the specified transporter by checking all standard trips or calculate it by rates

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
model CostCalcModel The model.
Parameters marked with a * are required

Return

Type: Edm.String
Is collection: false
Summary: V20 and earlier: Concatenated string (|), First value (decimal): Amount of the standard trip when found or calculated value, when nothing found returns -1. Second value (int): planned duration in seconds. Third value (decimal): planned distance in KM. Throws an exception when unsuccessful.
V21 and greater: Same result when successful but returns a null string when unsuccessful

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/CalculateTripCostString