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

RequiredValue

boolean

Request Formats

application/json, text/json

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

text/html

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

Response

integer

Response Format

application/json, text/json, text/html

Sample:
1