LabTestPropertyUpdateRequest
Property name
Property description
Property enabled status
Property standard
Property revision
Property revision year
Property validatity duration
conditions object[]required
Condition ID
Condition name
is condition required
followUpActions object
provideComment object
falsefalsefalsefalseuploadAttachment object
falsefalsefalsefalseuploadPictureOrVideo object
falsefalsefalsefalserecordFailureCode object
falsefalsefalsecategory object[]
Category ID
Category name
Condition input method
Possible values: [TEST_DATA, TEST_RESULT]
customValueGroup object
Custom value group name
customValues object[]
Custom value
Custom value result
valueRange object
Possible values: [pass, fail]
valueResult object[]required
Value
Result
Possible values: [pass, fail, data, n/a]
Unit
Condition tags. Values are trimmed, inner whitespace collapsed and lower-cased; blanks and duplicates are removed. Tags are kept only on the conditions of the property's latest version: every create or update removes them from older versions. In a request, the list sent becomes the condition's tags and [] removes them. When omitted on create, no tags are stored; when omitted on update, the condition keeps the tags of the condition with the same id in the current version (none when id is omitted or not found). null is rejected. In a response, tags are in the order they were saved, never null, and [] when the condition has none.
Possible values: <= 255 characters
["heavy metal","lead"]Condition position
custom id of category
custom id of subcategory
custom id of product lines
short name of lab test types
Possible values: [all_orgs, selected_orgs]
all_orgsthis field is required used when viewingPermissions is selected_orgs, it's local org id
Property tags. Values are trimmed, inner whitespace collapsed and lower-cased; blanks and duplicates are removed. The list sent replaces the property's existing tags, and [] removes them all. When omitted on create, no tags are stored; omit the field on update to leave them unchanged. null is rejected.
Possible values: <= 255 characters
["fiber:wool","16-cfr-1610"]{
"name": "string",
"description": "string",
"enabled": true,
"standard": "string",
"revision": "string",
"revisionYear": "string",
"validatityDuration": "string",
"conditions": [
{
"id": "string",
"name": "string",
"required": true,
"followUpActions": {
"provideComment": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"uploadAttachment": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"uploadPictureOrVideo": {
"data": false,
"pass": false,
"fail": false,
"required": false
},
"recordFailureCode": {
"data": false,
"fail": false,
"required": false,
"category": [
{
"id": "string",
"name": "string"
}
]
}
},
"inputMethod": "TEST_DATA",
"customValueGroup": {
"name": "string",
"customValues": [
{
"value": "string",
"result": "string"
}
]
},
"valueRange": {
"rangeResult": [
"pass"
],
"valueResult": [
{
"value": "string",
"result": "pass"
}
],
"unit": "string"
},
"tags": [
"heavy metal",
"lead"
],
"position": 0
}
],
"testCategoryId": "string",
"testSubcategoryId": "string",
"productLines": [
"string"
],
"labTestTypes": [
"string"
],
"viewingPermissions": "all_orgs",
"selectedOrgs": [
"string"
],
"tags": [
"fiber:wool",
"16-cfr-1610"
]
}