wsAosEso


Click here for a complete list of operations.

MakeOrder

Objednávka a odozva na objednávku

Test

The test form is only available for requests from the local machine.

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 /wsAosEso_v8.asmx HTTP/1.1
Host: services.viapharma.sk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://services.adcnet.sk/1.1/ADCNet/AOS/Service/MakeOrder"

<?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:Header>
    <AuthenticationHeader xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <User>string</User>
      <Password>string</Password>
    </AuthenticationHeader>
  </soap:Header>
  <soap:Body>
    <MakeOrder xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <Order>
        <Version>string</Version>
        <Test>boolean</Test>
        <Participants>
          <ClientCode>string</ClientCode>
          <ClientICO>string</ClientICO>
          <ClientDIC>string</ClientDIC>
          <SupplierCode>string</SupplierCode>
          <SupplierICO>string</SupplierICO>
          <SupplierDIC>string</SupplierDIC>
          <TargetTransferCode>string</TargetTransferCode>
          <TargetTransferICO>string</TargetTransferICO>
          <TargetTransferDIC>string</TargetTransferDIC>
          <TargetTransferEmail>string</TargetTransferEmail>
          <DeliveryPlaceCode>string</DeliveryPlaceCode>
        </Participants>
        <OrderType>short</OrderType>
        <ClientOrderNumber>string</ClientOrderNumber>
        <OrderDate>string</OrderDate>
        <DeliveryDate>string</DeliveryDate>
        <RowCount>int</RowCount>
        <PackageCount>decimal</PackageCount>
        <OrderItems>
          <OrderItem>
            <ADCCode>string</ADCCode>
            <AlternativePackage xsi:nil="true" />
            <AlternativeManufacturer xsi:nil="true" />
            <AlternativeAction xsi:nil="true" />
            <InternalCode>string</InternalCode>
            <SUKLCode>string</SUKLCode>
            <EANCode>string</EANCode>
            <Quantity>decimal</Quantity>
            <Unit>string</Unit>
            <ProductName>string</ProductName>
            <ProductNameSupplement>string</ProductNameSupplement>
            <SMSNotification>string</SMSNotification>
            <CallNotification>string</CallNotification>
            <MailNotification>string</MailNotification>
          </OrderItem>
          <OrderItem>
            <ADCCode>string</ADCCode>
            <AlternativePackage xsi:nil="true" />
            <AlternativeManufacturer xsi:nil="true" />
            <AlternativeAction xsi:nil="true" />
            <InternalCode>string</InternalCode>
            <SUKLCode>string</SUKLCode>
            <EANCode>string</EANCode>
            <Quantity>decimal</Quantity>
            <Unit>string</Unit>
            <ProductName>string</ProductName>
            <ProductNameSupplement>string</ProductNameSupplement>
            <SMSNotification>string</SMSNotification>
            <CallNotification>string</CallNotification>
            <MailNotification>string</MailNotification>
          </OrderItem>
        </OrderItems>
        <Note>string</Note>
      </Order>
    </MakeOrder>
  </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>
    <MakeOrderResponse xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <MakeOrderResult>
        <Success>boolean</Success>
        <FaultCode>NONE or ACCESS_DENIED or SERVER_FAULT or CLIENT_FAULT or SERVICE_DISABLED</FaultCode>
        <FaultDescription>string</FaultDescription>
        <Confirmation>
          <Version>string</Version>
          <Test>boolean</Test>
          <FaultCode>NONE or ERR_BLOCKED_CUSTOMER or ERR_CREDIT or ERR_CUSTOMER_NOT_EXISTS or ERR_DATE or ERR_ITEM_NOT_PRICED or ERR_ITEM_NOTFOUND or ERR_ITEM_NOTFOUND_EAN or ERR_ITEM_NOTFOUND_FACODE or ERR_ITEM_NOTFOUND_FACODE_BD or ERR_ITEM_NOTFOUND_SUKL or ERR_ITEM_NOTFOUND_SUKL_BD or ERR_ITEM_NOTFOUND_VSDL or ERR_ITEM_IDENTIFICATION or ERR_NO_ADC_FOR_ITEM or ERR_NO_ADC_FOR_ITEM_INP35 or ERR_NO_CREDIT_INFO or ERR_NO_ITEM_DEFINITION or ERR_NO_ITEM_IDETIFICATION or ERR_NO_ORD_ROWS or ERR_NO_ROW_RESERVED or ERR_ORD_NOT_PRICED or ERR_ORD_TIMEOUT or ERR_ORDNR_EXIST or ERR_REQ_BATCH_NOT_EXISTS or ERR_REQ_UNIT_NOT_EXISTS or ERR_REQUIREDDATE or ERR_SALE_NOTALLOWED or ERR_SALE_NOTALLOWED_ALCOHOL or ERR_SALE_NOTALLOWED_DRUG or ERR_SALE_NOTALLOWED_EXCLUSIVE or ERR_SALE_NOTALLOWED_OPIATE or ERR_SALE_NOTALLOWED_PHARMACY or ERR_SALE_NOTALLOWED_PREKURSOR or ERR_UNIT_NOT_EXISTS or ERR_ADC_RESTRICTED or ERR_PARTICIPANT_IDENTIFICATION or ERR_INSUFFICIENT_ORDER or ERR_RESERVED_ORDER or ERR_MIN_ORDER_QTY or INF_ITEM_AVAILABLE_ON_ANOTHER_STOCK or INF_CALL_AVAILABILITY</FaultCode>
          <Participants>
            <ClientCode>string</ClientCode>
            <ClientICO>string</ClientICO>
            <ClientDIC>string</ClientDIC>
            <SupplierCode>string</SupplierCode>
            <SupplierICO>string</SupplierICO>
            <SupplierDIC>string</SupplierDIC>
            <TargetTransferCode>string</TargetTransferCode>
            <TargetTransferICO>string</TargetTransferICO>
            <TargetTransferDIC>string</TargetTransferDIC>
            <TargetTransferEmail>string</TargetTransferEmail>
            <DeliveryPlaceCode>string</DeliveryPlaceCode>
          </Participants>
          <OrderType>short</OrderType>
          <ClientOrderNumber>string</ClientOrderNumber>
          <SupplierOrderNumber>string</SupplierOrderNumber>
          <OrderDate>string</OrderDate>
          <DeliveryDate>string</DeliveryDate>
          <RowCount>int</RowCount>
          <PackageCount>decimal</PackageCount>
          <ConfirmationItems>
            <ConfirmationItem xsi:nil="true" />
            <ConfirmationItem xsi:nil="true" />
          </ConfirmationItems>
        </Confirmation>
        <Metadata>xml</Metadata>
      </MakeOrderResult>
    </MakeOrderResponse>
  </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 /wsAosEso_v8.asmx HTTP/1.1
