Skip to main content

LabTestCertificationFileWrite

A certificate file of a Product, identified by the fileId of a file uploaded through the Storage API. A file the Product already has is kept, and its certificateId and issueDate updated, when its fileId is sent again.

fileIdstringrequired

Storage API file ID of the certificate file.

Example: 7d2c1e3a-5f4b-4c8e-9a61-2b3c4d5e6f70
certificateIdstringnullable

Certificate ID. Omit to leave it unchanged. null or an empty string clears it. Only accepted when Certificate ID is active in the Lab Test Form setup.

Possible values: <= 255 characters

Example: GCC-2026-0001
issueDatestring<date>nullable

Certificate Issue Date (YYYY-MM-DD). Cannot be a date in the future (UTC). Only accepted when Certificate Issue Date is active in the Lab Test Form setup. Omit to leave it unchanged. null clears it.

Example: 2026-10-01
LabTestCertificationFileWrite
{
"fileId": "7d2c1e3a-5f4b-4c8e-9a61-2b3c4d5e6f70",
"certificateId": "GCC-2026-0001",
"issueDate": "2026-10-01"
}