Uploading a Case
Last updated
Was this helpful?
Last updated
Was this helpful?
The full API for file uploads is documented here:
https://api.digicust.com/upload/api/{customerId}/{projectId}/new
This endpoint is used for uploading new cases.
POST
Content-Type
multipart/form-data
Authorization
Bearer {access_token}
customerId
string
The unique identifier of the customer.
projectId
string
The unique identifier of the project.
The request body should be of type multipart/form-data
with the following parameters:
files[]
file
The file to be uploaded.
classifications
stringified JSON array
A JSON stringified array of objects where each object contains the fileName and the documentType.
executionStrategyId
string
The execution strategy identifier.
reference
string
The case reference. (optional)
documents
stringified JSON array
priority
string
This can take one of the following values: beforeNormalization
(fallback), afterNormalization
(overwrite). It indicates the priority of the UserInput object.
annotatedAggregated
annotatedExecutionStrategy
customValidationMessages
You can add error, warning or information messages.
Success
200
The file has been successfully uploaded and is being processed
This will return a newly initiated case. Use its id
for further reference. The case will automatically be processed.
A JSON stringified array of document information (e.g. , , , or most commonly, objects). Each UserInput object represents raw case information. (optional)
The object can have the following properties:
The aggregated case data. This contains the relevant information about the case. For more information about the properties of the AggregatedCaseDataModel, refer to .
If you want to modify, how a customs case is being processed, you can overwrite properties of the .
[]