POST api/v2/accounts/{accountId}/relationshipsaccounts

Request

URI Parameters

NameDescriptionTypeAdditional information
accountId

integer

Required

Body Parameters

AccountAccountNew
NameDescriptionTypeAdditional information
RelationshipAccountTypeId

integer

RelationshipAccountId

integer

Active

boolean

AccountPrimaryId

integer

AccountSecondaryId

integer

Request Formats

application/json, text/json

Sample:
{
  "RelationshipAccountTypeId": 1,
  "RelationshipAccountId": 2,
  "Active": true,
  "AccountPrimaryId": 1,
  "AccountSecondaryId": 1
}

text/html

Sample:
{"RelationshipAccountTypeId":1,"RelationshipAccountId":2,"Active":true,"AccountPrimaryId":1,"AccountSecondaryId":1}

Response

integer

Response Format

application/json, text/json, text/html

Sample:
1