POST api/DisciplinaProfessors

Cria uma nova relação entre disciplina e professor.

Request Information

URI Parameters

None.

Body Parameters

Objeto "DisciplinaProfessor", representando a nova relação.

DisciplinaProfessor
NameDescriptionTypeAdditional information
DisciplinaId

integer

None.

ProfessorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DisciplinaId": 1,
  "ProfessorId": 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

Resposta HTTP com o status de criação ou erro.

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.