GET api/AccountMerge/GetAccountMergeHistoryByAccountID?accountID={accountID}&showInactive={showInactive}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
accountID

integer

Required

showInactive

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

AccountMergeHistoryVM
NameDescriptionTypeAdditional information
AccountMigrationHistoryList

Collection of AccountMigrationHistoryModel

None.

Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "AccountMigrationHistoryList": [
    {
      "AccountMigrationHistoryID": 1,
      "SourceAccountID": 2,
      "SourceAccountName": "sample string 3",
      "TargetAccountID": 4,
      "CreateID": 1,
      "CreateTS": "2025-09-02T23:07:14.8630956+00:00",
      "CreatedBy": "sample string 5"
    },
    {
      "AccountMigrationHistoryID": 1,
      "SourceAccountID": 2,
      "SourceAccountName": "sample string 3",
      "TargetAccountID": 4,
      "CreateID": 1,
      "CreateTS": "2025-09-02T23:07:14.8630956+00:00",
      "CreatedBy": "sample string 5"
    }
  ],
  "Response": null
}

application/xml, text/xml

Sample:
<AccountMergeHistoryVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Account.AccountMerge">
  <Response i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels" />
  <AccountMigrationHistoryList xmlns:d2p1="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.AccountMigration">
    <d2p1:AccountMigrationHistoryModel>
      <d2p1:AccountMigrationHistoryID>1</d2p1:AccountMigrationHistoryID>
      <d2p1:CreateID>1</d2p1:CreateID>
      <d2p1:CreateTS>2025-09-02T23:07:14.8630956+00:00</d2p1:CreateTS>
      <d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
      <d2p1:SourceAccountID>2</d2p1:SourceAccountID>
      <d2p1:SourceAccountName>sample string 3</d2p1:SourceAccountName>
      <d2p1:TargetAccountID>4</d2p1:TargetAccountID>
    </d2p1:AccountMigrationHistoryModel>
    <d2p1:AccountMigrationHistoryModel>
      <d2p1:AccountMigrationHistoryID>1</d2p1:AccountMigrationHistoryID>
      <d2p1:CreateID>1</d2p1:CreateID>
      <d2p1:CreateTS>2025-09-02T23:07:14.8630956+00:00</d2p1:CreateTS>
      <d2p1:CreatedBy>sample string 5</d2p1:CreatedBy>
      <d2p1:SourceAccountID>2</d2p1:SourceAccountID>
      <d2p1:SourceAccountName>sample string 3</d2p1:SourceAccountName>
      <d2p1:TargetAccountID>4</d2p1:TargetAccountID>
    </d2p1:AccountMigrationHistoryModel>
  </AccountMigrationHistoryList>
</AccountMergeHistoryVM>