-
Notifications
You must be signed in to change notification settings - Fork 2
Business Endpoint Documentation
PUT
/vehicle/checking/{vehicle_id} --> Attempt to checkout a vehicle.
POST
/vehicle/checking/ --> checkin a vehicle.
GET
/vehicle/location/ --> List all vehicle locations.
GET
/vehicle/location/{vehicle_id} --> Read a vehicle location.
POST
/vehicle/location/ --> update the location of the vehicle you have checked out,
GET
/vehicle/status/ --> List all vehicle statuses.
GET
/vehicle/status/{vehicle_id} --> Read the status of a vehicle.
UPDATE
/vehicle/status/{vehicle_id} --> Update the status of a vehicle.
GET
/vehicle/dispatch/ --> Get all current dispatch orders.
GET
/vehicle/dispatch/{vehicle_id} --> Get the dispatch order on a specific vehicle.
PUT
/vehicle/dispatch/{vehicle_Id} --> Create a new dispatch order for this vehicle.
DELETE
/vehicle/dispatch/{order_id} --> Delete(cancel) a dispatch order.
GET
/user/dispatcher/notifications/ --> Get all notifications that haven't been handled.
GET
/user/dispatcher/notifications/{area_id} --> Get all notifications of an area that havent been handled.
PUT
/user/dispatcher/notifications/{notification_id} --> Respond to a particular notification.
GET
/api/ --> List all unanswered notifications.
POST
/api/ --> Send a new request for a dispatch order.
GET
/api/{notification_id} --> read the status and information of a notification.
GET
/user/driver/ --> List all drivers(personal details only)
GET
/user/driver/{driver_id} --> Read a particular driver(personal details only)