GET api/Leis?filtro={filtro}&userID={userID}&deputadoID={deputadoID}&lastItem={lastItem}&itensPagina={itensPagina}&translateTo={translateTo}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filtro

string

Default value is

userID

integer

Default value is 0

deputadoID

integer

Default value is 0

lastItem

integer

Default value is 0

itensPagina

integer

Default value is 20

translateTo

string

Default value is

Body Parameters

None.

Response Information

Resource Description

ListaPagesOfLegislacao
NameDescriptionTypeAdditional information
Lista

Collection of Legislacao

None.

Pagination

Paginacao

None.

Response Formats

application/json, text/json

Sample:
{
  "Lista": [
    {
      "IsFavorita": true,
      "Autor": "sample string 2",
      "Titulo": "sample string 3",
      "Descricao": "sample string 4",
      "UrlDownload": "sample string 5",
      "ALLegislacaoId": 6,
      "DeputadoID": 7
    },
    {
      "IsFavorita": true,
      "Autor": "sample string 2",
      "Titulo": "sample string 3",
      "Descricao": "sample string 4",
      "UrlDownload": "sample string 5",
      "ALLegislacaoId": 6,
      "DeputadoID": 7
    }
  ],
  "Pagination": {
    "IsPaginate": true,
    "TotalRegistro": 2,
    "Limite": 3,
    "Paginas": 4,
    "LastID": 6
  }
}

application/xml, text/xml

Sample:
<ListaPagesOfLegislacaougbfIyOt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Lista>
    <Legislacao>
      <ALLegislacaoId>6</ALLegislacaoId>
      <Autor>sample string 2</Autor>
      <DeputadoID>7</DeputadoID>
      <Descricao>sample string 4</Descricao>
      <IsFavorita>true</IsFavorita>
      <Titulo>sample string 3</Titulo>
      <UrlDownload>sample string 5</UrlDownload>
    </Legislacao>
    <Legislacao>
      <ALLegislacaoId>6</ALLegislacaoId>
      <Autor>sample string 2</Autor>
      <DeputadoID>7</DeputadoID>
      <Descricao>sample string 4</Descricao>
      <IsFavorita>true</IsFavorita>
      <Titulo>sample string 3</Titulo>
      <UrlDownload>sample string 5</UrlDownload>
    </Legislacao>
  </Lista>
  <Pagination>
    <IsPaginate>true</IsPaginate>
    <LastID>6</LastID>
    <Limite>3</Limite>
    <PaginaAtual>5</PaginaAtual>
    <Paginas>4</Paginas>
    <TotalRegistro>2</TotalRegistro>
  </Pagination>
</ListaPagesOfLegislacaougbfIyOt>