Naves


Haga clic aquí para obtener una lista completa de operaciones.

InsertarDres

Prueba

El formulario de prueba sólo está disponible para solicitudes del equipo local.

SOAP 1.1

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.1. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /Naves.asmx HTTP/1.1
Host: gis.epi.cl
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertarDres"

<?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>
    <InsertarDres xmlns="http://tempuri.org/">
      <pvo_Dres>
        <pvi_AnoDres>int</pvi_AnoDres>
        <pvi_CorrelativoDres>int</pvi_CorrelativoDres>
        <pvi_NaveDres>int</pvi_NaveDres>
        <pvs_TipoRetiroDres>string</pvs_TipoRetiroDres>
        <pvs_BLDres>string</pvs_BLDres>
        <pvd_FechaRecepcionDres>dateTime</pvd_FechaRecepcionDres>
        <pvd_FechaDespachoDres>dateTime</pvd_FechaDespachoDres>
        <pvs_NumeroDestinacionAduaneraDres>string</pvs_NumeroDestinacionAduaneraDres>
        <pvs_TipoDestinacionAduaneraDres>string</pvs_TipoDestinacionAduaneraDres>
        <pvdc_TarifaAplicadaDres>decimal</pvdc_TarifaAplicadaDres>
        <pvdc_PesoDres>decimal</pvdc_PesoDres>
        <pvs_MarcasDres>string</pvs_MarcasDres>
        <pvi_CantBultosDres>int</pvi_CantBultosDres>
        <pvs_ObservacionesDres>string</pvs_ObservacionesDres>
        <pvd_FechaEmisionDres>dateTime</pvd_FechaEmisionDres>
      </pvo_Dres>
    </InsertarDres>
  </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>
    <InsertarDresResponse xmlns="http://tempuri.org/">
      <InsertarDresResult>
        <string>string</string>
        <string>string</string>
      </InsertarDresResult>
    </InsertarDresResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

A continuación se muestra un ejemplo de solicitud y respuesta para SOAP 1.2. Es necesario reemplazar los marcadores de posición que aparecen con valores reales.

POST /Naves.asmx HTTP/1.1
Host: gis.epi.cl
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>
    <InsertarDres xmlns="http://tempuri.org/">
      <pvo_Dres>
        <pvi_AnoDres>int</pvi_AnoDres>
        <pvi_CorrelativoDres>int</pvi_CorrelativoDres>
        <pvi_NaveDres>int</pvi_NaveDres>
        <pvs_TipoRetiroDres>string</pvs_TipoRetiroDres>
        <pvs_BLDres>string</pvs_BLDres>
        <pvd_FechaRecepcionDres>dateTime</pvd_FechaRecepcionDres>
        <pvd_FechaDespachoDres>dateTime</pvd_FechaDespachoDres>
        <pvs_NumeroDestinacionAduaneraDres>string</pvs_NumeroDestinacionAduaneraDres>
        <pvs_TipoDestinacionAduaneraDres>string</pvs_TipoDestinacionAduaneraDres>
        <pvdc_TarifaAplicadaDres>decimal</pvdc_TarifaAplicadaDres>
        <pvdc_PesoDres>decimal</pvdc_PesoDres>
        <pvs_MarcasDres>string</pvs_MarcasDres>
        <pvi_CantBultosDres>int</pvi_CantBultosDres>
        <pvs_ObservacionesDres>string</pvs_ObservacionesDres>
        <pvd_FechaEmisionDres>dateTime</pvd_FechaEmisionDres>
      </pvo_Dres>
    </InsertarDres>
  </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>
    <InsertarDresResponse xmlns="http://tempuri.org/">
      <InsertarDresResult>
        <string>string</string>
        <string>string</string>
      </InsertarDresResult>
    </InsertarDresResponse>
  </soap12:Body>
</soap12:Envelope>