# Samples

The Sample APIs suite provides a comprehensive set of endpoints to manage sample data associated with laboratory orders, catering to various stages of embryological testing and processing. The `/v1/lab-orders/samples/create` endpoint allows for the submission of new sample data, capturing critical details such as the embryo ID, sample type, container type, developmental stage, and biopsy details, ensuring accurate tracking and traceability of each sample. The `/v1/lab-orders/samples/list?AccountID={AccountID}&LabOrderID={LabOrderID}&page=1&pageSize=10` endpoint supports efficient retrieval of all sample records, complete with pagination, allowing users to view detailed metadata for each sample, such as its collection date, grade, and biopsy status.

The `/v1/lab-orders/samples/get/{ID}?AccountID={AccountID}` endpoint enables fetching a specific sample's full dataset using its unique ID, providing granular details necessary for review or audit purposes. Updates to existing samples can be performed using the `/v1/lab-orders/samples/update` endpoint, which facilitates modifying attributes like sample type, container, or remarks, ensuring the records remain current and accurate. Finally, the `/v1/lab-orders/samples/delete` endpoint allows for the safe removal of sample records while retaining association with the account for integrity and compliance purposes. Together, these APIs ensure streamlined and secure sample lifecycle management for laboratories, enabling precise testing workflows and data accountability.
