GET api/alert/GetAlertsByAccountID?accountID={accountID}&isOpen={isOpen}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

isOpen

boolean

Required

Body Parameters

None.

Response Information

Resource Description

AlertDetailListVM
NameDescriptionTypeAdditional information
AlertSelectDetailList

Collection of AlertDetail

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "AlertSelectDetailList": [
    {
      "VisualAlertID": 1,
      "AlertNote": "sample string 2",
      "AlertIcon": "QEA="
    },
    {
      "VisualAlertID": 1,
      "AlertNote": "sample string 2",
      "AlertIcon": "QEA="
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<AlertDetailListVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Alert">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AlertSelectDetailList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Alert">
    <d2p1:AlertDetail>
      <d2p1:AlertIcon>QEA=</d2p1:AlertIcon>
      <d2p1:AlertNote>sample string 2</d2p1:AlertNote>
      <d2p1:VisualAlertID>1</d2p1:VisualAlertID>
    </d2p1:AlertDetail>
    <d2p1:AlertDetail>
      <d2p1:AlertIcon>QEA=</d2p1:AlertIcon>
      <d2p1:AlertNote>sample string 2</d2p1:AlertNote>
      <d2p1:VisualAlertID>1</d2p1:VisualAlertID>
    </d2p1:AlertDetail>
  </AlertSelectDetailList>
</AlertDetailListVM>