A subscriber must be registered in order to receive push notifications. To do this, an API application should send a subscription request. It contains 2 properties:
- SubscriberPushToken
- SerialNumber
The SubscriberPushToken is a unique identifier of subscriber. An application server can use these tokens to distinguish notifications for different devices. If your client is a mobile application, it is recommended to pass value of your device token received from push notifications service vendor (APNS, GCM and others). The Trakopolis API server will notify an application server and pass this token and your server can pass is to push notifications vendor in order to reach your device.
The SerialNumber is a serial number assigned to terminal associated with subscriber. It is required to receive outgoing messages push notifications.
Please refer to this page for additional information about API endpoints and message format.