GET api/Alerts/GetAlertTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
AlertTypes| Name | Description | Type | Additional information |
|---|---|---|---|
| SourceList | Collection of AlertTypeItem |
None. |
|
| ReasonList | Collection of AlertTypeItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"SourceList": [
{
"ID": "3d8dc3fe-f167-4447-8b2e-188703ad1e91",
"Type": "sample string 2",
"Origin": "sample string 3"
},
{
"ID": "3d8dc3fe-f167-4447-8b2e-188703ad1e91",
"Type": "sample string 2",
"Origin": "sample string 3"
}
],
"ReasonList": [
{
"ID": "3d8dc3fe-f167-4447-8b2e-188703ad1e91",
"Type": "sample string 2",
"Origin": "sample string 3"
},
{
"ID": "3d8dc3fe-f167-4447-8b2e-188703ad1e91",
"Type": "sample string 2",
"Origin": "sample string 3"
}
]
}
application/xml, text/xml
Sample:
<AlertTypes xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Alerts">
<ReasonList>
<AlertTypeItem>
<ID>3d8dc3fe-f167-4447-8b2e-188703ad1e91</ID>
<Origin>sample string 3</Origin>
<Type>sample string 2</Type>
</AlertTypeItem>
<AlertTypeItem>
<ID>3d8dc3fe-f167-4447-8b2e-188703ad1e91</ID>
<Origin>sample string 3</Origin>
<Type>sample string 2</Type>
</AlertTypeItem>
</ReasonList>
<SourceList>
<AlertTypeItem>
<ID>3d8dc3fe-f167-4447-8b2e-188703ad1e91</ID>
<Origin>sample string 3</Origin>
<Type>sample string 2</Type>
</AlertTypeItem>
<AlertTypeItem>
<ID>3d8dc3fe-f167-4447-8b2e-188703ad1e91</ID>
<Origin>sample string 3</Origin>
<Type>sample string 2</Type>
</AlertTypeItem>
</SourceList>
</AlertTypes>