GET api/Turmas/{IdTurma}/Alunos
Busca registos de alunos na tabela Turmas referente à turma específica na base de dados
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
IdTurma |
Identificador da turma |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Lista de objetos do tipo Alunos
Collection of AlunosName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Nome | string |
None. |
|
Apelido | string |
None. |
|
DataNascimento | date |
None. |
|
Telefone | string |
None. |
|
Morada | string |
None. |
|
string |
None. |
||
Turma | integer |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Id": 1, "Nome": "sample string 2", "Apelido": "sample string 3", "DataNascimento": "2025-06-16T08:12:05.5342095-05:00", "Telefone": "sample string 5", "Morada": "sample string 6", "Email": "sample string 7", "Turma": 1 }, { "Id": 1, "Nome": "sample string 2", "Apelido": "sample string 3", "DataNascimento": "2025-06-16T08:12:05.5342095-05:00", "Telefone": "sample string 5", "Morada": "sample string 6", "Email": "sample string 7", "Turma": 1 } ]
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.