POST api/Avaliacao

Request Information

URI Parameters

None.

Body Parameters

Avaliacao
NameDescriptionTypeAdditional information
Departamento

string

None.

Nota

integer

None.

Observacoes

string

None.

DataAvaliacao

date

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Departamento": "sample string 1",
  "Nota": 2,
  "Observacoes": "sample string 3",
  "DataAvaliacao": "2019-12-12T20:07:26.8499878-04:00",
  "ID": 5
}

application/xml, text/xml

Sample:
<Avaliacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>5</ID>
  <DataAvaliacao>2019-12-12T20:07:26.8499878-04:00</DataAvaliacao>
  <Departamento>sample string 1</Departamento>
  <Nota>2</Nota>
  <Observacoes>sample string 3</Observacoes>
</Avaliacao>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Avaliacao'.

Response Information

Resource Description

Avaliacao
NameDescriptionTypeAdditional information
Departamento

string

None.

Nota

integer

None.

Observacoes

string

None.

DataAvaliacao

date

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Departamento": "sample string 1",
  "Nota": 2,
  "Observacoes": "sample string 3",
  "DataAvaliacao": "2019-12-12T20:07:26.8499878-04:00",
  "ID": 5
}

application/xml, text/xml

Sample:
<Avaliacao xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>5</ID>
  <DataAvaliacao>2019-12-12T20:07:26.8499878-04:00</DataAvaliacao>
  <Departamento>sample string 1</Departamento>
  <Nota>2</Nota>
  <Observacoes>sample string 3</Observacoes>
</Avaliacao>