LogOnDevice

Container: CCPService
Namespace: System.Data.Objects

Summary

Log on to a device. Must be called before subscription for pushnotifications.

Method

The HTTP method for this function import is POST

Parameters

Name Type Summary
pushtoken Edm.String Pushtoken of the device you logged on to
applicationId* Edm.Int32 Id of your device as known in CCPService
fcmToken Edm.String Fcmtoken of the device you logged on t
Parameters marked with a * are required

Return

Type: Entity type - Device
Is collection: false
Summary: True if logged on

Example

Request URL: https://ccp.dispatchconnect.nl/CCPService/DataServiceCCP.svc/LogOnDevice
Example body (sent with POST-request):
{
  "pushtoken" : "pushtoken",
  "applicationId" : 1,
  "fcmToken" : "fcmtoken"
}