Trip.Stop
Container: CCPServiceNamespace: System.Data.Objects
Summary
Stops the trip. Will reverse geocode the dropoff address when latitude and longitude are supplied.Parameters
| Name | Type | Summary |
|---|---|---|
| shiftId* | Edm.Int32 | The shift id. |
| latitude | Edm.Double | The latitude. |
| longitude | Edm.Double | The longitude. |
| forceStop* | Edm.Boolean | if set to <c>true</c> [force stop] the trip will be stopped even when the current shift is a terminal shift. |
Return
Type: Edm.BooleanIs collection: false
Example
Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/Trips(#)/StopExample body (sent with POST-request):
{
"shiftId" : 1,
"latitude" : 51.55404,
"longitude" : 5.079524,
"forceStop" : 1
}