UpdateDeviceLocation

Container: CCPService
Namespace: System.Data.Objects

Summary

Updates the device location.

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
deviceId* Edm.Int32 The device id.
latitude* Edm.Double The latitude.
longitude* Edm.Double The longitude.
vehicleId Edm.Int32 The vehicle id.
Parameters marked with a * are required

Return

Type: void
Is collection: false

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/UpdateDeviceLocation
Example body (sent with POST-request):
{
  "deviceId" : 1,
  "latitude" : 51.55404,
  "longitude" : 5.079524,
  "vehicleId" : 1
}