Keys Collection
Will list all keys.
URL Structure is:
https://api.trackunit.com/public/Key
GetKeys
Columns
Name | Data type | Unit of measurement | Nullability | Note |
---|---|---|---|---|
id | String | N/A | FALSE | Unique identifier. |
name | String | N/A | FALSE | Name of key |
serialNumber | String | Hex Key ID | FALSE | |
keyValid | String | time string | FALSE | |
keyExpire | String | time string | FALSE | |
isAdmin | Bool | N/A | FALSE | |
companyName | String | N/a | TRUE | |
email | String | N/A | TRUE | |
mobile | String | N/A | TRUE | |
phone | String | N/A | TRUE | |
note | String | N/A | TRUE | |
expirationDate | DateTime | UTC | TRUE | |
employeeNumber | String | N/A | TRUE | |
units | String[] | N/A | TRUE | |
groups | String[] | N/A | TRUE |
Request (example)
{}
Response
{
"list": [
{
"id": "11455",
"name": "John Ericsson",
"serialNumber": "6100001587691E09",
"keyValid": "60sec",
"keyExpire": "10min",
"isAdmin": false,
"companyName": "Chemnitz Bau- & Materiel",
"note": "",
"expirationDate": "2014-07-31T22:00:00.0000000",
"employeeNumber": "12",
"units": [],
"groups": [
"8819"
]
},
{
"id": "11456",
"name": "Tom Persson",
"serialNumber": "6200011587691E09",
"keyValid": "60sec",
"keyExpire": "10min",
"isAdmin": false,
"companyName": "Chemnitz Bau- & Materiel",
"note": "",
"expirationDate": "2014-06-30T22:00:00.0000000",
"employeeNumber": "8",
"units": [],
"groups": [
"8820"
]
}
]
}
Updated less than a minute ago