Retorna uma lista dos alunos que o perfil tenha acesso. É necessário informar o token de usuário (authorization) no cabeçalho (header) da requisição
Método: POST
Resposta: JSON/XML
| Parâmetro | Obrigatório | Tipo | Descrição |
|---|---|---|---|
| format | Sim | java.lang.String | Formato do retorno (JSON/XML) |
http://187.60.217.18:8080/academico/api/v2/mobile/alunos
{
"idAluno (Integer)": null,
"idPerfil (Integer)": null,
"ra (String)": null,
"nome (String)": null,
"email (String)": null,
"celular (String)": null,
"fone (String)": null,
"sexo (String)": null,
"avatar (String)": null,
"podeSairSozinho (Integer)": null
}
Retorna o avatar do perfil, no tamanho (size) passado por parâmetro.
Método: POST
Resposta: JSON/XML
| Parâmetro | Obrigatório | Tipo | Descrição |
|---|---|---|---|
| idPerfil | Sim | java.lang.Integer | ID do Perfil |
| size | Não | java.lang.Integer | Tamanho da imagem (scale) em pixeis |
http://187.60.217.18:8080/academico/api/v2/mobile/perfil/avatar
Efetua o login de um usuário através do seu RA e/ou E-mail e senha informados.
Método: POST
Resposta: JSON/XML
| Parâmetro | Obrigatório | Tipo | Descrição |
|---|---|---|---|
| login | Sim | java.lang.String | Login (RA/E-Mail) |
| password | Sim | java.lang.String | Senha |
| format | Sim | java.lang.String | Formato do retorno (JSON/XML) |
http://187.60.217.18:8080/academico/api/v2/mobile/autenticar
{
"idPerfil (Integer)": null,
"nome (String)": null,
"email (String)": null,
"celular (String)": null,
"fone (String)": null,
"sexo (String)": null,
"avatar (String)": null,
"token (String)": null
}
Lista o feed de avisos do aluno.
Método: POST
Resposta: JSON/XML
| Parâmetro | Obrigatório | Tipo | Descrição |
|---|---|---|---|
| idPerfil | Sim | java.lang.Integer | ID perfil |
| format | Sim | java.lang.String | Formato do retorno (JSON/XML) |
http://187.60.217.18:8080/academico/api/v2/mobile/feed
{
"id (Integer)": null,
"user_id (Integer)": null,
"user_name (String)": null,
"user_picture (String)": null,
"documents (ArrayList)": [],
"created_at (Long)": null,
"text (String)": null
}
Lista todo o calendário acadêmico da instituição onde o aluno está atualmente (organização)
Método: POST
Resposta: JSON/XML
| Parâmetro | Obrigatório | Tipo | Descrição |
|---|---|---|---|
| idAluno | Sim | java.lang.Integer | ID Aluno |
| format | Sim | java.lang.String | Formato do retorno (JSON/XML) |
http://187.60.217.18:8080/academico/api/v2/mobile/agenda
{
"idLegenda (Integer)": null,
"descricao (String)": null,
"dataInicio (Timestamp)": null,
"dataFim (Timestamp)": null,
"cor (String)": null,
"feriado (Integer)": null,
"unixDataInicio (Long)": null,
"unixDataFim (Long)": null
}