Trip.Stop

Container: CCPService
Namespace: System.Data.Objects

Summary

Stops the trip. Will reverse geocode the dropoff address when latitude and longitude are supplied.

Method

The HTTP method for this function import is POST

Bindable

This action is bound to Trips

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

Return

Type: Edm.Boolean
Is collection: false

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/Trips(#)/Stop
Example body (sent with POST-request):
{
  "shiftId" : 1,
  "latitude" : 51.55404,
  "longitude" : 5.079524,
  "forceStop" : 1
}