Batch Case Service¶
Service for submitting and managing batch case searches.
- class pacersdk.services.batch_case.BatchCaseService(token_provider: Callable[[], str], config: dict, token: str | None = None)¶
Bases:
object
Provides access to the batch case search API endpoint.
- delete(report_id: str) dict ¶
Delete a submitted batch case report by ID.
- Parameters:
report_id – Batch report identifier.
- Returns:
Response status or message.
- download(report_id: str) ReportList ¶
Download results of a completed batch case search job.
- Parameters:
report_id – The report identifier.
- Returns:
ReportList object.
- listall() ReportList ¶
Retrieve a list of all current batch case jobs.
- Returns:
ReportList object.
- status(report_id: str) ReportList ¶
Query the status of a batch case search job.
- Parameters:
report_id – The report identifier.
- Returns:
ReportList object.
- submit(criteria: CourtCaseSearchCriteria) ReportInfo ¶
Submit a batch case search job.
- Parameters:
criteria – CourtCaseSearchCriteria with optional filters.
- Returns:
ReportInfo object.