Open sjlewis-jpl opened 4 months ago
For production time summary report:
curl -kL "http://<mozart ip>/bach-api/reports/ProductionTimeSummaryReport?startDateTime=2024-06-01T00:00:00&endDateTime=2024-06-30T23:59:59&reportType=sdp&mime=application/zip" > <output filename>
For production time detailed report:
curl -kL "http://<mozart ip>/bach-api/reports/ProductionTimeDetailedReport?startDateTime=2024-06-01T00:00:00&endDateTime=2024-06-30T23:59:59&reportType=sdp&mime=text/csv". > <output filename>
For retrieval time summary report:
curl -kL "http://<mozart ip>/bach-api/reports/RetrievalTimeSummaryReport?startDateTime=2024-06-01T00:00:00&endDateTime=2024-06-30T23:59:59&reportType=sdp&mime=application/zip" > <output filename>
For retrieval time detailed report:
curl -kL "http://<mozart ip>/bach-api/reports/RetrievalTimeDetailedReport?startDateTime=2024-06-01T00:00:00&endDateTime=2024-06-30T23:59:59&reportType=sdp&mime=text/csv" > <output filename>
Checked for duplicates
No - I haven't checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
It's frustrating to wait on operators to click through a slow and cumbersome interface to generate reports. I'd like the ability to generate them via the command-line, which would allow a single script call to generate everything needed for a given time period (and could also be automated with a chron job).
Describe the feature request
Command-line interface to generate reports - anything that can be generated with the Reporting UI. Automatically generating them with PCM code is optional - I'm OK with operator-controlled & CM'd scripts to do that as well.