Skip to main content

TestProgramField

Which field the row reads. A system field is named by key alone; an additional field also needs entityType. A field that is not in the organization's field list is saved with the warning condition.unknown_field, and its row then matches only isEmpty.

keystringrequired

The field's key (see Fields on Update Test Program).

Example: product_category
fieldTypestringrequired

Possible values: [system, additional_field]

entityTypestring

Additional fields only: lab_test (Lab Test Additional Data), itm (Item), pdt (Style), mat (Material) or po (Purchase Order).

Possible values: [lab_test, itm, pdt, mat, po]

labelstring

Optional in the request; the backend writes the field list's label on save.

Example: Product Category
TestProgramField
{
"key": "product_category",
"fieldType": "system",
"entityType": "lab_test",
"label": "Product Category"
}