Host: services.viapharma.sk
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:Header>
    <AuthenticationHeader xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <User>string</User>
      <Password>string</Password>
    </AuthenticationHeader>
  </soap12:Header>
  <soap12:Body>
    <MakeOrder xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <Order>
        <Version>string</Version>
        <Test>boolean</Test>
        <Participants>
          <ClientCode>string</ClientCode>
          <ClientICO>string</ClientICO>
          <ClientDIC>string</ClientDIC>
          <SupplierCode>string</SupplierCode>
          <SupplierICO>string</SupplierICO>
          <SupplierDIC>string</SupplierDIC>
          <TargetTransferCode>string</TargetTransferCode>
          <TargetTransferICO>string</TargetTransferICO>
          <TargetTransferDIC>string</TargetTransferDIC>
          <TargetTransferEmail>string</TargetTransferEmail>
          <DeliveryPlaceCode>string</DeliveryPlaceCode>
        </Participants>
        <OrderType>short</OrderType>
        <ClientOrderNumber>string</ClientOrderNumber>
        <OrderDate>string</OrderDate>
        <DeliveryDate>string</DeliveryDate>
        <RowCount>int</RowCount>
        <PackageCount>decimal</PackageCount>
        <OrderItems>
          <OrderItem>
            <ADCCode>string</ADCCode>
            <AlternativePackage xsi:nil="true" />
            <AlternativeManufacturer xsi:nil="true" />
            <AlternativeAction xsi:nil="true" />
            <InternalCode>string</InternalCode>
            <SUKLCode>string</SUKLCode>
            <EANCode>string</EANCode>
            <Quantity>decimal</Quantity>
            <Unit>string</Unit>
            <ProductName>string</ProductName>
            <ProductNameSupplement>string</ProductNameSupplement>
            <SMSNotification>string</SMSNotification>
            <CallNotification>string</CallNotification>
            <MailNotification>string</MailNotification>
          </OrderItem>
          <OrderItem>
            <ADCCode>string</ADCCode>
            <AlternativePackage xsi:nil="true" />
            <AlternativeManufacturer xsi:nil="true" />
            <AlternativeAction xsi:nil="true" />
            <InternalCode>string</InternalCode>
            <SUKLCode>string</SUKLCode>
            <EANCode>string</EANCode>
            <Quantity>decimal</Quantity>
            <Unit>string</Unit>
            <ProductName>string</ProductName>
            <ProductNameSupplement>string</ProductNameSupplement>
            <SMSNotification>string</SMSNotification>
            <CallNotification>string</CallNotification>
            <MailNotification>string</MailNotification>
          </OrderItem>
        </OrderItems>
        <Note>string</Note>
      </Order>
    </MakeOrder>
  </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>
    <MakeOrderResponse xmlns="http://services.adcnet.sk/1.1/ADCNet/AOS/Types">
      <MakeOrderResult>
        <Success>boolean</Success>
        <FaultCode>NONE or ACCESS_DENIED or SERVER_FAULT or CLIENT_FAULT or SERVICE_DISABLED</FaultCode>
        <FaultDescription>string</FaultDescription>
        <Confirmation>
          <Version>string</Version>
          <Test>boolean</Test>
          <FaultCode>NONE or ERR_BLOCKED_CUSTOMER or ERR_CREDIT or ERR_CUSTOMER_NOT_EXISTS or ERR_DATE or ERR_ITEM_NOT_PRICED or ERR_ITEM_NOTFOUND or ERR_ITEM_NOTFOUND_EAN or ERR_ITEM_NOTFOUND_FACODE or ERR_ITEM_NOTFOUND_FACODE_BD or ERR_ITEM_NOTFOUND_SUKL or ERR_ITEM_NOTFOUND_SUKL_BD or ERR_ITEM_NOTFOUND_VSDL or ERR_ITEM_IDENTIFICATION or ERR_NO_ADC_FOR_ITEM or ERR_NO_ADC_FOR_ITEM_INP35 or ERR_NO_CREDIT_INFO or ERR_NO_ITEM_DEFINITION or ERR_NO_ITEM_IDETIFICATION or ERR_NO_ORD_ROWS or ERR_NO_ROW_RESERVED or ERR_ORD_NOT_PRICED or ERR_ORD_TIMEOUT or ERR_ORDNR_EXIST or ERR_REQ_BATCH_NOT_EXISTS or ERR_REQ_UNIT_NOT_EXISTS or ERR_REQUIREDDATE or ERR_SALE_NOTALLOWED or ERR_SALE_NOTALLOWED_ALCOHOL or ERR_SALE_NOTALLOWED_DRUG or ERR_SALE_NOTALLOWED_EXCLUSIVE or ERR_SALE_NOTALLOWED_OPIATE or ERR_SALE_NOTALLOWED_PHARMACY or ERR_SALE_NOTALLOWED_PREKURSOR or ERR_UNIT_NOT_EXISTS or ERR_ADC_RESTRICTED or ERR_PARTICIPANT_IDENTIFICATION or ERR_INSUFFICIENT_ORDER or ERR_RESERVED_ORDER or ERR_MIN_ORDER_QTY or INF_ITEM_AVAILABLE_ON_ANOTHER_STOCK or INF_CALL_AVAILABILITY</FaultCode>
          <Participants>
            <ClientCode>string</ClientCode>
            <ClientICO>string</ClientICO>
            <ClientDIC>string</ClientDIC>
            <SupplierCode>string</SupplierCode>
            <SupplierICO>string</SupplierICO>
            <SupplierDIC>string</SupplierDIC>
            <TargetTransferCode>string</TargetTransferCode>
            <TargetTransferICO>string</TargetTransferICO>
            <TargetTransferDIC>string</TargetTransferDIC>
            <TargetTransferEmail>string</TargetTransferEmail>
            <DeliveryPlaceCode>string</DeliveryPlaceCode>
          </Participants>
          <OrderType>short</OrderType>
          <ClientOrderNumber>string</ClientOrderNumber>
          <SupplierOrderNumber>string</SupplierOrderNumber>
          <OrderDate>string</OrderDate>
          <DeliveryDate>string</DeliveryDate>
          <RowCount>int</RowCount>
          <PackageCount>decimal</PackageCount>
          <ConfirmationItems>
            <ConfirmationItem xsi:nil="true" />
            <ConfirmationItem xsi:nil="true" />
          </ConfirmationItems>
        </Confirmation>
        <Metadata>xml</Metadata>
      </MakeOrderResult>
    </MakeOrderResponse>
  </soap12:Body>
</soap12:Envelope>