GET api/segments/GetByCustomerGroupId?id={id}

Get all Segments by customer group

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Customer Group ID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of SegmentGroupDto
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Name

string

None.

Segments

Collection of SegmentDto

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": "3497b34c-f836-47cb-8d60-a0227799d2c2",
    "Name": "sample string 2",
    "Segments": [
      {
        "Id": "a819714d-67ac-480e-8d9c-4d68716ec229",
        "Name": "sample string 2"
      },
      {
        "Id": "a819714d-67ac-480e-8d9c-4d68716ec229",
        "Name": "sample string 2"
      }
    ]
  },
  {
    "Id": "3497b34c-f836-47cb-8d60-a0227799d2c2",
    "Name": "sample string 2",
    "Segments": [
      {
        "Id": "a819714d-67ac-480e-8d9c-4d68716ec229",
        "Name": "sample string 2"
      },
      {
        "Id": "a819714d-67ac-480e-8d9c-4d68716ec229",
        "Name": "sample string 2"
      }
    ]
  }
]