GET api/segments/GetByCustomerGroupId?id={id}
Get all Segments by customer group
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Customer Group ID |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of SegmentGroupDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| Segments | Collection of SegmentDto |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "787c0897-d110-4817-b3be-fc16867c5bde",
"Name": "sample string 2",
"Segments": [
{
"Id": "a23bd37c-7dee-4c2c-804e-aef8d6215850",
"Name": "sample string 2"
},
{
"Id": "a23bd37c-7dee-4c2c-804e-aef8d6215850",
"Name": "sample string 2"
}
]
},
{
"Id": "787c0897-d110-4817-b3be-fc16867c5bde",
"Name": "sample string 2",
"Segments": [
{
"Id": "a23bd37c-7dee-4c2c-804e-aef8d6215850",
"Name": "sample string 2"
},
{
"Id": "a23bd37c-7dee-4c2c-804e-aef8d6215850",
"Name": "sample string 2"
}
]
}
]