POST api/Salas

Regista uma nova sala na BD

Request Information

URI Parameters

None.

Body Parameters

Novo objeto Sala

Sala
NameDescriptionTypeAdditional information
ID

integer

None.

EmManutencao

boolean

None.

TipoSala

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmManutencao": true,
  "TipoSala": "sample string 2"
}

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

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.