reports
Generate a Private Prosecutors Index report.
Changed onCreates an asynchronous job to produce a CSV report listing all applications to commence a private prosecution recorded under code MX99010, filtered by date range and legacy report location semantics. Returns an acknowledgement containing the job ID that can be used to track progress and download the report once complete. The CSV output is capped by server configuration, defaulting to 100,000 rows.
post/reports/private-prosecutors-index/jobs
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/reports/private-prosecutors-index/jobs
- Authnone declared
Request body
Example request
{
"dateFrom": "2025-10-01",
"dateTo": "2025-10-31",
"location": {
"courtLocationCode": "LOC123",
"otherLocationDescription": "town hall",
"cjaCode": "52"
},
"applicantSurname": "Smith",
"applicantFirstName": "John",
"applicantOrganisationName": "Acme Corp",
"standardApplicantName": "Crown Prosecution Service",
"respondentSurname": "Doe",
"respondentFirstName": "Jane",
"respondentOrganisationName": "XYZ Ltd"
}Response
Report job accepted for asynchronous processing.
Example response
{
"id": "9f7b2a35-57ac-4a1c-9c41-83b6c8157af4",
"type": "FEES_REPORT",
"status": "RECEIVED",
"createdCount": 12,
"mainFeeTotal": 120.5,
"offsiteFeeTotal": 30.25,
"totalFeeValue": 150.75
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info