Add password reset endpoint and refactor booking count logic
- Introduce `POST /auth/password-reset/request` endpoint in test and `authRoute.php`. - Refactor bookings route to use a new method `getDailyUnfulfilledBookingsCountForDepartment`
This commit is contained in:
@@ -44,6 +44,15 @@ Authorization: Bearer e9d4359673de64f6a9bc4231bf50ac9f5726ad5b3ee6fcad5f8ebbb206
|
||||
"safety_seal": 123456
|
||||
}
|
||||
|
||||
### POST request password reset
|
||||
POST https://api.truckwash.dk:4433/auth/password-reset/request
|
||||
Accept: application/json
|
||||
Content-Type: application/json
|
||||
|
||||
{
|
||||
"customer_number": 12345679
|
||||
}
|
||||
|
||||
###
|
||||
### POST request to order bookings
|
||||
POST https://api.truckwash.dk:4433/order-bookings
|
||||
|
||||
Reference in New Issue
Block a user