GET api/customergroups/GetByCustomerId?id={id}
Get a customer group by customer ID
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Customer ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of CustomerGroupDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
Required Max length: 50 |
|
| Customer | CustomerDto |
None. |
|
| IsActive | boolean |
None. |
|
| Settings | Collection of CustomerGroupSettingDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "76d83156-b2ce-4308-871b-49c65d91a28c",
"Name": "sample string 2",
"Customer": {
"Id": "e646e58f-f325-42be-8fb0-6fb84f948e65",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
},
{
"Id": "76d83156-b2ce-4308-871b-49c65d91a28c",
"Name": "sample string 2",
"Customer": {
"Id": "e646e58f-f325-42be-8fb0-6fb84f948e65",
"Name": "sample string 2"
},
"IsActive": true,
"Settings": [
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
},
{
"Name": "EmbedReportUrl",
"Value": "sample string 1"
}
]
}
]