wsKAIROS


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

OpCodeGet

Lista de pieza y partes para realizar los mantenimientos de vehículos de KAIROS ERP

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 /Comunicacion.asmx HTTP/1.1
Host: 190.99.76.25
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/OpCodeGet"

<?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>
    <OpCodeGet xmlns="http://tempuri.org/">
      <Data>
        <OPCodeGetRequest>
          <DMSVehicleNo>string</DMSVehicleNo>
          <Code>string</Code>
          <Description>string</Description>
          <Make>string</Make>
          <Model>string</Model>
          <Engine>string</Engine>
          <Year>string</Year>
          <Mileage>string</Mileage>
          <Category>string</Category>
          <LastModifiedDateTimeFromUTC>dateTime</LastModifiedDateTimeFromUTC>
        </OPCodeGetRequest>
      </Data>
    </OpCodeGet>
  </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>
    <OpCodeGetResponse xmlns="http://tempuri.org/">
      <OpCodeGetResult>
        <OPCodeGetResponse>
          <Code>int</Code>
          <Message>string</Message>
          <Errors>
            <ErrorMessaje xsi:nil="true" />
            <ErrorMessaje xsi:nil="true" />
          </Errors>
          <DMSCustomerNo>string</DMSCustomerNo>
          <DMSVehicleNo>string</DMSVehicleNo>
          <DMSAppointmentNo>string</DMSAppointmentNo>
          <DMSRONo>string</DMSRONo>
          <DMSJobNo>string</DMSJobNo>
        </OPCodeGetResponse>
        <OPCodeMasters>
          <OPCodeMaster>
            <Sublets xsi:nil="true" />
            <MISCs xsi:nil="true" />
            <PartMasters xsi:nil="true" />
            <Descriptions xsi:nil="true" />
            <Causes xsi:nil="true" />
            <Corrections xsi:nil="true" />
            <CreateDateTimeUTC>string</CreateDateTimeUTC>
            <LastModifiedDateTimeUTC>string</LastModifiedDateTimeUTC>
            <Parts xsi:nil="true" />
          </OPCodeMaster>
          <OPCodeMaster>
            <Sublets xsi:nil="true" />
            <MISCs xsi:nil="true" />
            <PartMasters xsi:nil="true" />
            <Descriptions xsi:nil="true" />
            <Causes xsi:nil="true" />
            <Corrections xsi:nil="true" />
            <CreateDateTimeUTC>string</CreateDateTimeUTC>
            <LastModifiedDateTimeUTC>string</LastModifiedDateTimeUTC>
            <Parts xsi:nil="true" />
          </OPCodeMaster>
        </OPCodeMasters>
      </OpCodeGetResult>
    </OpCodeGetResponse>
  </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 /Comunicacion.asmx HTTP/1.1
Host: 190.99.76.25
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>
    <OpCodeGet xmlns="http://tempuri.org/">
      <Data>
        <OPCodeGetRequest>
          <DMSVehicleNo>string</DMSVehicleNo>
          <Code>string</Code>
          <Description>string</Description>
          <Make>string</Make>
          <Model>string</Model>
          <Engine>string</Engine>
          <Year>string</Year>
          <Mileage>string</Mileage>
          <Category>string</Category>
          <LastModifiedDateTimeFromUTC>dateTime</LastModifiedDateTimeFromUTC>
        </OPCodeGetRequest>
      </Data>
    </OpCodeGet>
  </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>
    <OpCodeGetResponse xmlns="http://tempuri.org/">
      <OpCodeGetResult>
        <OPCodeGetResponse>
          <Code>int</Code>
          <Message>string</Message>
          <Errors>
            <ErrorMessaje xsi:nil="true" />
            <ErrorMessaje xsi:nil="true" />
          </Errors>
          <DMSCustomerNo>string</DMSCustomerNo>
          <DMSVehicleNo>string</DMSVehicleNo>
          <DMSAppointmentNo>string</DMSAppointmentNo>
          <DMSRONo>string</DMSRONo>
          <DMSJobNo>string</DMSJobNo>
        </OPCodeGetResponse>
        <OPCodeMasters>
          <OPCodeMaster>
            <Sublets xsi:nil="true" />
            <MISCs xsi:nil="true" />
            <PartMasters xsi:nil="true" />
            <Descriptions xsi:nil="true" />
            <Causes xsi:nil="true" />
            <Corrections xsi:nil="true" />
            <CreateDateTimeUTC>string</CreateDateTimeUTC>
            <LastModifiedDateTimeUTC>string</LastModifiedDateTimeUTC>
            <Parts xsi:nil="true" />
          </OPCodeMaster>
          <OPCodeMaster>
            <Sublets xsi:nil="true" />
            <MISCs xsi:nil="true" />
            <PartMasters xsi:nil="true" />
            <Descriptions xsi:nil="true" />
            <Causes xsi:nil="true" />
            <Corrections xsi:nil="true" />
            <CreateDateTimeUTC>string</CreateDateTimeUTC>
            <LastModifiedDateTimeUTC>string</LastModifiedDateTimeUTC>
            <Parts xsi:nil="true" />
          </OPCodeMaster>
        </OPCodeMasters>
      </OpCodeGetResult>
    </OpCodeGetResponse>
  </soap12:Body>
</soap12:Envelope>