---
title: "Get an external data component"
method: GET
path: "/builder/externaldatacomponent/{externalDataComponentId}"
tags: ["Builder external data component"]
---

# Get an external data component

`GET /builder/externaldatacomponent/{externalDataComponentId}`

Returns a single external data component with the specified id.

## Path parameters

- `externalDataComponentId` integer, required

## Response `200`

OK

- PersonalMerchandisingExternalDataComponentApiModel — External data component response model
  - `PersonalMerchandisingExternalDataComponentId` integer — Id of the component
  - `Name` string — Name of the component
  - `Url` string — Source url for the external component data
  - `RequestType` 'GET' | 'POST' — Request type that the call should be to the url
  - `AttributeId` integer — Id of the tweakwise attribute
  - `JsonMapping` string — Mapping in Json between external url attributes and tweakwise attributes
  - `Icon` 'Bag' | 'BoxHeart' | 'Brand' | 'BrandHeart' | 'Diamond' | 'Eye' | 'EyePlus' | 'Fire' | 'Heart' | 'LabelNew' | 'New' | 'Person' | 'PersonHeart' | 'Repeat' | 'Star' | 'Stars' | 'Top' | 'Trending' | 'Basket' | 'BasketPlus' | 'Label' | 'AIPersonal' — Tweakwise icon that will be used for the component
  - `AuthorizationId` integer — Id of the authorization
  - `RequestTimeoutMs` integer — Maximum requesttime in milliseconds before timeout
  - `PostBodyMapping` string — POST requestbody payload mapping

## Other responses

- `404` — External data component not found

---

[API](https://skmtc.net/tweakwise/apis/frontend-api.md) · [All operations](https://skmtc.net/tweakwise/apis/frontend-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tweakwise/frontend-api/revisions/9bd1e2b3633f/schema)
