web_atendimento


Click here for a complete list of operations.

cnsEmissaoBoleto

Emissão de Boletos.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
ID_Identificador:

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /WS/web_atendimento.asmx HTTP/1.1
Host: cnp3.consorciocanopus.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.cnpm.com.br/cnsEmissaoBoleto"

<?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>
    <cnsEmissaoBoleto xmlns="http://www.cnpm.com.br/">
      <ID_Identificador>int</ID_Identificador>
    </cnsEmissaoBoleto>
  </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>
    <cnsEmissaoBoletoResponse xmlns="http://www.cnpm.com.br/">
      <cnsEmissaoBoletoResult>
        <NM_Local_Pagto>string</NM_Local_Pagto>
        <NM_Cedente>string</NM_Cedente>
        <DT_Documento>dateTime</DT_Documento>
        <NO_Documento>string</NO_Documento>
        <Especie_Documento>string</Especie_Documento>
        <SN_Aceite>string</SN_Aceite>
        <DT_Processamento>dateTime</DT_Processamento>
        <NO_Carteira_Impressa_Boleto>string</NO_Carteira_Impressa_Boleto>
        <Especie_Moeda>string</Especie_Moeda>
        <QT_Moeda>double</QT_Moeda>
        <VL_Moeda>double</VL_Moeda>
        <DT_Vencimento>dateTime</DT_Vencimento>
        <Agencia_Cedente>string</Agencia_Cedente>
        <Nosso_Numero>string</Nosso_Numero>
        <VL_Documento>double</VL_Documento>
        <VL_Desconto>double</VL_Desconto>
        <VL_Outras_Deducoes>double</VL_Outras_Deducoes>
        <VL_Multa>double</VL_Multa>
        <VL_Outros_Acrescimos>double</VL_Outros_Acrescimos>
        <VL_Cobrado>double</VL_Cobrado>
        <Sacado>string</Sacado>
        <NM_Sacado>string</NM_Sacado>
        <Linha_Digitavel>string</Linha_Digitavel>
        <CD_Barra>string</CD_Barra>
        <NO_Identificador>string</NO_Identificador>
        <CD_Banco>string</CD_Banco>
        <Mensagem_Compensacao>string</Mensagem_Compensacao>
        <Mensagem_Recibo>string</Mensagem_Recibo>
        <NM_Banco_Reduzido>string</NM_Banco_Reduzido>
        <Uso_Banco>string</Uso_Banco>
        <CD_Baixa>string</CD_Baixa>
        <CEP_ECTPOSTNET>string</CEP_ECTPOSTNET>
        <CIF>string</CIF>
        <CD_Grupo>string</CD_Grupo>
        <CD_Cota>int</CD_Cota>
        <ID_CONFI008>int</ID_CONFI008>
        <ErrMsg>string</ErrMsg>
      </cnsEmissaoBoletoResult>
    </cnsEmissaoBoletoResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /WS/web_atendimento.asmx HTTP/1.1
Host: cnp3.consorciocanopus.com.br
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>
    <cnsEmissaoBoleto xmlns="http://www.cnpm.com.br/">
      <ID_Identificador>int</ID_Identificador>
    </cnsEmissaoBoleto>
  </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>
    <cnsEmissaoBoletoResponse xmlns="http://www.cnpm.com.br/">
      <cnsEmissaoBoletoResult>
        <NM_Local_Pagto>string</NM_Local_Pagto>
        <NM_Cedente>string</NM_Cedente>
        <DT_Documento>dateTime</DT_Documento>
        <NO_Documento>string</NO_Documento>
        <Especie_Documento>string</Especie_Documento>
        <SN_Aceite>string</SN_Aceite>
        <DT_Processamento>dateTime</DT_Processamento>
        <NO_Carteira_Impressa_Boleto>string</NO_Carteira_Impressa_Boleto>
        <Especie_Moeda>string</Especie_Moeda>
        <QT_Moeda>double</QT_Moeda>
        <VL_Moeda>double</VL_Moeda>
        <DT_Vencimento>dateTime</DT_Vencimento>
        <Agencia_Cedente>string</Agencia_Cedente>
        <Nosso_Numero>string</Nosso_Numero>
        <VL_Documento>double</VL_Documento>
        <VL_Desconto>double</VL_Desconto>
        <VL_Outras_Deducoes>double</VL_Outras_Deducoes>
        <VL_Multa>double</VL_Multa>
        <VL_Outros_Acrescimos>double</VL_Outros_Acrescimos>
        <VL_Cobrado>double</VL_Cobrado>
        <Sacado>string</Sacado>
        <NM_Sacado>string</NM_Sacado>
        <Linha_Digitavel>string</Linha_Digitavel>
        <CD_Barra>string</CD_Barra>
        <NO_Identificador>string</NO_Identificador>
        <CD_Banco>string</CD_Banco>
        <Mensagem_Compensacao>string</Mensagem_Compensacao>
        <Mensagem_Recibo>string</Mensagem_Recibo>
        <NM_Banco_Reduzido>string</NM_Banco_Reduzido>
        <Uso_Banco>string</Uso_Banco>
        <CD_Baixa>string</CD_Baixa>
        <CEP_ECTPOSTNET>string</CEP_ECTPOSTNET>
        <CIF>string</CIF>
        <CD_Grupo>string</CD_Grupo>
        <CD_Cota>int</CD_Cota>
        <ID_CONFI008>int</ID_CONFI008>
        <ErrMsg>string</ErrMsg>
      </cnsEmissaoBoletoResult>
    </cnsEmissaoBoletoResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /WS/web_atendimento.asmx/cnsEmissaoBoleto?ID_Identificador=string HTTP/1.1
