SendTransferRequest

Container: CCPService
Namespace: System.Data.Objects

Summary

Creates and sends a CCPEntities.Transfer record with request,
from current user (having active shift 'shiftId') to another driver (must have an active shift).

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
shiftId* Edm.Int32 The ID of the current shift of the user
driverId* Edm.Int32 The ID of the another driver
Parameters marked with a * are required

Return

Type: Entity type - Transfer
Is collection: false
Summary: A CCPEntities.Transfer having TransferStatus.Requesting

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/SendTransferRequest
Example body (sent with POST-request):
{
  "shiftId" : 1,
  "driverId" : 1
}