tesla
  1. data captain
tesla
  • tesla
    • Auth
      • data captain
        • cars
          GET
        • get car model
          GET
        • get color model car
          GET
        • get manufacture years
          GET
      • register Captain
        POST
      • Login
        POST
      • Logout
        POST
      • register
        POST
      • edit profile
        PUT
      • delete account
        DELETE
      • get profile
        GET
      • change password
        PUT
      • active account
        PUT
      • Verification Account
        POST
    • Forget Password
      • verify Email
    • Booking
      • store booking
      • get all
      • Drift
      • Drift Copy
      • get one
      • Update Ride
    • Captains
      • get all
      • captain booking details
      • get one
      • update location
    • Cars
      • get all
      • get brand and model car
    • Payment
      • store
      • get all
      • get one
    • Gratuity
      • store
      • get all
      • get one
    • Contact Us
      • store
    • categories
      • get all
    • Services
      • get all
      • status service captain
    • location
      • update and channel
    • Saved Places
      • get all
      • store
      • update
      • delete
    • Promotion
      • get one
      • store
    • Transfer Wallet
      • store
      • Card Charging
      • get all
      • Verify Otp
      • Reset Otp
    • Public Information
      • Public Information
    • Setting
      • get one
    • Notification
      • unread notification
      • rad notification
      • rad notification Copy
    • Questions
      • questions
    • Payment Method
      • get all
    • Gratuity Salary
      • get all
    • Delay Period
      • get all
    • Favorites
      • get all
    • Order
      • get all
      • store
      • update
      • delete
      • Approved Request Order
      • delivery of orders
    • Wallet Charging
      • store
    • Plans
      • get all
      • store
      • subscriptions confirm
  1. data captain

get car model

Developing
GET
{{tesslaServer}}/get_car_models/9
Last modified:2025-04-20 16:49:42
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{tesslaServer}}/get_car_models/9'
Response Response Example
{"data":[{"id":1,"car_id":1,"model_name":"modeil 3","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60"},{"id":2,"car_id":1,"model_name":"modeil Y","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60"},{"id":3,"car_id":1,"model_name":"modeil X","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60"},{"id":4,"car_id":1,"model_name":"modeil S","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60"}],"message":"successfully get all car models","status":true}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Responses

🟢200OK
application/json
Body
data
array [object {8}] 
required
id
integer 
required
car_id
integer 
required
model_name
string 
required
created_at
null 
required
updated_at
null 
required
tax
string 
required
commission
string 
required
total
string 
required
message
string 
required
status
boolean 
required
Modified at 2025-04-20 16:49:42
Previous
cars
Next
get color model car
Built with