WSLegislativo


Haga clic aquí para obtener una lista completa de operaciones.

retornarVotacionDetalle

Prueba

Haga clic en el botón 'Invocar', para probar la operación utilizando el protocolo HTTP POST.
Parámetro Valor
prmVotacionId:

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /camaradiputados/WServices/WSLegislativo.asmx HTTP/1.1
Host: opendata.camara.cl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://opendata.camara.cl/camaradiputados/v1/retornarVotacionDetalle"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <retornarVotacionDetalle xmlns="http://opendata.camara.cl/camaradiputados/v1">
      <prmVotacionId>int</prmVotacionId>
    </retornarVotacionDetalle>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <retornarVotacionDetalleResponse xmlns="http://opendata.camara.cl/camaradiputados/v1">
      <retornarVotacionDetalleResult>
        <Id>int</Id>
        <Descripcion>string</Descripcion>
        <Fecha>dateTime</Fecha>
        <TotalSi>int</TotalSi>
        <TotalNo>int</TotalNo>
        <TotalAbstencion>int</TotalAbstencion>
        <TotalDispensado>int</TotalDispensado>
        <Quorum />
        <Resultado />
        <Tipo />
        <Votos>
          <Voto>
            <Diputado xsi:nil="true" />
            <OpcionVoto xsi:nil="true" />
          </Voto>
          <Voto>
            <Diputado xsi:nil="true" />
            <OpcionVoto xsi:nil="true" />
          </Voto>
        </Votos>
      </retornarVotacionDetalleResult>
    </retornarVotacionDetalleResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /camaradiputados/WServices/WSLegislativo.asmx HTTP/1.1
Host: opendata.camara.cl
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <retornarVotacionDetalle xmlns="http://opendata.camara.cl/camaradiputados/v1">
      <prmVotacionId>int</prmVotacionId>
    </retornarVotacionDetalle>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <retornarVotacionDetalleResponse xmlns="http://opendata.camara.cl/camaradiputados/v1">
      <retornarVotacionDetalleResult>
        <Id>int</Id>
        <Descripcion>string</Descripcion>
        <Fecha>dateTime</Fecha>
        <TotalSi>int</TotalSi>
        <TotalNo>int</TotalNo>
        <TotalAbstencion>int</TotalAbstencion>
        <TotalDispensado>int</TotalDispensado>
        <Quorum />
        <Resultado />
        <Tipo />
        <Votos>
          <Voto>
            <Diputado xsi:nil="true" />
            <OpcionVoto xsi:nil="true" />
          </Voto>
          <Voto>
            <Diputado xsi:nil="true" />
            <OpcionVoto xsi:nil="true" />
          </Voto>
        </Votos>
      </retornarVotacionDetalleResult>
    </retornarVotacionDetalleResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP GET. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

GET /camaradiputados/WServices/WSLegislativo.asmx/retornarVotacionDetalle?prmVotacionId=string HTTP/1.1
Host: opendata.camara.cl
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Votacion xmlns="http://opendata.camara.cl/camaradiputados/v1">
  <Id>int</Id>
  <Descripcion>string</Descripcion>
  <Fecha>dateTime</Fecha>
  <TotalSi>int</TotalSi>
  <TotalNo>int</TotalNo>
  <TotalAbstencion>int</TotalAbstencion>
  <TotalDispensado>int</TotalDispensado>
  <Quorum />
  <Resultado />
  <Tipo />
  <Votos>
    <Voto>
      <Diputado>
        <Id>int</Id>
        <Nombre>string</Nombre>
        <Nombre2>string</Nombre2>
        <ApellidoPaterno>string</ApellidoPaterno>
        <ApellidoMaterno>string</ApellidoMaterno>
        <FechaNacimiento>dateTime</FechaNacimiento>
        <FechaDefucion>dateTime</FechaDefucion>
        <RUT>string</RUT>
        <RUTDV>string</RUTDV>
        <Sexo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Militancias d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Diputado>
      <OpcionVoto />
    </Voto>
    <Voto>
      <Diputado>
        <Id>int</Id>
        <Nombre>string</Nombre>
        <Nombre2>string</Nombre2>
        <ApellidoPaterno>string</ApellidoPaterno>
        <ApellidoMaterno>string</ApellidoMaterno>
        <FechaNacimiento>dateTime</FechaNacimiento>
        <FechaDefucion>dateTime</FechaDefucion>
        <RUT>string</RUT>
        <RUTDV>string</RUTDV>
        <Sexo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Militancias d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Diputado>
      <OpcionVoto />
    </Voto>
  </Votos>
</Votacion>

HTTP POST

A continuación se muestra un ejemplo de solicitud y respuesta para HTTP POST. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /camaradiputados/WServices/WSLegislativo.asmx/retornarVotacionDetalle HTTP/1.1
Host: opendata.camara.cl
Content-Type: application/x-www-form-urlencoded
Content-Length: length

prmVotacionId=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<Votacion xmlns="http://opendata.camara.cl/camaradiputados/v1">
  <Id>int</Id>
  <Descripcion>string</Descripcion>
  <Fecha>dateTime</Fecha>
  <TotalSi>int</TotalSi>
  <TotalNo>int</TotalNo>
  <TotalAbstencion>int</TotalAbstencion>
  <TotalDispensado>int</TotalDispensado>
  <Quorum />
  <Resultado />
  <Tipo />
  <Votos>
    <Voto>
      <Diputado>
        <Id>int</Id>
        <Nombre>string</Nombre>
        <Nombre2>string</Nombre2>
        <ApellidoPaterno>string</ApellidoPaterno>
        <ApellidoMaterno>string</ApellidoMaterno>
        <FechaNacimiento>dateTime</FechaNacimiento>
        <FechaDefucion>dateTime</FechaDefucion>
        <RUT>string</RUT>
        <RUTDV>string</RUTDV>
        <Sexo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Militancias d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Diputado>
      <OpcionVoto />
    </Voto>
    <Voto>
      <Diputado>
        <Id>int</Id>
        <Nombre>string</Nombre>
        <Nombre2>string</Nombre2>
        <ApellidoPaterno>string</ApellidoPaterno>
        <ApellidoMaterno>string</ApellidoMaterno>
        <FechaNacimiento>dateTime</FechaNacimiento>
        <FechaDefucion>dateTime</FechaDefucion>
        <RUT>string</RUT>
        <RUTDV>string</RUTDV>
        <Sexo d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <Militancias d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </Diputado>
      <OpcionVoto />
    </Voto>
  </Votos>
</Votacion>