227 lines
6.7 KiB
YAML
227 lines
6.7 KiB
YAML
# api
|
|
|
|
api_register:
|
|
path: /apiv2/register
|
|
controller: App\Controller\CustomerAppAPI\AuthController::register
|
|
methods: [POST]
|
|
|
|
api_confirm:
|
|
path: /apiv2/number_confirm
|
|
controller: App\Controller\CustomerAppAPI\AuthController::confirmNumber
|
|
methods: [POST]
|
|
|
|
api_validate:
|
|
path: /apiv2/code_validate
|
|
controller: App\Controller\CustomerAppAPI\AuthController::validateCode
|
|
methods: [POST]
|
|
|
|
api_info_get:
|
|
path: /apiv2/info
|
|
controller: App\Controller\CustomerAppAPI\CustomerController::getInfo
|
|
methods: [GET]
|
|
|
|
api_info_update:
|
|
path: /apiv2/info
|
|
controller: App\Controller\CustomerAppAPI\CustomerController::updateInfo
|
|
methods: [POST]
|
|
|
|
api_status:
|
|
path: /apiv2/status
|
|
controller: App\Controller\CustomerAppAPI\CustomerController::getStatus
|
|
methods: [GET]
|
|
|
|
api_vehicle_mfg_list:
|
|
path: /apiv2/vehicle/mfgs
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::listVehicleManufacturers
|
|
methods: [GET]
|
|
|
|
api_vehicle_make_list:
|
|
path: /apiv2/vehicle/mfgs/{mfg_id}/makes
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::listVehicleMakes
|
|
methods: [GET]
|
|
|
|
api_cust_vehicle_add:
|
|
path: /apiv2/vehicles
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::addVehicle
|
|
methods: [POST]
|
|
|
|
api_cust_vehicle_update:
|
|
path: /apiv2/vehicles/{id}
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::updateVehicle
|
|
methods: [POST]
|
|
|
|
api_cust_vehicle_list:
|
|
path: /apiv2/vehicles
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::listVehicles
|
|
methods: [GET]
|
|
|
|
api_promo_list:
|
|
path: /apiv2/promos
|
|
controller: App\Controller\CustomerAppAPI\PromoController::listPromos
|
|
methods: [GET]
|
|
|
|
api_battery_list:
|
|
path: /apiv2/vehicles/{vid}/compatible_batteries
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::getCompatibleBatteries
|
|
methods: [GET]
|
|
|
|
api_jo_request:
|
|
path: /apiv2/job_order
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::requestJobOrder
|
|
methods: [POST]
|
|
|
|
api_estimate:
|
|
path: /apiv2/estimate
|
|
controller: App\Controller\CustomerAppAPI\EstimateController::getEstimate
|
|
methods: [POST]
|
|
|
|
api_ongoing:
|
|
path: /apiv2/job_order/ongoing
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::getOngoing
|
|
methods: [GET]
|
|
|
|
api_rider_status:
|
|
path: /apiv2/rider
|
|
controller: App\Controller\CustomerAppAPI\RiderController::getRiderStatus
|
|
methods: [GET]
|
|
|
|
api_rider_rating_add:
|
|
path: /apiv2/rider_rating
|
|
controller: App\Controller\CustomerAppAPI\RiderController::addRiderRating
|
|
methods: [POST]
|
|
|
|
api_jo_cancel:
|
|
path: /apiv2/job_order/cancel
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController:cancelJobOrder
|
|
methods: [POST]
|
|
|
|
api_jo_history:
|
|
path: /apiv2/job_order/history
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController:getJOHistory
|
|
methods: [GET]
|
|
|
|
api_jo_invoice:
|
|
path: /apiv2/job_order/invoice
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController:getJOInvoice
|
|
methods: [GET]
|
|
|
|
api_device_id:
|
|
path: /apiv2/device_id
|
|
controller: App\Controller\CustomerAppAPI\DeviceController:updateDeviceID
|
|
methods: [POST]
|
|
|
|
api_privacy:
|
|
path: /apiv2/privacy
|
|
controller: App\Controller\CustomerAppAPI\PrivacyController:privacySettings
|
|
methods: [POST]
|
|
|
|
api_resend_code:
|
|
path: /apiv2/resend_code
|
|
controller: App\Controller\CustomerAppAPI\AuthController:resendCode
|
|
methods: [POST]
|
|
|
|
api_location_support:
|
|
path: /apiv2/location_support
|
|
controller: App\Controller\CustomerAppAPI\LocationController:locationSupport
|
|
methods: [GET]
|
|
|
|
api_activate_warranty:
|
|
path: /apiv2/activate_warranty
|
|
controller: App\Controller\CustomerAppAPI\WarrantyController:activateWarranty
|
|
methods: [POST]
|
|
|
|
api_service_list:
|
|
path: /apiv2/services
|
|
controller: App\Controller\CustomerAppAPI\ServiceController:listServices
|
|
methods: [GET]
|
|
|
|
api_partner_info:
|
|
path: /apiv2/partners/{pid}
|
|
controller: App\Controller\CustomerAppAPI\PartnerController:getPartnerInformation
|
|
methods: [GET]
|
|
|
|
api_partner:
|
|
path: /apiv2/partners
|
|
controller: App\Controller\CustomerAppAPI\PartnerController:getClosestPartners
|
|
methods: [GET]
|
|
|
|
api_partner_review:
|
|
path: /apiv2/partners/{pid}/review
|
|
controller: App\Controller\CustomerAppAPI\PartnerController:reviewPartner
|
|
methods: [POST]
|
|
|
|
api_nearest_hub_slots:
|
|
path: /apiv2/hub_slots
|
|
controller: App\Controller\CustomerAppAPI\LocationController::getNearestHubAndSlots
|
|
methods: [GET]
|
|
|
|
api_new_jo_request:
|
|
path: /apiv2/new_job_order
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::newRequestJobOrder
|
|
methods: [POST]
|
|
|
|
api_version_check:
|
|
path: /apiv2/version_check
|
|
controller: App\Controller\CustomerAppAPI\AppController::versionCheck
|
|
methods: [GET]
|
|
|
|
api_schedule_option_status:
|
|
path: /apiv2/schedule_option_status
|
|
controller: App\Controller\CustomerAppAPI\ScheduleController::scheduleOptionStatus
|
|
methods: [GET]
|
|
|
|
# paperless warranty / qr code
|
|
api_warr_serial_check:
|
|
path: /apiv2/warranty/{serial}
|
|
controller: App\Controller\CustomerAppAPI\WarrantyController::warrantyCheck
|
|
methods: [GET]
|
|
|
|
api_warr_serial_register:
|
|
path: /apiv2/warranty/{serial}
|
|
controller: App\Controller\CustomerAppAPI\WarrantyController::warrantyRegister
|
|
methods: [POST]
|
|
|
|
api_jo_info:
|
|
path: /apiv2/job_order/{id}/info
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::getJobOrderInfo
|
|
methods: [GET]
|
|
|
|
api_ongoing_job_orders:
|
|
path: /apiv2/job_orders/ongoing
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::getAllOngoingJobOrders
|
|
methods: [GET]
|
|
|
|
api_ongoing_jo_count:
|
|
path: /apiv2/job_orders/ongoing/count
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::getOngoingJobOrderCount
|
|
methods: [GET]
|
|
|
|
api_new_location:
|
|
path: /apiv2/new_location
|
|
controller: App\Controller\CustomerAppAPI\LocationController::addLocation
|
|
methods: [POST]
|
|
|
|
api_locations:
|
|
path: /apiv2/locations
|
|
controller: App\Controller\CustomerAppAPI\LocationController::getLocations
|
|
methods: [GET]
|
|
|
|
api_cust_vehicle_remove:
|
|
path: /apiv2/vehicles/{id}/remove
|
|
controller: App\Controller\CustomerAppAPI\VehicleController::removeVehicle
|
|
methods: [POST]
|
|
|
|
api_latest_job_order:
|
|
path: /apiv2/job_order/latest
|
|
controller: App\Controller\CustomerAppAPI\JobOrderController::getLatestJobOrder
|
|
methods: [GET]
|
|
|
|
api_customer_hash_get:
|
|
path: /apiv2/customer_hash
|
|
controller: App\Controller\CustomerAppAPI\CustomerController::getCustomerHash
|
|
methods: [GET]
|
|
|
|
#api_completed_job_orders:
|
|
# path: /apiv2/job_orders/completed
|
|
# controller: App\Controller\CustomerAppAPI\JobOrderController::getCompletedJobOrders
|
|
# methods: [GET]
|