Get Ingestion Activity Status
Request Method
GET
Request URL
Request Headers
x-cleartax-auth-token
String
NA
Mandatory. Access token linked to the workspace and environment.
Request Path Params
activity_id
String
NA
Mandatory. Ingestion Activity ID from previous API.
Request Query Params
There are no query parameters for this API.
Request Body
There will be no request body for this API.
Response Status Codes
200
OK
400
Bad request
401
Unauthorised
403
Forbidden
Response Schema
activityId
String
NA
Ingestion activity ID that can be used to check status later.
state
String
NA
End state will be “EXECUTION_COMPLETED” or “EXECUTION_FAILURE”
Sample Request and Response
Sample Request
Sample Response
API Validations
Currently there are no known validations.
API Constraints
There can be multiple intermediate states. It may take 10-15 mins for an activity to complete based on the size of the files uploaded that need to be processed. Further if there is any error, it will be retried thrice before reaching the end state.
Use exponential intervals for polling status.
Last updated