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": "7a1e5b23-3046-4a26-a077-b7a02d29bd1a",
"Name": "sample string 2",
"Segments": [
{
"Id": "e2c97eab-c919-48ae-bede-049d5f86a130",
"Name": "sample string 2"
},
{
"Id": "e2c97eab-c919-48ae-bede-049d5f86a130",
"Name": "sample string 2"
}
]
},
{
"Id": "7a1e5b23-3046-4a26-a077-b7a02d29bd1a",
"Name": "sample string 2",
"Segments": [
{
"Id": "e2c97eab-c919-48ae-bede-049d5f86a130",
"Name": "sample string 2"
},
{
"Id": "e2c97eab-c919-48ae-bede-049d5f86a130",
"Name": "sample string 2"
}
]
}
]