Skip to content

Request Batch Upload

Request

Submits the batch file process request. Returns the details of the accepted request.

Security
bearerToken
Bodymultipart/form-data
Filestring, (binary)required

The batch file to be processed. Size Limited to 10MB

curl -i -X POST \
  https://connect.sandbox.creditsafe.com/v1/compliance/kyc-protect/batchUploads \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: multipart/form-data' \
  -F File=string

Responses

Success

Bodyapplication/json
idstring, (uuid)

Batch upload request Id

filenamestring

User given file name

statusstring

Batch upload status

Enum:"submitted""validating""rejected""validated""insufficientCredits""queued""inProgress""processed""completed""partiallyCompleted"
rowCountinteger, (int32)

Batch upload file record count

successCountinteger, (int32)

Successful record count in batch upload file

uploadedAtstring, (date-time)

Batch upload requested timestamp

uploadedByIdinteger, (int32)

Batch upload requested by user id

uploadedBystring

Batch file uploaded by user

completedAtstring or null, (date-time)

Batch upload completed timestamp

Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "filename": "string", "status": "submitted", "rowCount": 0, "successCount": 0, "uploadedAt": "2019-08-24T14:15:22Z", "uploadedById": 0, "uploadedBy": "string", "completedAt": "2019-08-24T14:15:22Z" }