GET api/Alert/{id}?type={type}
Gets a list of alerts.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Organization Id |
integer |
Required |
| type |
List Type. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Alert| Name | Description | Type | Additional information |
|---|---|---|---|
| AlertCategory | string |
None. |
|
| AlertMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AlertCategory": "sample string 1",
"AlertMessage": "sample string 2"
},
{
"AlertCategory": "sample string 1",
"AlertMessage": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfAlert xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustomersdbWebShared.Models">
<Alert>
<AlertCategory>sample string 1</AlertCategory>
<AlertMessage>sample string 2</AlertMessage>
</Alert>
<Alert>
<AlertCategory>sample string 1</AlertCategory>
<AlertMessage>sample string 2</AlertMessage>
</Alert>
</ArrayOfAlert>