Get User Car List
GET /user/user-car/
The GET /user/user-car/
endpoint retrieves the list of cars associated with a user.
Parameters: No parameters are required for this request.
Responses:
Code
Description
200
Success - Returns the list of cars associated with the user.
Example Response:
[
{
"car_id": 1,
"make": "Toyota",
"model": "Corolla",
"year": 2020,
"license_plate": "ABC1234"
},
{
"car_id": 2,
"make": "Honda",
"model": "Civic",
"year": 2018,
"license_plate": "XYZ5678"
}
]
Last updated