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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
filtro

string

Default value is

tipo

string

Default value is

deputadoID

integer

Default value is 0

userID

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

ListaPagesOfProposicao
NameDescriptionTypeAdditional information
Lista

Collection of Proposicao

None.

Pagination

Paginacao

None.

Response Formats

application/json, text/json

Sample:
{
  "Lista": [
    {
      "IsUserSeguindo": true,
      "IsUserCurtindo": true,
      "IsUserNaoCurtindo": true,
      "Autor": "sample string 4",
      "Titulo": "sample string 5",
      "Descricao": "sample string 6",
      "UrlDownload": "sample string 7",
      "Ano": "sample string 8",
      "Numero": "sample string 9",
      "TotalCurtir": 10,
      "TotalNaoCurtir": 11,
      "TotalComentario": 12,
      "ALProposicaoId": 13,
      "DeputadoID": 14,
      "Comentarios": [
        {
          "Comentario": "sample string 1",
          "UserId": 2,
          "ALProposicaoID": 3,
          "DataComentario": "2019-02-20T14:44:13.5715863-04:00",
          "ID": 5
        },
        {
          "Comentario": "sample string 1",
          "UserId": 2,
          "ALProposicaoID": 3,
          "DataComentario": "2019-02-20T14:44:13.5715863-04:00",
          "ID": 5
        }
      ],
      "Tramitacoes": [
        {
          "Titulo": "sample string 1",
          "Descricao": "sample string 2",
          "Data": "2019-02-20T14:44:13.5715863-04:00",
          "Status": "sample string 4",
          "ProposicaoID": 5
        },
        {
          "Titulo": "sample string 1",
          "Descricao": "sample string 2",
          "Data": "2019-02-20T14:44:13.5715863-04:00",
          "Status": "sample string 4",
          "ProposicaoID": 5
        }
      ]
    },
    {
      "IsUserSeguindo": true,
      "IsUserCurtindo": true,
      "IsUserNaoCurtindo": true,
      "Autor": "sample string 4",
      "Titulo": "sample string 5",
      "Descricao": "sample string 6",
      "UrlDownload": "sample string 7",
      "Ano": "sample string 8",
      "Numero": "sample string 9",
      "TotalCurtir": 10,
      "TotalNaoCurtir": 11,
      "TotalComentario": 12,
      "ALProposicaoId": 13,
      "DeputadoID": 14,
      "Comentarios": [
        {
          "Comentario": "sample string 1",
          "UserId": 2,
          "ALProposicaoID": 3,
          "DataComentario": "2019-02-20T14:44:13.5715863-04:00",
          "ID": 5
        },
        {
          "Comentario": "sample string 1",
          "UserId": 2,
          "ALProposicaoID": 3,
          "DataComentario": "2019-02-20T14:44:13.5715863-04:00",
          "ID": 5
        }
      ],
      "Tramitacoes": [
        {
          "Titulo": "sample string 1",
          "Descricao": "sample string 2",
          "Data": "2019-02-20T14:44:13.5715863-04:00",
          "Status": "sample string 4",
          "ProposicaoID": 5
        },
        {
          "Titulo": "sample string 1",
          "Descricao": "sample string 2",
          "Data": "2019-02-20T14:44:13.5715863-04:00",
          "Status": "sample string 4",
          "ProposicaoID": 5
        }
      ]
    }
  ],
  "Pagination": {
    "IsPaginate": true,
    "TotalRegistro": 2,
    "Limite": 3,
    "Paginas": 4,
    "LastID": 6
  }
}

application/xml, text/xml

