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 SegmentGroupDtoName | 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": "381a1600-a084-4bb9-b7d9-4a5ffac21f58", "Name": "sample string 2", "Segments": [ { "Id": "f1355385-9964-4e6d-8eb4-093bc9f5795f", "Name": "sample string 2" }, { "Id": "f1355385-9964-4e6d-8eb4-093bc9f5795f", "Name": "sample string 2" } ] }, { "Id": "381a1600-a084-4bb9-b7d9-4a5ffac21f58", "Name": "sample string 2", "Segments": [ { "Id": "f1355385-9964-4e6d-8eb4-093bc9f5795f", "Name": "sample string 2" }, { "Id": "f1355385-9964-4e6d-8eb4-093bc9f5795f", "Name": "sample string 2" } ] } ]