API-16 — Create Vehicle with Valid Data
Vehicles
Backend API
API-16 — Create Vehicle with Valid Data
API-16 — Create Vehicle with Valid Data
Target
Backend API — Vehicles
Preconditions
- A valid authentication token exists
Steps
- Send POST https://project6.dxtserver.com/drivelink_new/public/api/v1/vehicles with all required vehicle fields (make, model, year, VIN, etc.) and the auth token
- Observe the response
Expected Result
- HTTP 200 or 201 is returned
- The vehicle is created and appears in the user’s vehicle list