CalculateTripCostString
Container: CCPServiceNamespace: System.Data.Objects
Summary
Calculate the cost of a trip on the specified transporter by checking all standard trips or calculate it by ratesMethod
The HTTP method for this function import is POSTParameters
| Name | Type | Summary |
|---|---|---|
| model | CostCalcModel | The model. |
Return
Type: Edm.StringIs 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