curl --request POST \
--url https://v1.api.flux-os.com/contracts/{id}/schedules/{schedule_id}/estimated-qualities \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <api-key>' \
--data '
{
"measurement_property": "<unknown>",
"measurement_unit": "<unknown>",
"value": 123
}
'{
"data": {
"value": 123,
"id": "<string>",
"schedule": {
"production_month": "2023-12-25",
"id": "<string>"
},
"measurement_property": {
"name": "<string>",
"short_code": "<string>",
"id": "<string>"
},
"measurement_unit": {
"name": "<string>",
"abbreviation": "<string>",
"id": "<string>",
"html_symbol": null
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Create a new estimated quality.
curl --request POST \
--url https://v1.api.flux-os.com/contracts/{id}/schedules/{schedule_id}/estimated-qualities \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--header 'x-user-id: <api-key>' \
--data '
{
"measurement_property": "<unknown>",
"measurement_unit": "<unknown>",
"value": 123
}
'{
"data": {
"value": 123,
"id": "<string>",
"schedule": {
"production_month": "2023-12-25",
"id": "<string>"
},
"measurement_property": {
"name": "<string>",
"short_code": "<string>",
"id": "<string>"
},
"measurement_unit": {
"name": "<string>",
"abbreviation": "<string>",
"id": "<string>",
"html_symbol": null
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
}Estimated quality successfully created.
Show child attributes