GET api/AccountExclusionClient/GetAccountExclusionByAccountID?accountID={accountID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

Body Parameters

None.

Response Information

Resource Description

AccountExclusionListVM
NameDescriptionTypeAdditional information
AccountExclusionList

Collection of AccountExclusionByAccountID

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountExclusionList": [
    {
      "AccountExclusionID": 1,
      "AccountID": 2,
      "AccountExclusionTypeID": 1,
      "AccountExclusionType": "sample string 3",
      "StartDate": "2025-09-02T23:07:13.6032645+00:00",
      "ExpiryDate": "2025-09-02T23:07:13.6032645+00:00",
      "StatusID": 5
    },
    {
      "AccountExclusionID": 1,
      "AccountID": 2,
      "AccountExclusionTypeID": 1,
      "AccountExclusionType": "sample string 3",
      "StartDate": "2025-09-02T23:07:13.6032645+00:00",
      "ExpiryDate": "2025-09-02T23:07:13.6032645+00:00",
      "StatusID": 5
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<AccountExclusionListVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.AccountExclusion">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AccountExclusionList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Account_Exclusion">
    <d2p1:AccountExclusionByAccountID>
      <d2p1:AccountExclusionID>1</d2p1:AccountExclusionID>
      <d2p1:AccountExclusionType>sample string 3</d2p1:AccountExclusionType>
      <d2p1:AccountExclusionTypeID>1</d2p1:AccountExclusionTypeID>
      <d2p1:AccountID>2</d2p1:AccountID>
      <d2p1:ExpiryDate>2025-09-02T23:07:13.6032645+00:00</d2p1:ExpiryDate>
      <d2p1:StartDate>2025-09-02T23:07:13.6032645+00:00</d2p1:StartDate>
      <d2p1:StatusID>5</d2p1:StatusID>
    </d2p1:AccountExclusionByAccountID>
    <d2p1:AccountExclusionByAccountID>
      <d2p1:AccountExclusionID>1</d2p1:AccountExclusionID>
      <d2p1:AccountExclusionType>sample string 3</d2p1:AccountExclusionType>
      <d2p1:AccountExclusionTypeID>1</d2p1:AccountExclusionTypeID>
      <d2p1:AccountID>2</d2p1:AccountID>
      <d2p1:ExpiryDate>2025-09-02T23:07:13.6032645+00:00</d2p1:ExpiryDate>
      <d2p1:StartDate>2025-09-02T23:07:13.6032645+00:00</d2p1:StartDate>
      <d2p1:StatusID>5</d2p1:StatusID>
    </d2p1:AccountExclusionByAccountID>
  </AccountExclusionList>
</AccountExclusionListVM>