The calling system will not know what Trays have been completed, so it will need to be able to hit an endpoint without a Tray id. The caller will request an export of all Trays that have been validated in this system.
It should also only operate on validated but not exported trays.
Unless there is a different API endpoint I haven't seen yet, the
TrayController::export()
method will need to change.https://github.com/ulsdevteam/lcsu/blob/fd1e3dc5a1307831f0275fafc29c4aa746a60f90/src/Controller/TraysController.php#L300-L305
The calling system will not know what Trays have been completed, so it will need to be able to hit an endpoint without a Tray id. The caller will request an export of all Trays that have been validated in this system.
It should also only operate on validated but not exported trays.