SAGRES REST API

<back to all web services

SolicitacaoAluno

The following routes are available for this service:
POST/diario/solicitacao-aluno
PUT/diario/solicitacao-aluno/{Id}

To override the Content-type in your clients HTTP Accept Header, append ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/oneway/SolicitacaoAluno HTTP/1.1 
Host: www2.bahiana.edu.br 
Content-Type: application/json
Content-Length: length

{"id":0,"nome":"String","nomeResumido":"String","tiposDeServicos":[{"id":0,"descricao":"String","instrucoes":"String","valor":0,"restricao":"String","segundaChamada":false}],"turmas":[{"turma":{"id":0,"descricao":"String","tipo":"String","dataInicio":"0001-01-01T00:00:00-03:00","dataFim":"0001-01-01T00:00:00-03:00","alocacaoFixa":false,"statusPlanoEnsino":0,"situacao":0,"turno":"String","numeroAlunos":0,"numeroAulas":0},"atividadeCurricular":{"id":0,"codigo":"String","nome":"String","nomeResumido":"String","ementa":"String","bibliografia":"String","bibliografiaComplementar":"String","cargaHoraria":0,"creditos":0,"tipoResultado":0,"tipoAvaliacao":70},"avaliacoes":[{"id":null,"ordinal":0,"nome":"String","nomeResumido":"String","descricao":"String","data":"0001-01-01T00:00:00-03:00","dataSegundaChamada":"0001-01-01T00:00:00-03:00","peso":0,"tipo":1}]}]}