@echo off
echo Testing Marketing Officer Dashboard API
echo.
echo Step 1: Login as Marketing Officer
curl -X POST http://localhost:8000/api/v1/auth/login ^
  -H "Content-Type: application/json" ^
  -H "Accept: application/json" ^
  -d "{\"email\":\"anu@gmail.com\",\"password\":\"Anuradha12345\"}" ^
  -o login_response.json

echo.
echo Login response saved to login_response.json
echo.
echo Please extract the token from login_response.json and run:
echo.
echo curl -X GET http://localhost:8000/api/v1/admin/marketing-officer/my-assigned-users ^
echo   -H "Authorization: Bearer YOUR_TOKEN_HERE" ^
echo   -H "Accept: application/json"
echo.
pause
