GET v1/Customers/{customerID}/LinkedAccounts
Get Linked Accounts
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerID |
Customer ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of linked accounts
Collection of LinkedAccountDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerIdMain | integer |
None. |
|
| CustomerIdLink | integer |
None. |
|
| MainDescription | string |
None. |
|
| LinkedDescription | string |
None. |
|
| CustomerLinkDisplayAs | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"CustomerIdMain": 1,
"CustomerIdLink": 2,
"MainDescription": "sample string 3",
"LinkedDescription": "sample string 4",
"CustomerLinkDisplayAs": "sample string 5"
},
{
"CustomerIdMain": 1,
"CustomerIdLink": 2,
"MainDescription": "sample string 3",
"LinkedDescription": "sample string 4",
"CustomerLinkDisplayAs": "sample string 5"
}
]
application/xml, text/xml
Sample:
<ArrayOfLinkedAccountDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/QQSolutions.NextGen.ModelLibrary.DataTransferObjects.Contacts">
<LinkedAccountDTO>
<CustomerIdLink>2</CustomerIdLink>
<CustomerIdMain>1</CustomerIdMain>
<CustomerLinkDisplayAs>sample string 5</CustomerLinkDisplayAs>
<LinkedDescription>sample string 4</LinkedDescription>
<MainDescription>sample string 3</MainDescription>
</LinkedAccountDTO>
<LinkedAccountDTO>
<CustomerIdLink>2</CustomerIdLink>
<CustomerIdMain>1</CustomerIdMain>
<CustomerLinkDisplayAs>sample string 5</CustomerLinkDisplayAs>
<LinkedDescription>sample string 4</LinkedDescription>
<MainDescription>sample string 3</MainDescription>
</LinkedAccountDTO>
</ArrayOfLinkedAccountDTO>