This API is deprecated. You are advised to use Sas(2018-12-03) - GetClientRatioStatistic.
Queries the installation rate of the client on cloud assets in the specified period of time.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
TimeStart | long | Yes | The timestamp that specifies the beginning of the time range to collect statistics. Unit: millisecond. | 1687104000000 |
TimeEnd | long | Yes | The timestamp that specifies the end of the time range to collect statistics. Unit: millisecond. | 1687708800000 |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "F62DD457-2588-589A-B1F6-A1245895D2AB",
"ClientInstallRatio": {
"HistoryItems": [
{
"Vendor": 4,
"Items": [
{
"CalculateTime": 1687759630045,
"AssetTotalCount": 100,
"InstallRatio": 80,
"InstalledAssetCount": 80
}
]
}
],
"CurrentItems": [
{
"Vendor": 7,
"Items": [
{
"CalculateTime": 1687759630045,
"AssetTotalCount": 100,
"InstallRatio": 70,
"InstalledAssetCount": 70
}
]
}
],
"Dates": [
1687104000000
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | IllegalParam | Illegal param | - |
400 | NotBuy | user not buy service | User not buy service. |
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.