InnvitaONEService


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

AddReception

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 /InnvitaONEService.asmx HTTP/1.1
Host: testws3pl.innvita.freeddns.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "InnvitaONE/AddReception"

<?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>
    <AddReception xmlns="InnvitaONE">
      <CompanyId>int</CompanyId>
      <SiteId>int</SiteId>
      <Business_Owner>string</Business_Owner>
      <Business_Provider>string</Business_Provider>
      <AccessControlId>int</AccessControlId>
      <StaffId>int</StaffId>
      <SectorId>int</SectorId>
      <WorktypeId>int</WorktypeId>
      <DocTypeId>int</DocTypeId>
      <DocNumber>int</DocNumber>
      <DateIn>dateTime</DateIn>
      <Notes>string</Notes>
      <GrossWeight>decimal</GrossWeight>
      <NetWeight>decimal</NetWeight>
      <Tare>decimal</Tare>
      <SelloSAG>string</SelloSAG>
      <SelloEmpresa>string</SelloEmpresa>
      <SelloAduana>string</SelloAduana>
      <NContainer>string</NContainer>
      <VType>Normal or Productiva or SinReferencia or TransferenciadeSitio or AjusteEntrada</VType>
      <Origin>int</Origin>
      <Destination>int</Destination>
      <Refrigeration>int</Refrigeration>
      <Sealed>int</Sealed>
    </AddReception>
  </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>
    <AddReceptionResponse xmlns="InnvitaONE">
      <AddReceptionResult>string</AddReceptionResult>
    </AddReceptionResponse>
  </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 /InnvitaONEService.asmx HTTP/1.1
Host: testws3pl.innvita.freeddns.org
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>
    <AddReception xmlns="InnvitaONE">
      <CompanyId>int</CompanyId>
      <SiteId>int</SiteId>
      <Business_Owner>string</Business_Owner>
      <Business_Provider>string</Business_Provider>
      <AccessControlId>int</AccessControlId>
      <StaffId>int</StaffId>
      <SectorId>int</SectorId>
      <WorktypeId>int</WorktypeId>
      <DocTypeId>int</DocTypeId>
      <DocNumber>int</DocNumber>
      <DateIn>dateTime</DateIn>
      <Notes>string</Notes>
      <GrossWeight>decimal</GrossWeight>
      <NetWeight>decimal</NetWeight>
      <Tare>decimal</Tare>
      <SelloSAG>string</SelloSAG>
      <SelloEmpresa>string</SelloEmpresa>
      <SelloAduana>string</SelloAduana>
      <NContainer>string</NContainer>
      <VType>Normal or Productiva or SinReferencia or TransferenciadeSitio or AjusteEntrada</VType>
      <Origin>int</Origin>
      <Destination>int</Destination>
      <Refrigeration>int</Refrigeration>
      <Sealed>int</Sealed>
    </AddReception>
  </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>
    <AddReceptionResponse xmlns="InnvitaONE">
      <AddReceptionResult>string</AddReceptionResult>
    </AddReceptionResponse>
  </soap12:Body>
</soap12:Envelope>