Host: cnp3.consorciocanopus.com.br
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<stcEmissaoBoleto xmlns="http://www.cnpm.com.br/">
  <NM_Local_Pagto>string</NM_Local_Pagto>
  <NM_Cedente>string</NM_Cedente>
  <DT_Documento>dateTime</DT_Documento>
  <NO_Documento>string</NO_Documento>
  <Especie_Documento>string</Especie_Documento>
  <SN_Aceite>string</SN_Aceite>
  <DT_Processamento>dateTime</DT_Processamento>
  <NO_Carteira_Impressa_Boleto>string</NO_Carteira_Impressa_Boleto>
  <Especie_Moeda>string</Especie_Moeda>
  <QT_Moeda>double</QT_Moeda>
  <VL_Moeda>double</VL_Moeda>
  <DT_Vencimento>dateTime</DT_Vencimento>
  <Agencia_Cedente>string</Agencia_Cedente>
  <Nosso_Numero>string</Nosso_Numero>
  <VL_Documento>double</VL_Documento>
  <VL_Desconto>double</VL_Desconto>
  <VL_Outras_Deducoes>double</VL_Outras_Deducoes>
  <VL_Multa>double</VL_Multa>
  <VL_Outros_Acrescimos>double</VL_Outros_Acrescimos>
  <VL_Cobrado>double</VL_Cobrado>
  <Sacado>string</Sacado>
  <NM_Sacado>string</NM_Sacado>
  <Linha_Digitavel>string</Linha_Digitavel>
  <CD_Barra>string</CD_Barra>
  <NO_Identificador>string</NO_Identificador>
  <CD_Banco>string</CD_Banco>
  <Mensagem_Compensacao>string</Mensagem_Compensacao>
  <Mensagem_Recibo>string</Mensagem_Recibo>
  <NM_Banco_Reduzido>string</NM_Banco_Reduzido>
  <Uso_Banco>string</Uso_Banco>
  <CD_Baixa>string</CD_Baixa>
  <CEP_ECTPOSTNET>string</CEP_ECTPOSTNET>
  <CIF>string</CIF>
  <CD_Grupo>string</CD_Grupo>
  <CD_Cota>int</CD_Cota>
  <ID_CONFI008>int</ID_CONFI008>
  <ErrMsg>string</ErrMsg>
</stcEmissaoBoleto>

HTTP POST

The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.

POST /WS/web_atendimento.asmx/cnsEmissaoBoleto HTTP/1.1
Host: cnp3.consorciocanopus.com.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length

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

<?xml version="1.0" encoding="utf-8"?>
<stcEmissaoBoleto xmlns="http://www.cnpm.com.br/">
  <NM_Local_Pagto>string</NM_Local_Pagto>
  <NM_Cedente>string</NM_Cedente>
  <DT_Documento>dateTime</DT_Documento>
  <NO_Documento>string</NO_Documento>
  <Especie_Documento>string</Especie_Documento>
  <SN_Aceite>string</SN_Aceite>
  <DT_Processamento>dateTime</DT_Processamento>
  <NO_Carteira_Impressa_Boleto>string</NO_Carteira_Impressa_Boleto>
  <Especie_Moeda>string</Especie_Moeda>
  <QT_Moeda>double</QT_Moeda>
  <VL_Moeda>double</VL_Moeda>
  <DT_Vencimento>dateTime</DT_Vencimento>
  <Agencia_Cedente>string</Agencia_Cedente>
  <Nosso_Numero>string</Nosso_Numero>
  <VL_Documento>double</VL_Documento>
  <VL_Desconto>double</VL_Desconto>
  <VL_Outras_Deducoes>double</VL_Outras_Deducoes>
  <VL_Multa>double</VL_Multa>
  <VL_Outros_Acrescimos>double</VL_Outros_Acrescimos>
  <VL_Cobrado>double</VL_Cobrado>
  <Sacado>string</Sacado>
  <NM_Sacado>string</NM_Sacado>
  <Linha_Digitavel>string</Linha_Digitavel>
  <CD_Barra>string</CD_Barra>
  <NO_Identificador>string</NO_Identificador>
  <CD_Banco>string</CD_Banco>
  <Mensagem_Compensacao>string</Mensagem_Compensacao>
  <Mensagem_Recibo>string</Mensagem_Recibo>
  <NM_Banco_Reduzido>string</NM_Banco_Reduzido>
  <Uso_Banco>string</Uso_Banco>
  <CD_Baixa>string</CD_Baixa>
  <CEP_ECTPOSTNET>string</CEP_ECTPOSTNET>
  <CIF>string</CIF>
  <CD_Grupo>string</CD_Grupo>
  <CD_Cota>int</CD_Cota>
  <ID_CONFI008>int</ID_CONFI008>
  <ErrMsg>string</ErrMsg>
</stcEmissaoBoleto>