POST api/NotFavoritar

Request Information

URI Parameters

None.

Body Parameters

Favoritar
NameDescriptionTypeAdditional information
IdAL

integer

None.

TipoFavoritar

TipoFavoritar

None.

UserId

integer

None.

TituloLei

string

None.

DescricaoLei

string

None.

UrlLei

string

None.

ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "IdAL": 1,
  "TipoFavoritar": 1,
  "UserId": 2,
  "TituloLei": "sample string 3",
  "DescricaoLei": "sample string 4",
  "UrlLei": "sample string 5",
  "ID": 6
}

application/xml, text/xml

Sample:
<Favoritar xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
  <ID>6</ID>
  <DescricaoLei>sample string 4</DescricaoLei>
  <IdAL>1</IdAL>
  <TipoFavoritar>lei</TipoFavoritar>
  <TituloLei>sample string 3</TituloLei>
  <UrlLei>sample string 5</UrlLei>
  <UserId>2</UserId>
</Favoritar>

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

Response Information

Resource Description

None.