POST api/Proposta

Request Information

URI Parameters

None.

Body Parameters

Proposta
NameDescriptionTypeAdditional information
Titulo

string

None.

Descricao

string

None.

Categoria

string

None.

Anexo

string

None.

IDUser

integer

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Titulo": "sample string 1",
  "Descricao": "sample string 2",
  "Categoria": "sample string 3",
  "Anexo": "sample string 4",
  "IDUser": 5,
  "ID": 6
}

application/xml, text/xml

Sample:
<Proposta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>6</ID>
  <Anexo>sample string 4</Anexo>
  <Categoria>sample string 3</Categoria>
  <Descricao>sample string 2</Descricao>
  <IDUser>5</IDUser>
  <Titulo>sample string 1</Titulo>
</Proposta>

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 'Proposta'.

Response Information

Resource Description

Proposta
NameDescriptionTypeAdditional information
Titulo

string

None.

Descricao

string

None.

Categoria

string

None.

Anexo

string

None.

IDUser

integer

None.

ID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Titulo": "sample string 1",
  "Descricao": "sample string 2",
  "Categoria": "sample string 3",
  "Anexo": "sample string 4",
  "IDUser": 5,
  "ID": 6
}

application/xml, text/xml

Sample:
<Proposta xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>6</ID>
  <Anexo>sample string 4</Anexo>
  <Categoria>sample string 3</Categoria>
  <Descricao>sample string 2</Descricao>
  <IDUser>5</IDUser>
  <Titulo>sample string 1</Titulo>
</Proposta>