tesla
  1. Booking
tesla
  • tesla
    • Auth
      • data captain
        • cars
        • get car model
        • get color model car
        • get manufacture years
      • register Captain
      • Login
      • Logout
      • register
      • edit profile
      • delete account
      • get profile
      • change password
      • active account
      • Verification Account
    • Forget Password
      • verify Email
    • Booking
      • store booking
        POST
      • get all
        GET
      • Drift
        GET
      • Drift Copy
        GET
      • get one
        GET
      • Update Ride
        PUT
      • Multiple Point Trip
        POST
    • 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. Booking

Multiple Point Trip

Developing
POST
{{tessla}}/booking/multiple-point-trip
Last modified:2025-06-22 10:10:38
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST '{{tessla}}/booking/multiple-point-trip' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
    "booking_id": 285,
    "latitude": 29.971279,
    "longitude": 31.265791,
    "from": "Alexandria",
    "to": "Menoufia",
    "status": 0,
    "amount": 150.75
}'
Response Response Example
{"data":{"id":285,"captain_latitude":null,"captain_longitude":null,"client_latitude":"29.971279","client_longitude":"31.265791","travel_latitude":"29.971279","travel_longitude":"31.265791","from":"alexandria","to":"menoufia","start_date":null,"end_date":null,"amount":1000,"status_start_trip":0,"new_amount":150.75,"payment_method":"cash","status":"pending","client":{"id":67,"name":"oudai","email":"oudaihussain91@gmail.com","phone":"962791560467","address":null,"personal_photo":"https://tessla.test/public/attachments/profile/profile.jpeg","gender":"male","is_active":true,"id_photo":"https://tessla.test/public","id_back_photo":"https://tessla.test/public","photo":"https://tessla.test/public"},"captain":null,"category":{"id":1,"name":"tesla s&x","image":"https://tessla.test/public/attachments/category/db876eab-58f2-4c0d-91b8-1d05cd681506.jpg","start_price":"1.50","start_price_of_kilo":"0.25","price":"100.00","created_at":"2025-05-12"},"multiple_point_trips":[{"id":1,"booking_id":285,"captain_id":null,"client_id":67,"latitude":"29.971279","longitude":"31.265791","from":"Alexandria","to":"Menoufia","start_time":"20:58:56","end_time":"21:01:39","status":1,"amount":"150.75","created_at":"2025-06-21T20:58:56.000000Z","updated_at":"2025-06-21T21:01:39.000000Z"}]},"message":"Successfully updated or added point to trip.","status":true}

Request

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

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Modified at 2025-06-22 10:10:38
Previous
Update Ride
Next
get all
Built with