Get by ID
Returns information on vehicle documentation that been submitted to us.
You cannot view the actual documentation, just some basic information relating to it.
GET
/v1/vehicle-documentation/{stockId}
curl \
-X GET https://api.dealerauction.co.uk/v1/vehicle-documentation/{stockId}
Response examples (200)
{
"documents": [
{
"category": "V5",
"publicUploadUrl": "https://www.example.com/document-id",
"uploaded": true
}
]
}
Response examples (400)
{
"errorCode": "INVALID_STOCK_ITEM",
"errorMessage": "An error message",
"errors": [
{
"message": "An error has occurred",
"key": "string"
}
]
}
Response examples (403)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (404)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}
Response examples (409)
{
"errorCode": "STOCK_ALREADY_EXISTS",
"vrm": "AB17ABC"
}
Response examples (502)
{
"errorCode": "SERVER_ERROR",
"errorMessage": "An unexpected error has occurred"
}