cURL Command:
shcurl -X POST http://yourdomain.com/api/academic/year/save \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN_HERE" \
-d '{
"clientId": "client1",
"academic_year_id": null,
"start_date": "2024-06-01",
"end_date": "2025-05-01",
"is_current": 1
}'
cURL Command:
shcurl -X POST http://yourdomain.com/api/academic/year/delete \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN_HERE" \
-d '{
"clientId": "client1",
"academic_year_id": 1
}'
cURL Command:
shcurl -X POST http://yourdomain.com/api/academic/year/list \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN_HERE" \
-d '{
"clientId": "client1"
}'
cURL Command:
shcurl -X POST http://yourdomain.com/api/academic/year/get \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN_HERE" \
-d '{
"clientId": "client1",
"academic_year_id": 1
}'