StartShift
Container: CCPServiceNamespace: System.Data.Objects
Summary
Attempts to start a new shiftWhen there is a pending transfer, the transfer is withdrawn before the shift is started,
returning all planned trips and pending bookings to transfer owner
Method
The HTTP method for this function import is POSTParameters
| Name | Type | Summary |
|---|---|---|
| vehicleId* | Edm.Int32 | The ID of the vehicle, used during the shift |
| driverId* | Edm.Int32 | The ID of the driver of the vehicle |
| deviceId* | Edm.Int32 | The ID of the device to sets it's current shift. |
Return
Type: Entity type - ShiftSummaryIs collection: false
Summary: A new, started shift
Example
Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/StartShiftExample body (sent with POST-request):
{
"vehicleId" : 1,
"driverId" : 1,
"deviceId" : 1
}