The checks your quality plans are built from. A recipe lists the ones it carries.
idintegercodestringdescriptionstringnullableinput_typestringnullableHow a result is recorded.
RANGEYES_NOCHECKBOXRADIOTEXTAREANUMBERis_criticalbooleanWhether failing this checkpoint blocks the batch.
namestringpass_valuestringnullableFor a YES_NO checkpoint, which answer passes.
YESNOqc_unit_of_measure_idintegernullableThe QC unit a numeric result is recorded in, if any.
/qc-checkpointscatalog:readThe checkpoints your quality plans are built from.
searchstringnullableFree-text match. Not combinable with the named filters.
codestringnullablePartial match on the code.
namestringnullablePartial match on the name.
input_typestringnullableRANGEYES_NOCHECKBOXRADIOTEXTAREANUMBERsortstringnullableComma-separated field:direction pairs, e.g. id:desc. Sortable: code, id, name. id is always added last, so paging is stable.
limitintegerRows to return. Maximum 200.
offsetintegerRows to skip. Maximum 10000: to read further, narrow the filters or page with updated_since.
data, with pagination.curl "https://public-api.nutrasoft.ca/v1/qc-checkpoints?limit=50" \
-H "Authorization: Bearer $NUTRASOFT_API_KEY"{
"data": [
{
"id": 123,
"code": "SAMPLE-01",
"description": "string",
"input_type": "RANGE",
"is_critical": false,
"name": "Sample name",
"pass_value": "YES",
"qc_unit_of_measure_id": 123
}
],
"pagination": {
"limit": 50,
"offset": 0,
"total": 1,
"has_more": false
},
"order": "id:asc"
}/qc-checkpoints/{qc_id}catalog:readqc_idintegerrequiredThe checkpoint's id.
data.curl "https://public-api.nutrasoft.ca/v1/qc-checkpoints/123" \
-H "Authorization: Bearer $NUTRASOFT_API_KEY"{
"data": {
"id": 123,
"code": "SAMPLE-01",
"description": "string",
"input_type": "RANGE",
"is_critical": false,
"name": "Sample name",
"pass_value": "YES",
"qc_unit_of_measure_id": 123
}
}