POST api/Alert
Request Information
URI Parameters
None.
Body Parameters
Collection of ServerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServerName | string |
None. |
|
| IP | string |
None. |
|
| OS | string |
None. |
|
| Type | string |
None. |
|
| Downtime | string |
None. |
|
| Status | string |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"ServerName": "sample string 1",
"IP": "sample string 2",
"OS": "sample string 3",
"Type": "sample string 4",
"Downtime": "sample string 5",
"Status": "sample string 6"
},
{
"ServerName": "sample string 1",
"IP": "sample string 2",
"OS": "sample string 3",
"Type": "sample string 4",
"Downtime": "sample string 5",
"Status": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfServerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMiT.Models">
<ServerModel>
<Downtime>sample string 5</Downtime>
<IP>sample string 2</IP>
<OS>sample string 3</OS>
<ServerName>sample string 1</ServerName>
<Status>sample string 6</Status>
<Type>sample string 4</Type>
</ServerModel>
<ServerModel>
<Downtime>sample string 5</Downtime>
<IP>sample string 2</IP>
<OS>sample string 3</OS>
<ServerName>sample string 1</ServerName>
<Status>sample string 6</Status>
<Type>sample string 4</Type>
</ServerModel>
</ArrayOfServerModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Collection of ServerModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ServerName | string |
None. |
|
| IP | string |
None. |
|
| OS | string |
None. |
|
| Type | string |
None. |
|
| Downtime | string |
None. |
|
| Status | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ServerName": "sample string 1",
"IP": "sample string 2",
"OS": "sample string 3",
"Type": "sample string 4",
"Downtime": "sample string 5",
"Status": "sample string 6"
},
{
"ServerName": "sample string 1",
"IP": "sample string 2",
"OS": "sample string 3",
"Type": "sample string 4",
"Downtime": "sample string 5",
"Status": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfServerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SMiT.Models">
<ServerModel>
<Downtime>sample string 5</Downtime>
<IP>sample string 2</IP>
<OS>sample string 3</OS>
<ServerName>sample string 1</ServerName>
<Status>sample string 6</Status>
<Type>sample string 4</Type>
</ServerModel>
<ServerModel>
<Downtime>sample string 5</Downtime>
<IP>sample string 2</IP>
<OS>sample string 3</OS>
<ServerName>sample string 1</ServerName>
<Status>sample string 6</Status>
<Type>sample string 4</Type>
</ServerModel>
</ArrayOfServerModel>