POST ./utilizatori/pushtok
Add a new token for a user.
POST parameters
| Name | Value Type | Validation | Details |
|---|---|---|---|
| ptUaID | int | required | User ID. |
| ptToken | string | required | Token |
| ptDeviceID | string | required | Device's ID |
| ptDeviceName | string | required | Name/Model of the device |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| ptUaID | 101 | Invalid ID or no permission. |
| ptUaID | 102 | Invalid ID or no permission. |
Output example
{"ptID": 8065,"linked": [8066, 8067]}
