get profile
GET
{{tessla}}/get-profile
Last modified:2025-04-20 21:09:00
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET '{{tessla}}/get-profile' \
--header 'Accept: application/json' \
--header 'Accept-Language: ar' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{"data":{"id":12,"name":"mohamad","email":"vasunubi@mailinator.com","phone":"6546546546464","address":"dskgfusdf","personal_photo":"https://tessla.test/public","gender":"male","is_active":true,"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","captain":{"id":2,"user_id":12,"width":"45","height":"54","motor_number":null,"license_photo":null,"criminal_record":null,"latitude":null,"longitude":null,"id_photo":null,"photo":null,"created_at":"2025-04-20T14:14:32.000000Z","updated_at":"2025-04-20T14:14:32.000000Z","car_id":1,"model_car_id":1,"manufacture_year_id":1,"color_car_model_id":1,"id_back_photo":null,"vehicle_coding":null,"plate_number":null,"car_size":"S","number_passengers":1,"model_car":{"id":1,"car_id":1,"model_name":"modeil 3","created_at":null,"updated_at":null,"tax":"50","commission":"10","total":"60"},"manufacture_year":{"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"},"car":{"id":1,"category_id":1,"brand":"Tesla","photo":null,"created_at":"2025-04-19T20:26:26.000000Z","updated_at":"2025-04-19T20:26:26.000000Z"}},"brand":{"id":1,"brand":"Tesla","photo":"https://tessla.test/public","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"}},"wallet":{"id":11,"user_id":12,"amount":"0.00","debit_balance":"0.00","currency":"JOD","wallet_code":"8043302345793","type":"captain","created_at":"2025-04-19T20:26:25.000000Z","updated_at":"2025-04-19T20:26:25.000000Z"}},"message":"تم الحصول على الملف الشخصي بنجاح","status":true}
Request
Header Params
Accept
string
required
Example:
application/json
Accept-Language
string
required
Example:
ar
Body Params application/json
Responses
Modified at 2025-04-20 21:09:00