ConectaService


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

PedidosTopRegistros

Formato das datas = ddMMyyyy

Testar

Para testar a operação usando o protocolo HTTP POST, clique no botão 'Chamar'.
Parâmetro Valor
parChaveAcesso:
cod_representante:
cod_cliente:
des_cliente:
num_pedido:
dta_PedidoIni:
dta_PedidoFim:
dta_EntregaIni:
dta_EntregaFim:
indSituacao:
parTopRegistros:
parPrevNextPedido:
parTipoPesquisa:

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

<?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>
    <PedidosTopRegistros xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <cod_representante>int</cod_representante>
      <cod_cliente>int</cod_cliente>
      <des_cliente>string</des_cliente>
      <num_pedido>int</num_pedido>
      <dta_PedidoIni>string</dta_PedidoIni>
      <dta_PedidoFim>string</dta_PedidoFim>
      <dta_EntregaIni>string</dta_EntregaIni>
      <dta_EntregaFim>string</dta_EntregaFim>
      <indSituacao>string</indSituacao>
      <parTopRegistros>string</parTopRegistros>
      <parPrevNextPedido>string</parPrevNextPedido>
      <parTipoPesquisa>string</parTipoPesquisa>
    </PedidosTopRegistros>
  </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>
    <PedidosTopRegistrosResponse xmlns="http://tempuri.org/">
      <PedidosTopRegistrosResult>xml</PedidosTopRegistrosResult>
    </PedidosTopRegistrosResponse>
  </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>
    <PedidosTopRegistros xmlns="http://tempuri.org/">
      <parChaveAcesso>string</parChaveAcesso>
      <cod_representante>int</cod_representante>
      <cod_cliente>int</cod_cliente>
      <des_cliente>string</des_cliente>
      <num_pedido>int</num_pedido>
      <dta_PedidoIni>string</dta_PedidoIni>
      <dta_PedidoFim>string</dta_PedidoFim>
      <dta_EntregaIni>string</dta_EntregaIni>
      <dta_EntregaFim>string</dta_EntregaFim>
      <indSituacao>string</indSituacao>
      <parTopRegistros>string</parTopRegistros>
      <parPrevNextPedido>string</parPrevNextPedido>
      <parTipoPesquisa>string</parTipoPesquisa>
    </PedidosTopRegistros>
  </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>
    <PedidosTopRegistrosResponse xmlns="http://tempuri.org/">
      <PedidosTopRegistrosResult>xml</PedidosTopRegistrosResult>
    </PedidosTopRegistrosResponse>
  </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/PedidosTopRegistros?parChaveAcesso=string&cod_representante=string&cod_cliente=string&des_cliente=string&num_pedido=string&dta_PedidoIni=string&dta_PedidoFim=string&dta_EntregaIni=string&dta_EntregaFim=string&indSituacao=string&parTopRegistros=string&parPrevNextPedido=string&parTipoPesquisa=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/PedidosTopRegistros HTTP/1.1
Host: apiconecta.monteseupcgamer.com.br
Content-Type: application/x-www-form-urlencoded
Content-Length: length

parChaveAcesso=string&cod_representante=string&cod_cliente=string&des_cliente=string&num_pedido=string&dta_PedidoIni=string&dta_PedidoFim=string&dta_EntregaIni=string&dta_EntregaFim=string&indSituacao=string&parTopRegistros=string&parPrevNextPedido=string&parTipoPesquisa=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0"?>
xml