POST api/AccountMerge/Merge

Request Information

URI Parameters

None.

Body Parameters

AccountMergeParams
NameDescriptionTypeAdditional information
SourceAccountID

integer

None.

DestinationAccountID

integer

None.

ContactIDUsedForMatch

integer

None.

PoolIDForMatching

integer

None.

MigrateDetails

boolean

None.

MigrateFinancials

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceAccountID": 1,
  "DestinationAccountID": 1,
  "ContactIDUsedForMatch": 1,
  "PoolIDForMatching": 1,
  "MigrateDetails": true,
  "MigrateFinancials": true
}

application/xml, text/xml

Sample:
<AccountMergeParams xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.Models.Account">
  <ContactIDUsedForMatch>1</ContactIDUsedForMatch>
  <DestinationAccountID>1</DestinationAccountID>
  <MigrateDetails>true</MigrateDetails>
  <MigrateFinancials>true</MigrateFinancials>
  <PoolIDForMatching>1</PoolIDForMatching>
  <SourceAccountID>1</SourceAccountID>
</AccountMergeParams>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActionResultVM
NameDescriptionTypeAdditional information
Response

IResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "Response": null
}

application/xml, text/xml

Sample:
<ActionResultVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels">
  <Response i:nil="true" />
</ActionResultVM>