Skip to content

Filter Germplasm by Acquisition Date #624

@dwaring87

Description

@dwaring87

We have a use-case where we'd like to be able to search germplasm by the acquisitionDate property. Ideally, we'd like to be able to find germplasm that were acquired after a certain date or between specific dates.

Our idea is that we could use the GET /germplasm or POST /search/germplasm endpoints to filter germplasm by acquisition date. However, a simple equality parameter would not be enough to find matches for a range of dates. Our idea is to add these parameters:

  • acquisitionDate - include germplasm that match an exact date in YYYYMMDD format
  • minAcquisitionDate - include germplasm that have an acquisition date >= the parameter value
  • maxAcquisitionDate - include germplasm that have an acquisition date <= the parameter value

The minAcquisitionDate and maxAcquisitionDate parameters could be combined to filter germplasm by a range of dates.

Any thoughts on this idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    BrAPI-GermplasmRelated to BrAPI-GermplasmNew ParameterAdding a new search/filter parameter

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions