GET
/v1/import/validation/results/{validationID}
const url = 'https://api.zentail.com/v1/import/validation/results/1';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.zentail.com/v1/import/validation/results/1 \ --header 'Authorization: Bearer <token>'Returns Validation data which contains previews and validation results. This endpoint will return even if the validation is not complete and will give the current results of the validation.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”validationID
required
number
Validation ID
Responses
Section titled “ Responses ”Success
Media type*/*
object
status
string
data_rows_processed
number
previews
Array<object>
object
name
string
message
string
status
string
validation_result_groups
Array<object>
object
name
string
failed_count
integer
passed_count
integer
validation_results
Array<object>
object
name
string
message
string
status
string
invalid_count
number
valid_count
integer
indices
Array<number>
Bad Request
Media type*/*
object
errorCode
number
Example
400errorMessages
Array<string>
referenceId
string format: uuid
Permission Denied
Media type*/*
object
errorCode
number
Example
403errorMessages
Array<string>
referenceId
string format: uuid
Not Found
Media type*/*
object
errorCode
number
Example
404errorMessages
Array<string>
referenceId
string format: uuid
Zentail Error
Media type*/*
object
errorCode
number
Example
500errorMessages
Array<string>
referenceId
string format: uuid
errorMessage
string
Zentail Error
Media type*/*
object
errorCode
number
Example
503errorMessages
Array<string>
referenceId
string format: uuid