Skip to main content
GET
Get import batch progress for any batch type, including attendance and enrollment

Authorizations

Authorization
string
header
required

Passport bearer token authentication for legacy admin sessions.

Path Parameters

batch_id
integer
required

ID of the import batch

Response

Batch progress or completed results

batch_id
integer
Example:

123

batch_type
string
Example:

"payments"

status
string
Example:

"processing"

progress
integer
Example:

45

total_rows
integer
Example:

1000

processed_rows
integer
Example:

450

successful_rows
integer
Example:

400

failed_rows
integer
Example:

50

total_errors
integer
Example:

75

validation_errors
object

Detailed errors by row (only when completed)

error_message
string

Error message if failed

filename
string
Example:

"import.csv"

import_type
string

Only for donor/recipient batches

Example:

"donors"

created_at
string
Example:

"2024-01-14T10:30:00Z"

started_at
string
Example:

"2024-01-14T10:30:05Z"

completed_at
string
Example:

"2024-01-14T10:35:00Z"

total_amount
number

Only for payment batches

Example:

5000

donation_count
integer

Only for payment batches

Example:

100

record_count
integer

Only for donor/recipient batches

Example:

50