POST api/Professores
Creates a new teacher
Request Information
URI Parameters
None.
Body Parameters
newTeacher
Professor| Name | Description | Type | Additional information |
|---|---|---|---|
| idProfessor | integer |
None. |
|
| Nome | string |
None. |
|
| Apelido | string |
None. |
|
| Contacto | integer |
None. |
|
| string |
None. |
||
| AreaEnsino | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"idProfessor": 1,
"Nome": "sample string 2",
"Apelido": "sample string 3",
"Contacto": 4,
"Email": "sample string 5",
"AreaEnsino": "sample string 6"
}
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
Status
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.