POST api/alert/updatealert
Request Information
URI Parameters
None.
Body Parameters
AlertModel| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Description | string |
None. |
|
| AlertType | string |
None. |
|
| condition | string |
None. |
|
| isExpire | boolean |
None. |
|
| createdBy | string |
None. |
|
| note | string |
None. |
|
| ViewType | Collection of string |
None. |
|
| IsMasterAlert | boolean |
None. |
|
| IsChaviAlert | boolean |
None. |
|
| SymbolId | integer |
None. |
|
| Price | decimal number |
None. |
|
| UserId | integer |
None. |
|
| SymbolDetailId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 2",
"Description": "sample string 3",
"AlertType": "sample string 4",
"condition": "sample string 5",
"isExpire": true,
"createdBy": "sample string 7",
"note": "sample string 8",
"ViewType": [
"sample string 1",
"sample string 2"
],
"IsMasterAlert": true,
"IsChaviAlert": true,
"SymbolId": 11,
"Price": 12.0,
"UserId": 13,
"SymbolDetailId": 14
}
application/xml, text/xml
Sample:
<Api.AlertModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KeyGroupAPI.Models">
<AlertType>sample string 4</AlertType>
<Description>sample string 3</Description>
<Id>1</Id>
<IsChaviAlert>true</IsChaviAlert>
<IsMasterAlert>true</IsMasterAlert>
<Name>sample string 2</Name>
<Price>12</Price>
<SymbolDetailId>14</SymbolDetailId>
<SymbolId>11</SymbolId>
<UserId>13</UserId>
<ViewType xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</ViewType>
<condition>sample string 5</condition>
<createdBy>sample string 7</createdBy>
<isExpire>true</isExpire>
<note>sample string 8</note>
</Api.AlertModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.