get_servers_count
Gets the server count.
Path:
/lib/server/get_servers_count.js
Parameters:
Example Request:
POST /redrock/query
{
"Script":"@/lib/server/get_servers_count.js"
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 1,
"Columns": [
{
"Name": "Count",
"IsHidden": false,
"DDName": null,
"Title": "Count",
"DDTitle": null,
"Description": null,
"Type": 16,
"Format": null,
"Width": 0,
"TableKey": null,
"ForeignKey": null,
"TableName": ""
}
],
"FullCount": 1,
"Results": [
{
"Entities": [],
"Row": {
"Count": 705
}
}
],
"ReturnID": ""
},
"Message": null,
"MessageID": null,
"Exception": null,
"ErrorID": null,
"ErrorCode": null,
"InnerExceptions": null
}
Updated almost 5 years ago