ConectaService


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

Produtos

Tipo: 1 - Descrição / 2 - Código / 3 - Código de Barras / 4 - Código de Referência / 5 - Código do Fabricante / 6 - Código do Grupo / 7 - Código do SubGrupo / 8 - Código da Classif.Geral / 9 - Código da Família / 10 - Data Alteração ex: data_alteracao >= 2016-06-01 ,yyyy-MM-dd

Testar

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

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/Produtos"

<?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>
    <Produtos xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <tipo>string</tipo>
      <valor>string</valor>
      <uf>string</uf>
    </Produtos>
  </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>
    <ProdutosResponse xmlns="http://tempuri.org/">
      <ProdutosResult>xml</ProdutosResult>
    </ProdutosResponse>
  </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>
    <Produtos xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <tipo>string</tipo>
      <valor>string</valor>
      <uf>string</uf>
    </Produtos>
  </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>
    <ProdutosResponse xmlns="http://tempuri.org/">
      <ProdutosResult>xml</ProdutosResult>
    </ProdutosResponse>
  </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/Produtos?parChaveAcesso=string&tipo=string&valor=string&uf=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/Produtos HTTP/1.1
Host: apiconecta.monteseupcgamer.com.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length

parChaveAcesso=string&tipo=string&valor=string&uf=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml