PUT api/Professores

Atualiza registo na tabela Professores na base de dados

Request Information

URI Parameters

None.

Body Parameters

Objeto do tipo Professores

Professores
NameDescriptionTypeAdditional information
Id

integer

None.

Nome

string

None.

Apelido

string

None.

Telefone

string

None.

Morada

string

None.

Email

string

None.

AreaEnsino

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.