Create Ingestion Activity
Request Method
POST
Request URL
Request Headers
x-cleartax-auth-token
String
NA
Mandatory. Access token linked to the workspace and environment.
Content-Type
String
NA
Mandatory. application/json
Request Path Params
There are no path parameters for this API.
Request Query Params
There are no query parameters for this API.
Request Body
fileInfo
Object
-
Mandatory. One or more template nodes.
metadata
Object
NA
Optional. Leave this empty {}.
activityFlow
String
NA
Mandatory. This should be “FULL”.
Template Node Object
{{template_name}}
Array
Enum: Based on solution clarification discussion
Mandatory. Array of one or more file nodes belonging to the same template.
File Node Object
s3FileUrl
String
NA
Mandatory. Pre-signed URL where the file is uploaded (without the signature).
userFileName
String
NA
Mandatory. Name of the file uploaded. This will be visible to the end user.
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
Initial state will be “EXECUTION_STARTED”
Sample Request and Response
Sample Request
Sample Response
API Validations
Currently there are no known validations.
API Constraints
If more than one file is uploaded, then all of them will be processed as one batch. If there is any error, all of them might fail.
Last updated