wsRastreoEnvios


Click here for a complete list of operations.

ConsultarGestionDevoluciones

Operación que permite consultar por fecha de entrega número de identificación del cliente, número de identificación del contacto y password del contacto asignado por servientrega y que luego es cambiado por el contacto, la gestión de las devoluciones que tuvo el envío permitiendo conocer el estado del envío, motivo de devolución si llegar a aplicar e imagen de la guía donde se evidencia dicha gestión.

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
Fecha:
Id_Cliente:
Id_Contacto:
Pwd:

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 /wsrastreoenvios/wsrastreoenvios.asmx HTTP/1.1
Host: sismilenio.servientrega.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://servientrega.com/ConsultarGestionDevoluciones"

<?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>
    <ConsultarGestionDevoluciones xmlns="http://servientrega.com/">
      <Fecha>string</Fecha>
      <Id_Cliente>string</Id_Cliente>
      <Id_Contacto>string</Id_Contacto>
      <Pwd>string</Pwd>
    </ConsultarGestionDevoluciones>
  </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>
    <ConsultarGestionDevolucionesResponse xmlns="http://servientrega.com/">
      <ConsultarGestionDevolucionesResult>
        <InfEnvios>
          <NumeroGuia>string</NumeroGuia>
          <EstadoEnvio>string</EstadoEnvio>
          <MotivoDevolucion>string</MotivoDevolucion>
          <Fecha>string</Fecha>
          <Imagen>string</Imagen>
          <Observacion>string</Observacion>
        </InfEnvios>
        <InfEnvios>
          <NumeroGuia>string</NumeroGuia>
          <EstadoEnvio>string</EstadoEnvio>
          <MotivoDevolucion>string</MotivoDevolucion>
          <Fecha>string</Fecha>
          <Imagen>string</Imagen>
          <Observacion>string</Observacion>
        </InfEnvios>
      </ConsultarGestionDevolucionesResult>
    </ConsultarGestionDevolucionesResponse>
  </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 /wsrastreoenvios/wsrastreoenvios.asmx HTTP/1.1
Host: sismilenio.servientrega.com
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>
    <ConsultarGestionDevoluciones xmlns="http://servientrega.com/">
      <Fecha>string</Fecha>
      <Id_Cliente>string</Id_Cliente>
      <Id_Contacto>string</Id_Contacto>
      <Pwd>string</Pwd>
    </ConsultarGestionDevoluciones>
  </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>
    <ConsultarGestionDevolucionesResponse xmlns="http://servientrega.com/">
      <ConsultarGestionDevolucionesResult>
        <InfEnvios>
          <NumeroGuia>string</NumeroGuia>
          <EstadoEnvio>string</EstadoEnvio>
          <MotivoDevolucion>string</MotivoDevolucion>
          <Fecha>string</Fecha>
          <Imagen>string</Imagen>
          <Observacion>string</Observacion>
        </InfEnvios>
        <InfEnvios>
          <NumeroGuia>string</NumeroGuia>
          <EstadoEnvio>string</EstadoEnvio>
          <MotivoDevolucion>string</MotivoDevolucion>
          <Fecha>string</Fecha>
          <Imagen>string</Imagen>
          <Observacion>string</Observacion>
        </InfEnvios>
      </ConsultarGestionDevolucionesResult>
    </ConsultarGestionDevolucionesResponse>
  </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 /wsrastreoenvios/wsrastreoenvios.asmx/ConsultarGestionDevoluciones?Fecha=string&Id_Cliente=string&Id_Contacto=string&Pwd=string HTTP/1.1
Host: sismilenio.servientrega.com
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfInfEnvios xmlns="http://servientrega.com/">
  <InfEnvios>
    <NumeroGuia>string</NumeroGuia>
    <EstadoEnvio>string</EstadoEnvio>
    <MotivoDevolucion>string</MotivoDevolucion>
    <Fecha>string</Fecha>
    <Imagen>string</Imagen>
    <Observacion>string</Observacion>
  </InfEnvios>
  <InfEnvios>
    <NumeroGuia>string</NumeroGuia>
    <EstadoEnvio>string</EstadoEnvio>
    <MotivoDevolucion>string</MotivoDevolucion>
    <Fecha>string</Fecha>
    <Imagen>string</Imagen>
    <Observacion>string</Observacion>
  </InfEnvios>
</ArrayOfInfEnvios>

HTTP POST

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

POST /wsrastreoenvios/wsrastreoenvios.asmx/ConsultarGestionDevoluciones HTTP/1.1
Host: sismilenio.servientrega.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

Fecha=string&Id_Cliente=string&Id_Contacto=string&Pwd=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfInfEnvios xmlns="http://servientrega.com/">
  <InfEnvios>
    <NumeroGuia>string</NumeroGuia>
    <EstadoEnvio>string</EstadoEnvio>
    <MotivoDevolucion>string</MotivoDevolucion>
    <Fecha>string</Fecha>
    <Imagen>string</Imagen>
    <Observacion>string</Observacion>
  </InfEnvios>
  <InfEnvios>
    <NumeroGuia>string</NumeroGuia>
    <EstadoEnvio>string</EstadoEnvio>
    <MotivoDevolucion>string</MotivoDevolucion>
    <Fecha>string</Fecha>
    <Imagen>string</Imagen>
    <Observacion>string</Observacion>
  </InfEnvios>
</ArrayOfInfEnvios>