POST api/Professor
Adiciona um novo professor
Request Information
URI Parameters
None.
Body Parameters
Id e dados do novo professor
ProfessorName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Nome | string |
None. |
|
Contacto | string |
None. |
|
string |
None. |
||
IdDisciplina | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "Nome": "sample string 2", "Contacto": "sample string 3", "Email": "sample string 4", "IdDisciplina": 1 }
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
Resultado da operação
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.