Capacity check

POST /eligibility/capacity-check
application/json

Body Required

string string

Responses

  • 200

    OK

  • 400 application/json

    Bad Request

    Hide response attributes Show response attributes object
    • errorCode string Required
    • errorMessage string
    • errors array[object]
      Hide errors attributes Show errors attributes object
      • message string Required
      • key string
  • 403 application/json

    Forbidden

    Hide response attributes Show response attributes object
    • errorCode string Required
    • errorMessage string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • errorCode string Required
    • errorMessage string
  • 409 application/json

    Conflict

    Hide response attributes Show response attributes object
    • errorCode string Required
    • vrm string
  • 422 application/json

    Unprocessable Entity

  • 500 application/json

    Internal Server Error

    Hide response attributes Show response attributes object
    • errorCode string Required
    • errorMessage string
  • 502 application/json

    Bad Gateway

    Hide response attributes Show response attributes object
    • errorCode string Required
    • errorMessage string
POST /eligibility/capacity-check
curl \
 --request POST 'https://api.dealerauction.co.uk/eligibility/capacity-check' \
 --user "username:password" \
 --header "Content-Type: application/json" \
 --data '"string"'
Request examples
string
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 (422)
string
Response examples (500)
{
  "errorCode": "SERVER_ERROR",
  "errorMessage": "An unexpected error has occurred"
}
Response examples (502)
{
  "errorCode": "SERVER_ERROR",
  "errorMessage": "An unexpected error has occurred"
}