GET ./utilizatori/pushtok
Tags: simple-query
The endpoint will return the list will all tokens that are associated to a user.
GET parameters
| Nume | Tip | Validari generice | Detalii |
|---|---|---|---|
| ptUaID | int | required | User ID. |
Validation
| Error Field | Error Code | Error Message |
|---|---|---|
| ptUaID | 101 | Invalid uaID. |
Output example
{"meta": {"countTotal": "3","countData": "3","countOffset": "0"},"data": [{"ptID": "5","ptUaID": "5335","ptToken": "TESF SAF AS #%EGSDG","ptDevice": "S9","ptInsertDate": "2018-12-10 13:58:22"},{"ptID": "4","ptUaID": "5335","ptToken": "TESF SAF AS","ptDevice": "S9","ptInsertDate": "2018-12-10 13:58:19"},{"ptID": "1","ptUaID": "5335","ptToken": "sahdfh","ptDevice": "S9","ptInsertDate": "2018-12-10 13:51:04"}]}
