WebServiceOld


Click here for a complete list of operations.

createWebshop

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: ""

<?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>
    <createWebshop xmlns="http://service.dsk.cloud/">
      <webcompany>
        <webcompany xmlns="">
          <deliveryAddressLine1>string</deliveryAddressLine1>
          <deliveryAddressLine2>string</deliveryAddressLine2>
          <deliveryCity>string</deliveryCity>
          <deliveryZipCode>string</deliveryZipCode>
          <demo>boolean</demo>
          <demoWebshopNo>string</demoWebshopNo>
          <email>string</email>
          <emailWebshopInfo>string</emailWebshopInfo>
          <fax>string</fax>
          <invoiceAddressLine1>string</invoiceAddressLine1>
          <invoiceAddressLine2>string</invoiceAddressLine2>
          <invoiceCity>string</invoiceCity>
          <invoiceZipCode>string</invoiceZipCode>
          <legalName>string</legalName>
          <licenseNo>string</licenseNo>
          <name>string</name>
          <orgNo>string</orgNo>
          <password>string</password>
          <phone>string</phone>
          <postAddressLine1>string</postAddressLine1>
          <postAddressLine2>string</postAddressLine2>
          <postCity>string</postCity>
          <postZipCode>string</postZipCode>
        </webcompany>
      </webcompany>
    </createWebshop>
  </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>
    <createWebshopResponse xmlns="http://service.dsk.cloud/">
      <return xmlns="">
        <return>
          <adminUserName>string</adminUserName>
          <adminUserPassword>string</adminUserPassword>
          <deltasoftId>int</deltasoftId>
          <insertUpdate>
            <deltaId>int</deltaId>
            <errorHelpLink>string</errorHelpLink>
            <errorMessage>string</errorMessage>
            <humanErrorMessage>string</humanErrorMessage>
            <operationResult>int</operationResult>
          </insertUpdate>
          <password>string</password>
        </return>
      </return>
    </createWebshopResponse>
  </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>
    <createWebshop xmlns="http://service.dsk.cloud/">
      <webcompany>
        <webcompany xmlns="">
          <deliveryAddressLine1>string</deliveryAddressLine1>
          <deliveryAddressLine2>string</deliveryAddressLine2>
          <deliveryCity>string</deliveryCity>
          <deliveryZipCode>string</deliveryZipCode>
          <demo>boolean</demo>
          <demoWebshopNo>string</demoWebshopNo>
          <email>string</email>
          <emailWebshopInfo>string</emailWebshopInfo>
          <fax>string</fax>
          <invoiceAddressLine1>string</invoiceAddressLine1>
          <invoiceAddressLine2>string</invoiceAddressLine2>
          <invoiceCity>string</invoiceCity>
          <invoiceZipCode>string</invoiceZipCode>
          <legalName>string</legalName>
          <licenseNo>string</licenseNo>
          <name>string</name>
          <orgNo>string</orgNo>
          <password>string</password>
          <phone>string</phone>
          <postAddressLine1>string</postAddressLine1>
          <postAddressLine2>string</postAddressLine2>
          <postCity>string</postCity>
          <postZipCode>string</postZipCode>
        </webcompany>
      </webcompany>
    </createWebshop>
  </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>
    <createWebshopResponse xmlns="http://service.dsk.cloud/">
      <return xmlns="">
        <return>
          <adminUserName>string</adminUserName>
          <adminUserPassword>string</adminUserPassword>
          <deltasoftId>int</deltasoftId>
          <insertUpdate>
            <deltaId>int</deltaId>
            <errorHelpLink>string</errorHelpLink>
            <errorMessage>string</errorMessage>
            <humanErrorMessage>string</humanErrorMessage>
            <operationResult>int</operationResult>
          </insertUpdate>
          <password>string</password>
        </return>
      </return>
    </createWebshopResponse>
  </soap12:Body>
</soap12:Envelope>