SamaySetu API Docs LogoSamaySetu API Docs Logo
SamaySetu API Docsv1.0.0
  • Documentation
  • API Reference
Getting Started
    OverviewAPI Referencev1
Reference
    Reference OverviewData ModelsCommon HeadersHTTP Status CodesError CodesRate Limits and Maintenance
Useful Links
    SamaySetu Platform
Reference

HTTP Status Codes

StatusMeaning in SamaySetuTypical Scenario
200 OKRequest succeededStandard JSON response, status message, or binary PDF/XLSX export
201 CreatedResource createdDraft timetable entry (POST /api/timetable/entries) or lab session/group creation
204 No ContentDeletion succeeded with empty bodyBatch deletion (DELETE /admin/api/batches/{id})
400 Bad RequestRequest validation or business rule failureInvalid @mitaoe.ac.in registration domain, weak password, invalid role, or failed login status
401 UnauthorizedAuthentication missing or expiredAbsent Authorization: Bearer header or expired/invalid JWT token
403 ForbiddenInsufficient authorizationCaller lacks required permission key or targets another department outside scope
404 Not FoundResource missingNon-existent academicYear, department, division, batch, course, room, timeSlot, teacher, or entry ID
409 ConflictState conflict or duplicate entryTeacher/room/division scheduling clash, pre-publish error, or duplicate short code
429 Too Many RequestsRate limit exceededPer-IP tier quota exhausted within the 60-second window
500 Internal Server ErrorUnhandled server errorUnexpected backend failure or PDF/Excel export rendering failure
503 Service UnavailableMaintenance Mode activeInstitutional maintenance lockout active for callers without bypass access
Common HeadersError Codes