POST api/AccountLink/LinkAccounts

Request Information

URI Parameters

None.

Body Parameters

AccountLinkVM
NameDescriptionTypeAdditional information
AccountID

integer

None.

AccountToLink

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountID": 1,
  "AccountToLink": 2
}

application/xml, text/xml

Sample:
<AccountLinkVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Debtrak.BusinessObjects.ViewModels.Account.AccountLink">
  <AccountID>1</AccountID>
  <AccountToLink>2</AccountToLink>
</AccountLinkVM>

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>