POST api/Alerts/AddAlert
Request Information
URI Parameters
None.
Body Parameters
AlertItemPlus| Name | Description | Type | Additional information |
|---|---|---|---|
| UserName | string |
None. |
|
| SourceTypeNew | string |
None. |
|
| SourceOriginNew | string |
None. |
|
| ReasonTypeNew | string |
None. |
|
| ReasonNewIsSaved | boolean |
None. |
|
| SourceNewIsSaved | boolean |
None. |
|
| AlertID | integer |
None. |
|
| SourceID | globally unique identifier |
None. |
|
| SourceType | string |
None. |
|
| SourceOrigin | string |
None. |
|
| ReasonID | globally unique identifier |
None. |
|
| ReasonType | string |
None. |
|
| ReasonOrigin | string |
None. |
|
| StartDate | date |
None. |
|
| EndDate | date |
None. |
|
| TimeZone | string |
None. |
|
| Notes | string |
None. |
|
| CreatedDate | date |
None. |
|
| DisplaySource | boolean |
None. |
|
| DisplayReason | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"UserName": "sample string 1",
"SourceTypeNew": "sample string 2",
"SourceOriginNew": "sample string 3",
"ReasonTypeNew": "sample string 4",
"ReasonNewIsSaved": true,
"SourceNewIsSaved": true,
"AlertID": 7,
"SourceID": "f9f9886c-e457-4666-affc-c76d9c0cb66a",
"SourceType": "sample string 9",
"SourceOrigin": "sample string 10",
"ReasonID": "7971f17f-c841-433b-a9ee-5dcda874dfeb",
"ReasonType": "sample string 12",
"ReasonOrigin": "sample string 13",
"StartDate": "2026-04-07T20:12:16.64397+10:00",
"EndDate": "2026-04-07T20:12:16.64397+10:00",
"TimeZone": "sample string 14",
"Notes": "sample string 15",
"CreatedDate": "2026-04-07T20:12:16.64397+10:00",
"DisplaySource": true,
"DisplayReason": true
}
application/xml, text/xml
Sample:
<AlertItemPlus xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Alerts"> <AlertID>7</AlertID> <CreatedDate>2026-04-07T20:12:16.64397+10:00</CreatedDate> <DisplayReason>true</DisplayReason> <DisplaySource>true</DisplaySource> <EndDate>2026-04-07T20:12:16.64397+10:00</EndDate> <Notes>sample string 15</Notes> <ReasonID>7971f17f-c841-433b-a9ee-5dcda874dfeb</ReasonID> <ReasonOrigin>sample string 13</ReasonOrigin> <ReasonType>sample string 12</ReasonType> <SourceID>f9f9886c-e457-4666-affc-c76d9c0cb66a</SourceID> <SourceOrigin>sample string 10</SourceOrigin> <SourceType>sample string 9</SourceType> <StartDate>2026-04-07T20:12:16.64397+10:00</StartDate> <TimeZone>sample string 14</TimeZone> <ReasonNewIsSaved>true</ReasonNewIsSaved> <ReasonTypeNew>sample string 4</ReasonTypeNew> <SourceNewIsSaved>true</SourceNewIsSaved> <SourceOriginNew>sample string 3</SourceOriginNew> <SourceTypeNew>sample string 2</SourceTypeNew> <UserName>sample string 1</UserName> </AlertItemPlus>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>