Component Instances
Work Orders
Processes
Storage
Properties
Fields
Part Numbers
Components
Create Component Link
Create a link between two components
PUT
/
components
/
links
curl --request PUT \
--url https://api.serial.io/components/links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"parent_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_child_of_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Authorizations
API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Body
application/json
The body is of type object
.
Response
200
application/json
OK
The response is of type object
.
curl --request PUT \
--url https://api.serial.io/components/links \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"parent_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"has_child_of_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"dataset_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
Assistant
Responses are generated using AI and may contain mistakes.