POST api/v2/accounts/{accountId}/relationshipsaccounts
Request
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| accountId | integer |
Required |
Body Parameters
AccountAccountNew| Name | Description | Type | Additional 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
integerResponse Format
application/json, text/json, text/html
Sample:
1