GET api/Interatividade/ListaFavUser/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

FavoritarSimple
NameDescriptionTypeAdditional information
ListaFavoritos

Collection of Favoritar

None.

Total

integer

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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