After a sucessfull login, a list of all known tracker accounts is expected:
{
"Accounts": [
{ "id": 11104000068848, "name": "Freds Tracker", "telNumber": "07123 456784", "icon": 0 },
{ "id": 11104000101755, "name": "HV11", "telNumber": "", "icon": 3 },
{ "id": 11104000235744, "name": "11104000235744", "telNumber": "", "icon": 0 },
{ "id": 11104000289071, "name": "taxi 1", "telNumber": "07253 657898", "icon": 0 },
{ "id": 11104000291713, "name": "11104000291713", "telNumber": "", "icon": 0 },
{ "id": 11104000295474, "name": "NETWORK 001", "telNumber": "", "icon": 3 },
{ "id": 12099228251, "name": "Truck 4", "telNumber": "", "
...etc....
]
}
{
"Account": {
"id": 11104000068848, "name": "Freds Tracker", "telNumber": "07123 456784", "icon": 0
}
}
If the user edits an account, this will be sent from the map.
{
setAccount:{
"id":5577344,
"name":"Stu's Droid",
"icon":2,
}
}
The server should respond with
{ "Account": { "id": 5577344, "name": "Stu's Droid", "telNumber": "", "icon": 2 } }
This message may also come from other users logged into the map.
The icon value, is an icon type. For example, 1 = Car, 2 = Boat, 3 = truck, etc.