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": "74ba3031-c72e-4850-866c-dfeb5c720595", "Name": "sample string 2", "Segments": [ { "Id": "616b5501-bfba-40aa-882b-1ea8756e7baf", "Name": "sample string 2" }, { "Id": "616b5501-bfba-40aa-882b-1ea8756e7baf", "Name": "sample string 2" } ] }, { "Id": "74ba3031-c72e-4850-866c-dfeb5c720595", "Name": "sample string 2", "Segments": [ { "Id": "616b5501-bfba-40aa-882b-1ea8756e7baf", "Name": "sample string 2" }, { "Id": "616b5501-bfba-40aa-882b-1ea8756e7baf", "Name": "sample string 2" } ] } ]