POST api/ProfsDiscips
Cria novo registo na tabela ProfsDiscips da base de dados
Request Information
URI Parameters
None.
Body Parameters
Objeto que estabelece a relação do tipo ProsDiscip
ProfsDiscipsName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Professor | integer |
None. |
|
Disciplina | integer |
None. |
|
Disciplinas | Disciplinas |
None. |
|
Professores | Professores |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Professor": 1, "Disciplina": 1, "Disciplinas": { "Id": 1, "Nome": "sample string 2", "CargaHoraria": 3 }, "Professores": { "Id": 1, "Nome": "sample string 2", "Apelido": "sample string 3", "Telefone": "sample string 4", "Morada": "sample string 5", "Email": "sample string 6", "AreaEnsino": "sample string 7" } }
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Resposta do tipo IHttpActionResult
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.