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": "e7cd7eff-2be5-421c-919b-75d6a7da7cff",
"Name": "sample string 2",
"Segments": [
{
"Id": "a4f3acf0-4f99-46a0-a360-52455ada1f03",
"Name": "sample string 2"
},
{
"Id": "a4f3acf0-4f99-46a0-a360-52455ada1f03",
"Name": "sample string 2"
}
]
},
{
"Id": "e7cd7eff-2be5-421c-919b-75d6a7da7cff",
"Name": "sample string 2",
"Segments": [
{
"Id": "a4f3acf0-4f99-46a0-a360-52455ada1f03",
"Name": "sample string 2"
},
{
"Id": "a4f3acf0-4f99-46a0-a360-52455ada1f03",
"Name": "sample string 2"
}
]
}
]