ConectaService


Clique aqui para obter uma lista completa das operações.

ConsultaFaturaCompetencia

Enviar nos campos de dtaMesAnoIni e dtaMesAnoFim no formato 01/01/2020 [dd/MM/yyyy]. Exemplo faturas do mês 10/2020 a 12/2020 - Enviar dtaMesAnoIni = 01/10/2020 dtaMesAnoFim = 01/12/2020

Testar

Para testar a operação usando o protocolo HTTP POST, clique no botão 'Chamar'.
Parâmetro Valor
parChaveAcesso:
cnpj:
dtaMesAnoIni:
dtaMesAnoFim:

SOAP 1.1

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /ConectaService.asmx HTTP/1.1
Host: apiconecta.monteseupcgamer.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/ConsultaFaturaCompetencia"

<?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>
    <ConsultaFaturaCompetencia xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <cnpj>string</cnpj>
      <dtaMesAnoIni>string</dtaMesAnoIni>
      <dtaMesAnoFim>string</dtaMesAnoFim>
    </ConsultaFaturaCompetencia>
  </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>
    <ConsultaFaturaCompetenciaResponse xmlns="http://tempuri.org/">
      <ConsultaFaturaCompetenciaResult>xml</ConsultaFaturaCompetenciaResult>
    </ConsultaFaturaCompetenciaResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /ConectaService.asmx HTTP/1.1
Host: apiconecta.monteseupcgamer.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>
    <ConsultaFaturaCompetencia xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <cnpj>string</cnpj>
      <dtaMesAnoIni>string</dtaMesAnoIni>
      <dtaMesAnoFim>string</dtaMesAnoFim>
    </ConsultaFaturaCompetencia>
  </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>
    <ConsultaFaturaCompetenciaResponse xmlns="http://tempuri.org/">
      <ConsultaFaturaCompetenciaResult>xml</ConsultaFaturaCompetenciaResult>
    </ConsultaFaturaCompetenciaResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

A seguir é apresentado um exemplo de solicitação e de resposta HTTP GET. Os espaços reservados mostrados devem ser substituídos por valores reais.

GET /ConectaService.asmx/ConsultaFaturaCompetencia?parChaveAcesso=string&cnpj=string&dtaMesAnoIni=string&dtaMesAnoFim=string HTTP/1.1
Host: apiconecta.monteseupcgamer.com.br
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml

HTTP POST

A seguir é apresentado um exemplo de solicitação e resposta HTTP POST. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /ConectaService.asmx/ConsultaFaturaCompetencia HTTP/1.1
Host: apiconecta.monteseupcgamer.com.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length

parChaveAcesso=string&cnpj=string&dtaMesAnoIni=string&dtaMesAnoFim=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml