API support to get chemical analyses IDs given Sample search filters.

These IDs will be used by the front-end to make a subsequent GET request to the chemical analyses endpoint.