POST api/hps/PostWebAlert
Request Information
URI Parameters
None.
Body Parameters
GetAlertRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Logintype | string |
None. |
|
| LoginId | integer |
None. |
|
| Compnyid | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Logintype": "sample string 1",
"LoginId": 2,
"Compnyid": "sample string 3"
}
application/xml, text/xml
Sample:
<GetAlertRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Result.ResultModel"> <Compnyid>sample string 3</Compnyid> <LoginId>2</LoginId> <Logintype>sample string 1</Logintype> </GetAlertRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GetAlertResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| IsSuccess | boolean |
None. |
|
| Message | string |
None. |
|
| AlertLists | Collection of AlertItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsSuccess": true,
"Message": "sample string 2",
"AlertLists": [
{
"ID": 1,
"Alert": "sample string 2",
"AlertDT": "sample string 3",
"Reply": "sample string 4",
"ReplyDT": "sample string 5",
"Status": "sample string 6"
},
{
"ID": 1,
"Alert": "sample string 2",
"AlertDT": "sample string 3",
"Reply": "sample string 4",
"ReplyDT": "sample string 5",
"Status": "sample string 6"
}
]
}
application/xml, text/xml
Sample:
<GetAlertResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Result.ResultModel">
<AlertLists>
<AlertItem>
<Alert>sample string 2</Alert>
<AlertDT>sample string 3</AlertDT>
<ID>1</ID>
<Reply>sample string 4</Reply>
<ReplyDT>sample string 5</ReplyDT>
<Status>sample string 6</Status>
</AlertItem>
<AlertItem>
<Alert>sample string 2</Alert>
<AlertDT>sample string 3</AlertDT>
<ID>1</ID>
<Reply>sample string 4</Reply>
<ReplyDT>sample string 5</ReplyDT>
<Status>sample string 6</Status>
</AlertItem>
</AlertLists>
<IsSuccess>true</IsSuccess>
<Message>sample string 2</Message>
</GetAlertResponse>