POST api/FavoritarLei

Request Information

URI Parameters

None.

Body Parameters

LeiFavorita
NameDescriptionTypeAdditional information
Usuario

User

None.

IDLeiAL

integer

None.

ID

integer

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'Adm' with type 'ChatFidelity.Models.User'. Path 'Usuario.Salas[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'Adm' with type 'ChatFidelity.Models.User'. Path 'Usuario.Salas[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: O gráfico de objeto para o tipo 'ChatFidelity.Models.Mensagens' contém ciclos e não pode ser serializado se o controle de referência for desativado.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: O gráfico de objeto para o tipo 'ChatFidelity.Models.Mensagens' contém ciclos e não pode ser serializado se o controle de referência for desativado.

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

Response Information

Resource Description

None.