GET api/customers/{customerId}/associates
Get a list of other customers associated with the given customer.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
customerId |
Customer ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
List of associated customers.
Collection of ParentedCustomerResponseName | Description | Type | Additional information |
---|---|---|---|
CustomerId | integer |
None. |
|
Name | string |
None. |
|
ParentCustomerId | integer |
None. |
|
ParentName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "CustomerId": 1, "Name": "sample string 2", "ParentCustomerId": 3, "ParentName": "sample string 4" }, { "CustomerId": 1, "Name": "sample string 2", "ParentCustomerId": 3, "ParentName": "sample string 4" } ]
text/html
Sample:
[{"CustomerId":1,"Name":"sample string 2","ParentCustomerId":3,"ParentName":"sample string 4"},{"CustomerId":1,"Name":"sample string 2","ParentCustomerId":3,"ParentName":"sample string 4"}]