Sample:
<ListaPagesOfProposicaougbfIyOt xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatFidelity.DTO">
  <Lista>
    <Proposicao>
      <ALProposicaoId>13</ALProposicaoId>
      <Ano>sample string 8</Ano>
      <Autor>sample string 4</Autor>
      <Comentarios xmlns:d4p1="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
        <d4p1:ComentarioProposicao>
          <d4p1:ID>5</d4p1:ID>
          <d4p1:ALProposicaoID>3</d4p1:ALProposicaoID>
          <d4p1:Comentario>sample string 1</d4p1:Comentario>
          <d4p1:DataComentario>2019-02-20T14:44:13.5715863-04:00</d4p1:DataComentario>
          <d4p1:UserId>2</d4p1:UserId>
        </d4p1:ComentarioProposicao>
        <d4p1:ComentarioProposicao>
          <d4p1:ID>5</d4p1:ID>
          <d4p1:ALProposicaoID>3</d4p1:ALProposicaoID>
          <d4p1:Comentario>sample string 1</d4p1:Comentario>
          <d4p1:DataComentario>2019-02-20T14:44:13.5715863-04:00</d4p1:DataComentario>
          <d4p1:UserId>2</d4p1:UserId>
        </d4p1:ComentarioProposicao>
      </Comentarios>
      <DeputadoID>14</DeputadoID>
      <Descricao>sample string 6</Descricao>
      <IsUserCurtindo>true</IsUserCurtindo>
      <IsUserNaoCurtindo>true</IsUserNaoCurtindo>
      <IsUserSeguindo>true</IsUserSeguindo>
      <Numero>sample string 9</Numero>
      <Titulo>sample string 5</Titulo>
      <TotalComentario>12</TotalComentario>
      <TotalCurtir>10</TotalCurtir>
      <TotalNaoCurtir>11</TotalNaoCurtir>
      <Tramitacoes>
        <Tramitacao>
          <Data>2019-02-20T14:44:13.5715863-04:00</Data>
          <Descricao>sample string 2</Descricao>
          <ProposicaoID>5</ProposicaoID>
          <Status>sample string 4</Status>
          <Titulo>sample string 1</Titulo>
        </Tramitacao>
        <Tramitacao>
          <Data>2019-02-20T14:44:13.5715863-04:00</Data>
          <Descricao>sample string 2</Descricao>
          <ProposicaoID>5</ProposicaoID>
          <Status>sample string 4</Status>
          <Titulo>sample string 1</Titulo>
        </Tramitacao>
      </Tramitacoes>
      <UrlDownload>sample string 7</UrlDownload>
    </Proposicao>
    <Proposicao>
      <ALProposicaoId>13</ALProposicaoId>
      <Ano>sample string 8</Ano>
      <Autor>sample string 4</Autor>
      <Comentarios xmlns:d4p1="http://schemas.datacontract.org/2004/07/ChatFidelity.Models">
        <d4p1:ComentarioProposicao>
          <d4p1:ID>5</d4p1:ID>
          <d4p1:ALProposicaoID>3</d4p1:ALProposicaoID>
          <d4p1:Comentario>sample string 1</d4p1:Comentario>
          <d4p1:DataComentario>2019-02-20T14:44:13.5715863-04:00</d4p1:DataComentario>
          <d4p1:UserId>2</d4p1:UserId>
        </d4p1:ComentarioProposicao>
        <d4p1:ComentarioProposicao>
          <d4p1:ID>5</d4p1:ID>
          <d4p1:ALProposicaoID>3</d4p1:ALProposicaoID>
          <d4p1:Comentario>sample string 1</d4p1:Comentario>
          <d4p1:DataComentario>2019-02-20T14:44:13.5715863-04:00</d4p1:DataComentario>
          <d4p1:UserId>2</d4p1:UserId>
        </d4p1:ComentarioProposicao>
      </Comentarios>
      <DeputadoID>14</DeputadoID>
      <Descricao>sample string 6</Descricao>
      <IsUserCurtindo>true</IsUserCurtindo>
      <IsUserNaoCurtindo>true</IsUserNaoCurtindo>
      <IsUserSeguindo>true</IsUserSeguindo>
      <Numero>sample string 9</Numero>
      <Titulo>sample string 5</Titulo>
      <TotalComentario>12</TotalComentario>
      <TotalCurtir>10</TotalCurtir>
      <TotalNaoCurtir>11</TotalNaoCurtir>
      <Tramitacoes>
        <Tramitacao>
          <Data>2019-02-20T14:44:13.5715863-04:00</Data>
          <Descricao>sample string 2</Descricao>
          <ProposicaoID>5</ProposicaoID>
          <Status>sample string 4</Status>
          <Titulo>sample string 1</Titulo>
        </Tramitacao>
        <Tramitacao>
          <Data>2019-02-20T14:44:13.5715863-04:00</Data>
          <Descricao>sample string 2</Descricao>
          <ProposicaoID>5</ProposicaoID>
          <Status>sample string 4</Status>
          <Titulo>sample string 1</Titulo>
        </Tramitacao>
      </Tramitacoes>
      <UrlDownload>sample string 7</UrlDownload>
    </Proposicao>
  </Lista>
  <Pagination>
    <IsPaginate>true</IsPaginate>
    <LastID>6</LastID>
    <Limite>3</Limite>
    <PaginaAtual>5</PaginaAtual>
    <Paginas>4</Paginas>
    <TotalRegistro>2</TotalRegistro>
  </Pagination>
</ListaPagesOfProposicaougbfIyOt>