Schedule Controller
Get Multiple Schedules
Path: /api/schedules
Method: GET
Example Http Request
GET /api/schedules HTTP/1.1
X-WAL: 0x1234567890123456789012345678901234567890
X-SIG: 0xmockedsignature
X-MES: VGVzdCBtZXNzYWdl
Host: localhost:8080
Example Http Response
HTTP/1.1 200 OK
Vary: Origin
Vary: Access-Control-Request-Method
Vary: Access-Control-Request-Headers
Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization, Accept-Language, connection, Cache-Control, Access-Control-Request-Method, Access-Control-Request-Headers, X-SIG, X-WAL, X-MES
Access-Control-Allow-Credentials: true
Access-Control-Allow-Methods: GET, POST, PUT, PATCH, DELETE, OPTIONS, HEAD
Access-Control-Expose-Headers: Access-Control-Allow-Origin, Access-Control-Allow-Credentials
Content-Type: application/json
X-Content-Type-Options: nosniff
X-XSS-Protection: 0
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Pragma: no-cache
Expires: 0
X-Frame-Options: DENY
Content-Length: 1506
[{"id":"690be73582e35e46fec13b74","name":"Schedule 3","description":"Test schedule description","reportId":"interactions","frequency":"WEEKLY","recipients":["test@example.com"],"format":"PDF","enabled":true,"nextRun":[2025,11,10,10,0],"lastRun":null,"createdAt":[2025,11,6,0,9,25,633000000],"updatedAt":[2025,11,6,0,9,25,633000000],"createdBy":"0x1234567890123456789012345678901234567890","status":"ACTIVE","cronExpression":"0 0 10 ? * MON","executionTime":[10,0],"dayOfWeek":"MONDAY","dayOfMonth":null},{"id":"690be73582e35e46fec13b73","name":"Schedule 2","description":"Test schedule description","reportId":"sessions","frequency":"WEEKLY","recipients":["test@example.com"],"format":"PDF","enabled":true,"nextRun":[2025,11,10,10,0],"lastRun":null,"createdAt":[2025,11,6,0,9,25,622000000],"updatedAt":[2025,11,6,0,9,25,622000000],"createdBy":"0x1234567890123456789012345678901234567890","status":"ACTIVE","cronExpression":"0 0 10 ? * MON","executionTime":[10,0],"dayOfWeek":"MONDAY","dayOfMonth":null},{"id":"690be73582e35e46fec13b72","name":"Schedule 1","description":"Test schedule description","reportId":"interactions","frequency":"WEEKLY","recipients":["test@example.com"],"format":"PDF","enabled":true,"nextRun":[2025,11,10,10,0],"lastRun":null,"createdAt":[2025,11,6,0,9,25,609000000],"updatedAt":[2025,11,6,0,9,25,609000000],"createdBy":"0x1234567890123456789012345678901234567890","status":"ACTIVE","cronExpression":"0 0 10 ? * MON","executionTime":[10,0],"dayOfWeek":"MONDAY","dayOfMonth":null}]
Example Curl Request
$ curl 'http://localhost:8080/api/schedules' -i -X GET \
-H 'X-WAL: 0x1234567890123456789012345678901234567890' \
-H 'X-SIG: 0xmockedsignature' \
-H 'X-MES: VGVzdCBtZXNzYWdl'
Schedule Controller