Closed AndreasSchultzGEA closed 4 months ago
This looks good. If this is approved I will also update #430 to allow site identifiers, optionally referring to the same sites. One final question: might someone want to query all the active animal sorting commands for a location? If so, we would need a collection and API query for this.
I added an endpoint to request al known sorting-commands. @cookeac, could you please review the changes again? Thx!
Animals might have to be sorted on a farm. Sorting in general is about getting animals from one area of a farm to another. The way in between has to be managed by the HMS. Therefore, a sorting-API should
deliver the sorting-areas of a location deliver the currently active sorting-command for an animal allow the inactivation of a sorting-command for an animal allow the setting of a new sorting-command for an animal