{
"state": 1
}
json (application/json)
PUT
<loanNumber>
|
|---|
200 (Success)
400 (Bad Request)
401 (Invalid authentication)
404 (Car with contract number 10000 doesn't exists)
{
"status": "ok",
"message": "State updated.",
"loanNumber": "10000",
"state": "1"
}