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": "8dfa6a7f-216e-45e9-9dca-756c2f6fc6f8",
"Name": "sample string 2",
"Segments": [
{
"Id": "6f0f2247-e34f-43fc-beef-8d4c0daf8904",
"Name": "sample string 2"
},
{
"Id": "6f0f2247-e34f-43fc-beef-8d4c0daf8904",
"Name": "sample string 2"
}
]
},
{
"Id": "8dfa6a7f-216e-45e9-9dca-756c2f6fc6f8",
"Name": "sample string 2",
"Segments": [
{
"Id": "6f0f2247-e34f-43fc-beef-8d4c0daf8904",
"Name": "sample string 2"
},
{
"Id": "6f0f2247-e34f-43fc-beef-8d4c0daf8904",
"Name": "sample string 2"
}
]
}
]