Read a specific audience attributes by id.

get

/content/management/api/v1.1/personalization/audienceAttributes/{id}

Request

Path Parameters
Query Parameters
  • This parameter is used to control the returned fields for a audience attribute. This parameter accepts a comma-separated list of field names or all. These fields will be returned for each property in the list. As all the field names are case-sensitive, users must provide the correct field names in the query. Each audience attribute has both standard fields (id, name, description and categoryId. When fields is specified as all (case-insensitive), all the standard and additional fields are returned. The standard fields are always returned in the response and cannot be filtered out. Users can only filter out the additional fields. This parameter is optional in the query and by default result shows only standard fields in the response. Any incorrect or invalid field name given in the query will result in an error.

    Example: ?fields=all
    This will return all standard fields and all additional fields for each audience attribute.
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : audienceAttributeInfo
Type: object
Audience Attribute Information
Show Source
  • The reference name of the Audience Attribute. This is the name that is used in API calls that invoke the recommendation. If no reference name is provided the server will generate one from the name field. The referene name should be unique in a category.
  • The id of the Category the property belongs to.
  • The description of the Audience Attribute.
  • The id of the Audience Attribute. This is a required propety in the get response and ignored in post/put requests.
  • links
  • The name of the Audience Attribute. It is a required property in the get response and cannot be empty in post/put request.

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Audience Attribute not found. The requested resource not found.

500 Response

Internal server error.
Back to Top