Retrieve Configuration Row Data
This topic provides instructions on how to retrieve configuration row data of a component.
You will use the following query in this topic:
Type | Operation | Description |
---|---|---|
Query | componentVersion | Retrieves version of a component. |
Step 1 - Retrieve Configuration Row Data of a Component
The following steps demonstrate how you can run the componentVersion query to retrieves configuration row data of a component
- Enter the following query in the Query Pane of the Manufacturing Data Model Explorer.
Query
query componentVersion($componentVersionId: ID!) { componentVersion(componentVersionId: $componentVersionId) { id name configurationRow { id name rootConfigurationMember { id name } } } }
Show More - In the Query Variables Pane, enter the value of the
componentVersionId
. To know how to obtain thecomponentVersionId
(tipRootComponentVersion), refer to Retrieve Items.Query Variables
{ "componentVersionId": "Y29tcH5WQVZNUW1sYmxrZDBtaXJwU0NYMHJ0X0wyQ35qWk9hM1ZZYUx6enZYNnllQnh3SVA4X2FnYX5NZlNRMGd0dHZ1YTN0SHlnVHFWdmZ2" }
- Click Play. The
configurationRow
data of a component will be displayed in the response.Response
{ "data": { "componentVersion": { "id": "Y29tcH5WQVZNUW1sYmxrZDBtaXJwU0NYMHJ0X0wyQ35qWk9hM1ZZYUx6enZYNnllQnh3SVA4X2FnYX5NZlNRMGd0dHZ1YTN0SHlnVHFWdmZ2", "name": "DiaSphere", "configurationRow": { "id": "0b1814f3-80ea-4d17-acff-85a5899050dc", "name": "DiaSphere", "rootConfigurationMember": { "id": "Y29tcH5WQVZNUW1sYmxrZDBtaXJwU0NYMHJ0X0wyQ35qWk9hM1ZZYUx6enZYNnllQnh3SVA4X2FnYX5NZlNRMGd0dHZ1YTN0SHlnVHFWdmZ2", "name": "DiaSphere" } } } } }
Show More