First Trial
Introduction
A trial is an experiment involving one or several factors (Genotypes, Products, etc.) in a specific environment (Growing Area) to evaluate certain traits (Variables). This guide will walk you through the process of creating your first trial in Bloomeo.
Prerequisites
Before creating trials, ensure you have the following:
- A minimal set of hierarchies (Geography, Organization, and Species). See Core Entities for more details.
- A set of genotypes or products to test. See Germplasm for more details.
- (Optional) A growing area to define the environment of your trial. See Growing Area for more details.
Create Your First Trial
Use the
POST /trialendpoint of the experiment service to create a trial.{ "name": "Demo", "startDate": "2025-02-28T23:00:00.000Z", "endDate": "2025-03-07T23:00:00.000Z", "speciesV2": [["Forages"]], "quantityUnit": "seeds", "geography": [["France"]], "organization": [["BU1"]], "plannedExperimentalDesign": "NONE", "plannedNbReplications": 1, "expFactorType": "MONO_FACTOR_GENOTYPE" }Optional linked entities
A trial can be linked to many optional entities (such as users, partners, growing areas, market segments, etc.). If needed, first get the ID of the entity.
Link an observation template:
- Get existing observation templates using the
GET /template-observationendpoint of the experiment service. - Link the chosen template to the trial using the
PATCH /trial/{trialId}/template-observationendpoint of the experiment service. Example:{ "refId": "67039e2c7da5159254c50940", // ID of the observation template "variablesPool": [ { "variableId": "670386045dbb38613a214ada", // ID of the variable "scope": 2, "origin": "TEMPLATE_OBS" } ], "templateObsUnits": { "plot": [ {"variableId": "670386045dbb38613a214ada", "scope": 2} ] } }
- Get existing observation templates using the
Link genotypes or products:
- Get existing genotypes or products using the
GET /germplasmendpoint of the germplasm service. - Link the chosen ones to the trial using the
PATCH /factors/Trial/{trialId}/factorsendpoint of the experiment service. Example:[ { "type": "GENOTYPE", "modalities": [ { "subModalities": [ { "refId": "67470d0bcd56425157e21ab3", // ID of the genotype or product "modalityIndex": 0, "genotypeName": "Geno demo", "materialScope": "Organizational Material", "organization": [["BU1"]], "localStage": "Stage 1 - Pre Breeding" // from Pick list of type local_stage } ], "shortId": "G1", "isControl": true } ], "currentModaCodeIndex": 1 } ]
- Get existing genotypes or products using the
Link a growing area:
- Get existing growing areas using the
GET /growing-areaendpoint of the growing area service. - Link the chosen one to the trial using the
PATCH /trial/{trialId}endpoint of the experiment service. Example:{ "growingAreaId": "668bedf732f89fe362572b03" // ID of the growing area }
- Get existing growing areas using the
Change the status of the trial to
plannedusing thePATCH /trial/{trialId}endpoint of the experiment service. Example:{ "status": "planned" }
Next Steps
- Plan and assign tasks
- Collect data through Notations
- Analyze the results
- Set conclusions and recommendations