Skip to content

List available teachers

GET
/teachers/available/{studyYear}

Retrieves teachers who are available for allocation in the specified study year

studyYear
required
string

The study year to check availability for

Available teachers retrieved successfully

object
success
boolean
true
data
Array<object>
object
teacher_id
required

Unique identifier for the teacher

integer
teacher_name
required

Name of the teacher

string
email
required

Email address of the teacher

string format: email
used_resources
required

Number of resources currently used

integer
total_resources
required

Total number of resources allocated

integer
resource_id
required

Resource ID associated with the teacher

integer

Unauthorized - authentication required

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: UNAUTHORIZED

Forbidden - insufficient permissions

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: FORBIDDEN

Internal server error

object
success
required

Indicates if the request was successful

boolean
message
required

Response message

string
success
boolean
message
string
Allowed values: INTERNAL_SERVER_ERROR