| GET | /gethomepageinfo |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServerId | query | Guid | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CPUValue | form | double | No | |
| MemoryValue | form | double | No | |
| MaxMemory | form | double | No | |
| LastTime | form | DateTime | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| IsSuccess | form | bool | No | |
| ErrorMessage | form | string | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /gethomepageinfo HTTP/1.1 Host: monitorapi.mcttechnology.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
CPUValue: 0,
MemoryValue: 0,
MaxMemory: 0,
LastTime: 0001-01-01,
IsSuccess: False,
ErrorMessage: String
}