POST api/Account/Alerts
Inserts, Updates or Deletes Alerts on an account.
Request Information
URI Parameters
None.
Body Parameters
AlertsDto| Name | Description | Type | Additional information |
|---|---|---|---|
| AccountNumber |
The Account Number |
string |
None. |
| AlertID |
The Alert ID (must send NEW to insert a new alert) |
string |
None. |
| Action |
The action to be executed, must be ADD (for both Creating and Updating an alert) or DELETE |
string |
None. |
| AlertMsg |
The alert message (send an empty string when deleting an alert) |
string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AccountNumber": "sample string 1",
"AlertID": "sample string 2",
"Action": "sample string 3",
"AlertMsg": "sample string 4"
}
application/xml, text/xml
Sample:
<AlertsDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RestAPI.Models"> <AccountNumber>sample string 1</AccountNumber> <Action>sample string 3</Action> <AlertID>sample string 2</AlertID> <AlertMsg>sample string 4</AlertMsg> </AlertsDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Success or error message
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.