Get Batch Errors
Gets a list of any errors for the batch
Path parameters
batchIdstring · uuidRequiredExample:
Identifier for the batch
c87e2a4a-5169-4726-b078-7e9538ae28cd
Query parameters
errorTypestringOptionalExample:
Retrieves only batch errors of this type
VALIDATION_ERROR
Responses
200
Errors for batch
application/json
404
Resource for id cannot be found
application/json
500
Unknown error on the service side
application/json
get
GET /batch/v1/batches/{batchId}/errors HTTP/1.1
Host: api.tst.motorweb.app
Accept: */*
{
"batchId": "c87e2a4a-5169-4726-b078-7e9538ae28cd",
"batchItemsErrors": [
{
"id": "0268d287-9d9b-4312-8933-6c04a36dbbcf",
"inputs": {
"plate": "ABC123",
"state": "ACT"
},
"errors": [
{
"errorType": "PROCESSING_ERROR",
"errorDescription": "Plate/State not found",
"attemptNumber": 3
}
]
}
]
}
Last updated