# API Maps ## Table of Contents ### 1. Home Tab - [1-1 Get User Info](#1-1-get-user-info) - 1-2 Search Location - 1-3 Get Booking History (Completed) ### 2. Home - Scan - 2-1 Get User's Cars: From `Zustand` - 2-2 Scan QR Code (Connector ID) ### 3. Home - My Booking - 3-1 Get Booking History (All Status) ### 4. Home - My Booking - New Booking - [4-1 Get All Charge Stations](#4-1-get-all-charge-stations) - 4-2 Get Nearby Charge Stations: `App Function?` ### 5. Home - My Booking - New Booking - Station Details - [5-1 Get Charge Station Info By ID](#5-1-get-charge-station-info-by-id) - [5-2 Get Business Hour](#5-2-get-business-hour) ### 6. Home - My Booking - New Booking - Station Details - New Booking - [6-1 Get Connectors Available Time By Station ID](#6-1-get-connectors-available-time-by-station-id) - [6-2 Get Charge Station Price by Station ID](#6-2-get-charge-station-price-by-station-id) ### 7. Home - My Booking - New Booking - Station Details - New Booking - Confirm Booking - Payment Details (Wallet) - 7-1 Wallet Transaction (Payment) - [7-2 Get All Coupons](#7-2-get-all-coupons) ### 8. Charge Tab > Indent Order By Status of Complete & Incomplete - 8-1 Get Booking History (Up Coming One) ### 9. Charge Tab - Complete Order > Indent Order By Status of Complete & Incomplete - 9-1 Finish Order Manually by Order ID ### 10. My Car - [10-1 Get User's Cars](#10-1-get-user-cars) - 10-2 Add New Car (Can set default) - 10-3 Delete Car - [10-4 Set Default Car](#10-4-set-default-car) - [10-5 Get Car Brand & Types](#10-5-get-car-brand--types) ### 11. Account Tab - 11-1 User Info: `1-1` ### 12. Account - Wallet - 12-1 Get Remain Amount - 12-2 Get All Coupons: `7-2` - 12-3 Top Up Value (QFPay) ### 13. Account - History (Record) - 13-1 Get Booking History (All Status): `3-1` ### 14. Account - Apply Uber - 14-1 Upload Image & Bind User Relation --- # API Location ## 1. Home Tab ### 1-1 Get User Info - Path: `/api/v1/clients/customer` - Docs Url: `http://192.168.1.33:12000/api#/Customer/UserController_getCustomer` ## 4. Home - My Booking - New Booking ### 4-1 Get All Charge Stations - Path: `/api/v1/clients/chargestations/resources/info` - Docs Url: `http://192.168.1.33:12000/api#/Charge%20Stations/ResourcesController_queryStationsInfo` ## 5. Home - My Booking - New Booking - Station Details ### 5-1 Get Charge Station Info By ID - Path: `/api/v1/clients/chargestations/resources/status` - Docs Url: `http://192.168.1.33:12000/api#/Charge%20Stations/ResourcesController_queryStationStatus` ### 5-2 Get Business Hour - Path: `/api/v1/clients/promotion/business_hour` - Docs Url: `http://192.168.1.33:12000/api#/Promotion/PromotionController_getAllBusinessHour` ## 6. Home - My Booking - New Booking - Station Details - New Booking ### 6-1 Get Connectors Available Time By Station ID - Path: `/api/v1/clients/reservation/connectors/{stationId}` - Docs Url: `http://192.168.1.33:12000/api#/Reservation/ReservationController_getConnectors` ### 6-2 Get Charge Station Price by Station ID > (\*\*\*Need Additional Feature: By Time) - Path: `/api/v1/clients/promotion/price` - Docs Url: `http://192.168.1.33:12000/api#/Promotion/PromotionController_getPriceByStationID` ## 7. Home - My Booking - New Booking - Station Details - New Booking - Confirm Booking - Payment Details (Wallet) ### 7-2 Get All Coupons - Path: `/api/v1/clients/promotion/coupons/{uid?}` - Docs Url: `http://192.168.1.33:12000/api#/Promotion/PromotionController_getCouponByUID` ## 10. My Car ### 10-1 Get User Cars - Path: `/api/v1/clients/customer/car/cars` - Docs Url: `http://192.168.1.33:12000/api#/Public/CarController_getCarBrand` --- ### 10-4 Set default car - Path: `/api/v1/clients/customer/car/default` - Docs Url: `http://192.168.1.33:12000/api#/Car/CarController_putDefaultCar` --- ### 10-5 Get Car Brand & Types - Path: `/api/v1/public/client/car/brand` - Docs Url: `http://192.168.1.33:12000/api#/Public/CarController_getCarBrand` ---