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

cars

Developing
GET
{{tessla}}/get_car
Last modified:2025-04-20 15:14:15
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{tessla}}/get_car' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{"data":[{"id":1,"brand":"Tesla","photo":"https://tessla.test/public","car_models":[{"id":1,"car_id":1,"model_name":"modeil 3","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60","manufacture_years":[{"id":1,"model_car_id":1,"manufacture_year":"2021","created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}],"color_car_models":[{"id":1,"model_car_id":1,"color_name":"Black","photo":null,"created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}]},{"id":2,"car_id":1,"model_name":"modeil Y","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60","manufacture_years":[{"id":2,"model_car_id":2,"manufacture_year":"2022","created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}],"color_car_models":[{"id":2,"model_car_id":2,"color_name":"White","photo":null,"created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}]},{"id":3,"car_id":1,"model_name":"modeil X","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60","manufacture_years":[{"id":3,"model_car_id":3,"manufacture_year":"2023","created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}],"color_car_models":[{"id":3,"model_car_id":3,"color_name":"Red","photo":null,"created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}]},{"id":4,"car_id":1,"model_name":"modeil S","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60","manufacture_years":[{"id":4,"model_car_id":4,"manufacture_year":"2024`","created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}],"color_car_models":[{"id":4,"model_car_id":4,"color_name":"Blue","photo":null,"created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}]}],"category":{"id":1,"name":"تاكسي","image":"https://tessla.test/public","start_price":"100.00","start_price_of_kilo":"250","price":"600.00","created_at":"2025-04-19"},"captain":{"id":2,"name":null,"email":null,"phone":null,"address":null,"personal_photo":"https://tessla.test/public","gender":null,"is_active":null,"license_photo":"https://tessla.test/public","criminal_record":"https://tessla.test/public","id_photo":"https://tessla.test/public","id_back_photo":"https://tessla.test/public","photo":"https://tessla.test/public","brand":null}}],"message":"تم الحصول على جميع السيارات بنجاح","status":true}

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Header Params
Accept
string 
required
Example:
application/json
Accept-Language
string 
required
Example:
ar
Body Params application/json
object {0}
Examples

Responses

🟢200OK
application/json
Body
data
array [object {6}] 
required
id
integer 
optional
brand
string 
optional
photo
string 
optional
car_models
array [object {10}] 
optional
category
object 
optional
captain
object 
optional
message
string 
required
status
boolean 
required
Modified at 2025-04-20 15:14:15
Next
get car model
Built with