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": "0ac96a61-749d-41d8-a5c0-1efb7ec88e15",
"Name": "sample string 2",
"Segments": [
{
"Id": "6728f66d-e8dd-489c-98be-a644f30ec4a3",
"Name": "sample string 2"
},
{
"Id": "6728f66d-e8dd-489c-98be-a644f30ec4a3",
"Name": "sample string 2"
}
]
},
{
"Id": "0ac96a61-749d-41d8-a5c0-1efb7ec88e15",
"Name": "sample string 2",
"Segments": [
{
"Id": "6728f66d-e8dd-489c-98be-a644f30ec4a3",
"Name": "sample string 2"
},
{
"Id": "6728f66d-e8dd-489c-98be-a644f30ec4a3",
"Name": "sample string 2"
}
]
}
]