Returns an array of agent records in the selected view.
GET /assetmgmt/agentsinview/{viewId}
Headers
Model Schema
Field |
Datatype |
Filterable |
Sortable |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
|
|
|
|
|
|
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
Agent Status Response Codes
The table below explains each response code for the Online field.
Response Code |
Status |
0 |
Agent Offline |
1 |
User Not Logged In and Agent is online |
2 |
User Not Logged In and Agent is Idle |
11 |
User Logged In and Agent is Active |
12 |
User Logged In and Agent is Inactive |
198 |
Agent Suspended |
199 |
Agent never checked in |
Sample Response Model
{
"Result": [
{
"AgentId": 0,
"AgentName": "string",
"Online": 0,
"OSType": "string",
"OSInfo": "string",
"OrgId": 0,
"MachineGroupId": 0,
"ComputerName": "string",
"IPv6Address": "string",
"IPAddress": "string",
"OperatingSystem": "string",
"OSVersion": "string",
"LastLoggedInUser": "string",
"LastRebootTime": "2016-02-05T21:02:56.716Z",
"LastCheckInTime": "2016-02-05T21:02:56.716Z",
"Country": "string",
"CurrentUser": "string",
"Contact": "string",
"TimeZone": "string",
"RamMBytes": 0,
"CpuCount": 0,
"CpuSpeed": 0,
"CpuType": "string",
"DomainWorkgroup": "string",
"Attributes": {}
}
],
"ResponseCode": 0,
"Status": "string",
"Error": "string"
}