WebServiceOld


Click here for a complete list of operations.

getOrders

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 /old/WebserviceOld.asmx HTTP/1.1
Host: vip.driftsikker.no
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://service.dsk.cloud/getOrders"

<?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>
    <getOrders xmlns="http://service.dsk.cloud/">
      <request>
        <login xmlns="">int</login>
        <password xmlns="">string</password>
        <computerName xmlns="">string</computerName>
      </request>
    </getOrders>
  </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>
    <getOrdersResponse xmlns="http://service.dsk.cloud/">
      <getOrdersResult>
        <return xmlns="">
          <insertUpdate>
            <deltaId>int</deltaId>
            <errorHelpLink>string</errorHelpLink>
            <errorMessage>string</errorMessage>
            <humanErrorMessage>string</humanErrorMessage>
            <operationResult>int</operationResult>
          </insertUpdate>
          <listWebOrders>
            <alternativeTax>boolean</alternativeTax>
            <contactAddressline1>string</contactAddressline1>
            <contactAddressline2>string</contactAddressline2>
            <contactId>int</contactId>
            <contactName>string</contactName>
            <contactPostCity>string</contactPostCity>
            <contactPostNo>string</contactPostNo>
            <deliveredItemsAndCapturedPaymentInfo xsi:nil="true" />
            <deliveryAddressLine1>string</deliveryAddressLine1>
            <deliveryAddressLine2>string</deliveryAddressLine2>
            <deliveryName>string</deliveryName>
            <deliveryPostCity>string</deliveryPostCity>
            <deliveryPostNo>string</deliveryPostNo>
            <deltaOrderId>int</deltaOrderId>
            <email>string</email>
            <extraCost>decimal</extraCost>
            <extraCostDescription>string</extraCostDescription>
            <freightCost>decimal</freightCost>
            <freightCostDescription>string</freightCostDescription>
            <message>string</message>
            <orderLines xsi:nil="true" />
            <orderLines xsi:nil="true" />
            <paymentMethod>int</paymentMethod>
            <phone>string</phone>
            <storePickup>boolean</storePickup>
            <taxExempt>boolean</taxExempt>
            <wantedDeliveryTime>dateTime</wantedDeliveryTime>
          </listWebOrders>
          <listWebOrders>
            <alternativeTax>boolean</alternativeTax>
            <contactAddressline1>string</contactAddressline1>
            <contactAddressline2>string</contactAddressline2>
            <contactId>int</contactId>
            <contactName>string</contactName>
            <contactPostCity>string</contactPostCity>
            <contactPostNo>string</contactPostNo>
            <deliveredItemsAndCapturedPaymentInfo xsi:nil="true" />
            <deliveryAddressLine1>string</deliveryAddressLine1>
            <deliveryAddressLine2>string</deliveryAddressLine2>
            <deliveryName>string</deliveryName>
            <deliveryPostCity>string</deliveryPostCity>
            <deliveryPostNo>string</deliveryPostNo>
            <deltaOrderId>int</deltaOrderId>
            <email>string</email>
            <extraCost>decimal</extraCost>
            <extraCostDescription>string</extraCostDescription>
            <freightCost>decimal</freightCost>
            <freightCostDescription>string</freightCostDescription>
            <message>string</message>
            <orderLines xsi:nil="true" />
            <orderLines xsi:nil="true" />
            <paymentMethod>int</paymentMethod>
            <phone>string</phone>
            <storePickup>boolean</storePickup>
            <taxExempt>boolean</taxExempt>
            <wantedDeliveryTime>dateTime</wantedDeliveryTime>
          </listWebOrders>
        </return>
      </getOrdersResult>
    </getOrdersResponse>
  </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 /old/WebserviceOld.asmx HTTP/1.1
Host: vip.driftsikker.no
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>
    <getOrders xmlns="http://service.dsk.cloud/">
      <request>
        <login xmlns="">int</login>
        <password xmlns="">string</password>
        <computerName xmlns="">string</computerName>
      </request>
    </getOrders>
  </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>
    <getOrdersResponse xmlns="http://service.dsk.cloud/">
      <getOrdersResult>
        <return xmlns="">
          <insertUpdate>
            <deltaId>int</deltaId>
            <errorHelpLink>string</errorHelpLink>
            <errorMessage>string</errorMessage>
            <humanErrorMessage>string</humanErrorMessage>
            <operationResult>int</operationResult>
          </insertUpdate>
          <listWebOrders>
            <alternativeTax>boolean</alternativeTax>
            <contactAddressline1>string</contactAddressline1>
            <contactAddressline2>string</contactAddressline2>
            <contactId>int</contactId>
            <contactName>string</contactName>
            <contactPostCity>string</contactPostCity>
            <contactPostNo>string</contactPostNo>
            <deliveredItemsAndCapturedPaymentInfo xsi:nil="true" />
            <deliveryAddressLine1>string</deliveryAddressLine1>
            <deliveryAddressLine2>string</deliveryAddressLine2>
            <deliveryName>string</deliveryName>
            <deliveryPostCity>string</deliveryPostCity>
            <deliveryPostNo>string</deliveryPostNo>
            <deltaOrderId>int</deltaOrderId>
            <email>string</email>
            <extraCost>decimal</extraCost>
            <extraCostDescription>string</extraCostDescription>
            <freightCost>decimal</freightCost>
            <freightCostDescription>string</freightCostDescription>
            <message>string</message>
            <orderLines xsi:nil="true" />
            <orderLines xsi:nil="true" />
            <paymentMethod>int</paymentMethod>
            <phone>string</phone>
            <storePickup>boolean</storePickup>
            <taxExempt>boolean</taxExempt>
            <wantedDeliveryTime>dateTime</wantedDeliveryTime>
          </listWebOrders>
          <listWebOrders>
            <alternativeTax>boolean</alternativeTax>
            <contactAddressline1>string</contactAddressline1>
            <contactAddressline2>string</contactAddressline2>
            <contactId>int</contactId>
            <contactName>string</contactName>
            <contactPostCity>string</contactPostCity>
            <contactPostNo>string</contactPostNo>
            <deliveredItemsAndCapturedPaymentInfo xsi:nil="true" />
            <deliveryAddressLine1>string</deliveryAddressLine1>
            <deliveryAddressLine2>string</deliveryAddressLine2>
            <deliveryName>string</deliveryName>
            <deliveryPostCity>string</deliveryPostCity>
            <deliveryPostNo>string</deliveryPostNo>
            <deltaOrderId>int</deltaOrderId>
            <email>string</email>
            <extraCost>decimal</extraCost>
            <extraCostDescription>string</extraCostDescription>
            <freightCost>decimal</freightCost>
            <freightCostDescription>string</freightCostDescription>
            <message>string</message>
            <orderLines xsi:nil="true" />
            <orderLines xsi:nil="true" />
            <paymentMethod>int</paymentMethod>
            <phone>string</phone>
            <storePickup>boolean</storePickup>
            <taxExempt>boolean</taxExempt>
            <wantedDeliveryTime>dateTime</wantedDeliveryTime>
          </listWebOrders>
        </return>
      </getOrdersResult>
    </getOrdersResponse>
  </soap12:Body>
</soap12:Envelope>