Gets summary of server housekeeping stats based on the date range specified
| Requires authentication? | Yes (HTTP authentication using user name and API key) |
| Response formats | JSON |
api/serverhousekeeping/summary?organisationId=5&startDate=2016-01-01 00:00&viewProcessType=true
| Name | Description |
|---|---|
|
organisationId required |
Id of the organisation |
|
nodeGuid optional |
Unique identifier for the predatar agent. If not specified, then the data for all the TSM servers will be retrieved. |
|
startDate optional |
Start date in the format yyyy-MM-dd HH:mm. If not specified, then the default value will be used, which will be seven days before the current date |
|
endDate optional |
End date in the format yyyy-MM-dd HH:mm. If not specified, then the default value will be used, which will be the current date |
|
split optional |
Can be true or false. If true then stats of individual TSM servers will be retrieved, otherwise results will be combined for all the TSM servers. The default value is false. |
|
viewProcessType optional |
Can be true or false. If false, then all the process including IDENTIFY and EXPIRATION will be included in the stats, otherwise IDENTIFY and EXPIRATION processes will be excluded. The default is false. |
[
{
"DateCreated": "2016-03-08T00:00:00",
"ResYesAbsolute": 2.0,
"ResNoAbsolute": 0.0,
"ServerName": "TSM-ABC-01",
"NodeGUID": "796B6082-A17A-4F25-AA39-3F53D9EC4CB3",
"ResNoPercentage": 0.0,
"ResYesPercentage": 100.0,
"PercentSuccess": 1.0,
"PercentFailure": 0.0
},
{
"DateCreated": "2016-03-07T00:00:00",
"ResYesAbsolute": 11.0,
"ResNoAbsolute": 0.0,
"ServerName": "TSM-ABC-01",
"NodeGUID": "796B6082-A17A-4F25-AA39-3F53D9EC4CB3",
"ResNoPercentage": 0.0,
"ResYesPercentage": 100.0,
"PercentSuccess": 1.0,
"PercentFailure": 0.0
},
{
"DateCreated": "2016-03-06T00:00:00",
"ResYesAbsolute": 10.0,
"ResNoAbsolute": 0.0,
"ServerName": "TSM-ABC-01",
"NodeGUID": "796B6082-A17A-4F25-AA39-3F53D9EC4CB3",
"ResNoPercentage": 0.0,
"ResYesPercentage": 100.0,
"PercentSuccess": 1.0,
"PercentFailure": 0.0
},
{
"DateCreated": "2016-03-05T00:00:00",
"ResYesAbsolute": 10.0,
"ResNoAbsolute": 0.0,
"ServerName": "TSM-ABC-01",
"NodeGUID": "796B6082-A17A-4F25-AA39-3F53D9EC4CB3",
"ResNoPercentage": 0.0,
"ResYesPercentage": 100.0,
"PercentSuccess": 1.0,
"PercentFailure": 0.0
}
]