| GET | /getserverconfig |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ServerId | query | Guid | No | |
| FirstConfig | query | bool | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Data | form | T | 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 /getserverconfig HTTP/1.1 Host: monitorapi.mcttechnology.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
Data:
[
{
Id: 00000000000000000000000000000000,
ServerId: 00000000000000000000000000000000,
Key: String,
Value: String,
CreateTime: 0001-01-01,
UpdateTime: 0001-01-01,
Disable: False
}
],
IsSuccess: False,
ErrorMessage: String
}