Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.3.0-b1
-
Component/s: Staff Interface
-
Labels:None
Description
The reports under Billing > Reports currently only support CSV format. We need to add a new JSON format. This affects all existing reports.
We need to do one of the following:
- Update all existing reports to allow output via JSON
- It may make sense to take the report data used for CSV and list out each row of data, where each key is the column header and each value is the column value, as a JSON object
- Update reports to set which formats they accept
- Reports may need to return an error if attempting to retrieve them for a given format
- The report page should be able to filter what reports are available by the selected format
TODO:
- Add 'JSON' as a format to the reports page
- Update the way reports are generated to support generating a JSON-formatted report
Issue Links
- blocks
-
CORE-2691 Create the Client Data Portability report
- Closed