Get the Specified Segment Instance (Hub Data)

[This topic is pre-release documentation and is subject to change.]

Gets the specified Segment instance.

Request

The request is constructed as follows:

HTTP Verb Request URI
GET <hub-endpoint>/data/segments('Name=<segmentName>')?api-version=2017-04-26

URI Parameters

URI Parameter Required Description
Hub-endpoint Yes The base URL for your Customer Insights Hub
segmentName Yes The name of the segment to custom Profile (entity set) type


Response

The response includes an HTTP status code, a response body and a set of response headers.

Response Body

The body contains the named Segment instance.

Status Code

  • 200 (OK) - the request succeeded.
  • 404 (Not found) - an instance matching the specified name could not be found.