Skip to main content

LabTestCreateMissingFieldsResponse

Returned when status is new or submitted and the request lacks what that status requires. The lab test is not created.

codeinteger
Example: 400
statusstring[]
Example: ["Cannot create the lab test as new: the following fields are missing or invalid."]
missingFields object[]
  • Array [
  • fieldstringrequired

    Where the value belongs in this request

    Example: factories[0].contacts[0].email
    formFieldstring

    The mandatory Lab Test Form field it answers, as the field names from the form section down. Absent for the test result fields that submitted requires.

    Example: stakeholderInformation (factory) > mainContactStakeholder > email
  • ]
  • LabTestCreateMissingFieldsResponse
    {
    "code": 400,
    "status": [
    "Cannot create the lab test as new: the following fields are missing or invalid."
    ],
    "missingFields": [
    {
    "field": "factories[0].contacts[0].email",
    "formField": "stakeholderInformation (factory) > mainContactStakeholder > email"
    }
    ]
    }