younifyd
Menu

Get Asset Family Attribute Option By Code

Get an attribute option for a given attribute of a given asset family

GET/api/rest/v1/asset-families/{asset_family_code}/attributes/{attribute_code}/options/{code}

Use it in a workflow

  1. Add a step and choose the Akeneo connector.
  2. Pick the Get Asset Family Attribute Option By Code action (under Asset attribute option).
  3. Fill in the fields below, then reference the result from later steps as {{getAssetFamilyAttributeOptionByCode.response.data}}.

Request

Path parameters

asset_family_codestringrequired

This path parameter is used to specify the unique identifier of the asset family you want to retrieve or manipulate. It is essential for identifying the specific asset family in the API requests. Ensure that the asset family code is correctly formatted and corresponds to an existing asset family in the system.

attribute_codestringrequired

This path parameter is used to specify the unique identifier of the attribute you want to retrieve or manipulate. It is essential for identifying the specific attribute in the API requests. Ensure that the attribute code is correctly formatted and corresponds to an existing attribute in the system.

codestringrequired

This path parameter is used to specify the unique identifier of the entity you want to retrieve or manipulate. It is essential for identifying the specific entity in the API requests. Ensure that the code is correctly formatted and corresponds to an existing entity in the system.

Response

Returns 200 with an object. Read it in later steps with {{getAssetFamilyAttributeOptionByCode.response.data.<field>}}.

codestring

Attribute's option code

labelsobject

Attribute option labels for each locale

Default {}

json
{
  "code": "small",
  "labels": {
    "en_US": "s",
    "fr_FR": "s"
  }
}

Need more? See the Akeneo guide for connection setup and behaviour shared by every action.