Component Instances
Work Orders
Processes
Storage
Properties
Fields
Part Numbers
Datasets
Create Dataset
Endpoint for creating datasets (also referred to as data keys).
PUT
/
datasets
curl --request PUT \
--url https://api.serial.io/datasets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "TEXT",
"name": "<string>",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usl": 123,
"lsl": 123,
"unit": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": 123,
"data_type": "PARAMETRIC_QUANTITATIVE",
"created_at": "2023-11-07T05:31:56Z",
"process_revision": 123,
"lsl": 123,
"usl": 123,
"unit": "<string>",
"child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_value": "<any>",
"is_active": true,
"values": [
"<string>"
]
}
Authorizations
API Key or Token formatted as Bearer <YOUR_KEY_OR_TOKEN>
Body
application/json
Response
200
application/json
OK
The response is of type object
.
curl --request PUT \
--url https://api.serial.io/datasets \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"type": "TEXT",
"name": "<string>",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"usl": 123,
"lsl": 123,
"unit": "<string>"
}'
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"process_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"order": 123,
"data_type": "PARAMETRIC_QUANTITATIVE",
"created_at": "2023-11-07T05:31:56Z",
"process_revision": 123,
"lsl": 123,
"usl": 123,
"unit": "<string>",
"child_component_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_value": "<any>",
"is_active": true,
"values": [
"<string>"
]
}
Assistant
Responses are generated using AI and may contain mistakes.