POST api/Turmas
Cria registo na tabela Turmas na base de dados
Request Information
URI Parameters
None.
Body Parameters
Objeto do tipo Turmas
TurmasName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
AnoLetivo | integer |
None. |
|
Curso | string |
None. |
|
Turno | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Id": 1, "AnoLetivo": 2, "Curso": "sample string 3", "Turno": "sample string 4" }
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.