GET api/alert/New?accountID={accountID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

Body Parameters

None.

Response Information

Resource Description

AlertEditVM
NameDescriptionTypeAdditional information
Alert

AlertModel

None.

VisualAlertList

Collection of VisualAlertForList

None.

WorkflowLineList

Collection of WorkflowLineForList

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Alert": {
    "AlertID": 1,
    "VisualAlertID": 1,
    "AccountID": 1,
    "WorkflowLineID": 1,
    "IsOpen": true,
    "AlertNote": "sample string 3",
    "StatusID": 1,
    "CreateID": 1,
    "CreateSessionID": 1,
    "CreateTS": "2025-09-02T23:08:29.6726778+00:00",
    "ModifyID": 1,
    "ModifySessionID": 1,
    "ModifyTS": "2025-09-02T23:08:29.6726778+00:00",
    "InactiveID": 1,
    "InactiveSessionID": 1,
    "InactiveTS": "2025-09-02T23:08:29.6726778+00:00"
  },
  "VisualAlertList": [
    {
      "VisualAlertID": 1,
      "VisualAlert": "sample string 2"
    },
    {
      "VisualAlertID": 1,
      "VisualAlert": "sample string 2"
    }
  ],
  "WorkflowLineList": [
    {
      "WorkflowLineID": 1,
      "WorkflowLine": "sample string 2"
    },
    {
      "WorkflowLineID": 1,
      "WorkflowLine": "sample string 2"
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<AlertEditVM 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" />
  <Alert xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Alert">
    <d2p1:AccountID>1</d2p1:AccountID>
    <d2p1:AlertID>1</d2p1:AlertID>
    <d2p1:AlertNote>sample string 3</d2p1:AlertNote>
    <d2p1:CreateID>1</d2p1:CreateID>
    <d2p1:CreateSessionID>1</d2p1:CreateSessionID>
    <d2p1:CreateTS>2025-09-02T23:08:29.6726778+00:00</d2p1:CreateTS>
    <d2p1:InactiveID>1</d2p1:InactiveID>
    <d2p1:InactiveSessionID>1</d2p1:InactiveSessionID>
    <d2p1:InactiveTS>2025-09-02T23:08:29.6726778+00:00</d2p1:InactiveTS>
    <d2p1:IsOpen>true</d2p1:IsOpen>
    <d2p1:ModifyID>1</d2p1:ModifyID>
    <d2p1:ModifySessionID>1</d2p1:ModifySessionID>
    <d2p1:ModifyTS>2025-09-02T23:08:29.6726778+00:00</d2p1:ModifyTS>
    <d2p1:StatusID>1</d2p1:StatusID>
    <d2p1:VisualAlertID>1</d2p1:VisualAlertID>
    <d2p1:WorkflowLineID>1</d2p1:WorkflowLineID>
  </Alert>
  <VisualAlertList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.VisualAlert">
    <d2p1:VisualAlertForList>
      <d2p1:VisualAlert>sample string 2</d2p1:VisualAlert>
      <d2p1:VisualAlertID>1</d2p1:VisualAlertID>
    </d2p1:VisualAlertForList>
    <d2p1:VisualAlertForList>
      <d2p1:VisualAlert>sample string 2</d2p1:VisualAlert>
      <d2p1:VisualAlertID>1</d2p1:VisualAlertID>
    </d2p1:VisualAlertForList>
  </VisualAlertList>
  <WorkflowLineList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.WorkflowLine">
    <d2p1:WorkflowLineForList>
      <d2p1:WorkflowLine>sample string 2</d2p1:WorkflowLine>
      <d2p1:WorkflowLineID>1</d2p1:WorkflowLineID>
    </d2p1:WorkflowLineForList>
    <d2p1:WorkflowLineForList>
      <d2p1:WorkflowLine>sample string 2</d2p1:WorkflowLine>
      <d2p1:WorkflowLineID>1</d2p1:WorkflowLineID>
    </d2p1:WorkflowLineForList>
  </WorkflowLineList>
</AlertEditVM>