NutraSoft food manufacturing ERP software
Esc
  • GuideGetting startedThree steps to your first call and your first order, then the two shapes every response takes.
  • GuideAuthentication and keysBearer keys, test and live environments, rotation without an outage, and what each scope grants.
  • GuideTest modeA second NutraSoft account of your own, seeded with realistic data, that you can safely break.
  • PageErrorsEvery error code the API returns, what it means, what to do about it and whether to retry.
  • PageConventionsThe rules every operation follows: money, time, paging, sorting, nulls, PATCH and identifiers.
Menu

QC checkpoints

The checks your quality plans are built from. A recipe lists the ones it carries.

catalog:readhttps://public-api.nutrasoft.ca/v1

The QC checkpoint object

  • idinteger
  • codestring
  • descriptionstringnullable
  • input_typestringnullable

    How a result is recorded.

    • one ofRANGEYES_NOCHECKBOXRADIOTEXTAREANUMBER
  • is_criticalboolean

    Whether failing this checkpoint blocks the batch.

  • namestring
  • pass_valuestringnullable

    For a YES_NO checkpoint, which answer passes.

    • one ofYESNO
  • qc_unit_of_measure_idintegernullable

    The QC unit a numeric result is recorded in, if any.

Operations

List quality checkpoints

get/qc-checkpointscatalog:read

The checkpoints your quality plans are built from.

Query parameters

  • searchstringnullable

    Free-text match. Not combinable with the named filters.

  • codestringnullable

    Partial match on the code.

  • namestringnullable

    Partial match on the name.

  • input_typestringnullable
    • one ofRANGEYES_NOCHECKBOXRADIOTEXTAREANUMBER
  • sortstringnullable

    Comma-separated field:direction pairs, e.g. id:desc. Sortable: code, id, name. id is always added last, so paging is stable.

  • limitinteger

    Rows to return. Maximum 200.

    • >= 1
    • <= 200
    • default 50
  • offsetinteger

    Rows to skip. Maximum 10000: to read further, narrow the filters or page with updated_since.

    • >= 0
    • <= 10000
    • default 0
Returns
200 A page of QCCheckpoint objects in data, with pagination.
Errors
400 401 403 429 500 503
GET /qc-checkpoints
curl "https://public-api.nutrasoft.ca/v1/qc-checkpoints?limit=50" \
  -H "Authorization: Bearer $NUTRASOFT_API_KEY"
Response200
{
  "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"
}

Retrieve a quality checkpoint

get/qc-checkpoints/{qc_id}catalog:read

Path parameters

  • qc_idintegerrequired

    The checkpoint's id.

    • > 0
Returns
200 One QCCheckpoint object in data.
Errors
400 401 403 404 429 500 503
GET /qc-checkpoints/{qc_id}
curl "https://public-api.nutrasoft.ca/v1/qc-checkpoints/123" \
  -H "Authorization: Bearer $NUTRASOFT_API_KEY"
Response200
{
  "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
  }
}