Documentation
Show / Hide Table of Contents

Connect by WebShop API

This API exposes endpoints specifically purposed for using WinServ as a web shop backend.

Uri Method Description
CountCustomers POST Returns an integer representing the number of customers for the given filter. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
CountMachines POST Returns an integer representing the number of machines for the given filter. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
CreateCustomerOrder POST Create a new customer order in WinServ. Returns the WinServ order id. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
CreateServiceOrder POST Create a new service order in WinServ. Returns the WinServ service order id. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
GetCustomers POST Returns a list of WinServ customers based on passed filter list. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
GetMachines POST Returns a list of WinServ machines based on passed filter list. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
NextDeliveryDate POST Get the closest upcoming delivery date for customer orders. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
SetContact POST Inserts or updates a WinServ contact. Insert will occur if the passed e-mail address of the contact can't be found in WinServ, otherwise an update will occur. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.
TestDatabase GET A testing method that attempts to access the database.
TestService GET A testing method that doesn't access the database.

CountCustomers

Returns an integer representing the number of customers for the given filter. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /CountCustomers?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<ArrayOfCustomerFilter xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers">
  <CustomerFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </CustomerFilter>
  <CustomerFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </CustomerFilter>
</ArrayOfCustomerFilter>

The following is an example request Json body:

[{
    "MatchingField":"String content",
    "MatchingMethod":0,
    "Value":"String content"
}]

The following is an example response Xml body:

<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2147483647</int>

The following is an example response Json body:

2147483647

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="ArrayOfCustomerFilter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CustomerFilter" nillable="true" type="tns:CustomerFilter" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomerFilter" nillable="true" type="tns:ArrayOfCustomerFilter" />
  <xs:complexType name="CustomerFilter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" base="q1:FilterBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CustomerFilter" nillable="true" type="tns:CustomerFilter" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="FilterBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="MatchingField" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MatchingMethod" type="tns:FilterBase.Operator" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FilterBase" nillable="true" type="tns:FilterBase" />
  <xs:simpleType name="FilterBase.Operator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Matches" />
      <xs:enumeration value="DoesNotMatch" />
      <xs:enumeration value="Contains" />
      <xs:enumeration value="GreaterOrEqualThan" />
      <xs:enumeration value="LesserOrEqualThan" />
      <xs:enumeration value="GreaterThan" />
      <xs:enumeration value="LesserThan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FilterBase.Operator" nillable="true" type="tns:FilterBase.Operator" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

CountMachines

Returns an integer representing the number of machines for the given filter. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /CountMachines?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<ArrayOfMachineFilter xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers">
  <MachineFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </MachineFilter>
  <MachineFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </MachineFilter>
</ArrayOfMachineFilter>

The following is an example request Json body:

[{
    "MatchingField":"String content",
    "MatchingMethod":0,
    "Value":"String content"
}]

The following is an example response Xml body:

<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">2147483647</int>

The following is an example response Json body:

2147483647

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="ArrayOfMachineFilter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MachineFilter" nillable="true" type="tns:MachineFilter" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMachineFilter" nillable="true" type="tns:ArrayOfMachineFilter" />
  <xs:complexType name="MachineFilter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" base="q1:FilterBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MachineFilter" nillable="true" type="tns:MachineFilter" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="FilterBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="MatchingField" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MatchingMethod" type="tns:FilterBase.Operator" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FilterBase" nillable="true" type="tns:FilterBase" />
  <xs:simpleType name="FilterBase.Operator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Matches" />
      <xs:enumeration value="DoesNotMatch" />
      <xs:enumeration value="Contains" />
      <xs:enumeration value="GreaterOrEqualThan" />
      <xs:enumeration value="LesserOrEqualThan" />
      <xs:enumeration value="GreaterThan" />
      <xs:enumeration value="LesserThan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FilterBase.Operator" nillable="true" type="tns:FilterBase.Operator" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

CreateCustomerOrder

Create a new customer order in WinServ. Returns the WinServ order id. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /CreateCustomerOrder?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<CustomerOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.CustomerOrders.Containers">
  <BillingCity>String content</BillingCity>
  <BillingReceiverName>String content</BillingReceiverName>
  <BillingStreet>String content</BillingStreet>
  <BillingZip>String content</BillingZip>
  <BuyerEmail>String content</BuyerEmail>
  <BuyerName>String content</BuyerName>
  <BuyerPhone>String content</BuyerPhone>
  <CustomerId>String content</CustomerId>
  <Message>String content</Message>
  <OrderDate>1999-05-31T11:20:00</OrderDate>
  <OrderRows>
    <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
      <Cost>12678967.543233</Cost>
      <DiscountPercent>12678967.543233</DiscountPercent>
      <IncludedOnInvoice>true</IncludedOnInvoice>
      <ItemId>String content</ItemId>
      <ItemName>String content</ItemName>
      <Price>12678967.543233</Price>
      <Quantity>12678967.543233</Quantity>
      <SalesUnitId>String content</SalesUnitId>
      <TotalCost>12678967.543233</TotalCost>
      <TotalPrice>12678967.543233</TotalPrice>
    </OrderRow>
    <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
      <Cost>12678967.543233</Cost>
      <DiscountPercent>12678967.543233</DiscountPercent>
      <IncludedOnInvoice>true</IncludedOnInvoice>
      <ItemId>String content</ItemId>
      <ItemName>String content</ItemName>
      <Price>12678967.543233</Price>
      <Quantity>12678967.543233</Quantity>
      <SalesUnitId>String content</SalesUnitId>
      <TotalCost>12678967.543233</TotalCost>
      <TotalPrice>12678967.543233</TotalPrice>
    </OrderRow>
  </OrderRows>
  <ReferenceLabel>String content</ReferenceLabel>
  <ShippingCity>String content</ShippingCity>
  <ShippingReceiverName>String content</ShippingReceiverName>
  <ShippingStreet>String content</ShippingStreet>
  <ShippingZip>String content</ShippingZip>
  <WebshopOrderId>String content</WebshopOrderId>
</CustomerOrder>

The following is an example request Json body:

{
    "BillingCity":"String content",
    "BillingReceiverName":"String content",
    "BillingStreet":"String content",
    "BillingZip":"String content",
    "BuyerEmail":"String content",
    "BuyerName":"String content",
    "BuyerPhone":"String content",
    "CustomerId":"String content",
    "Message":"String content",
    "OrderDate":"\/Date(928142400000+0200)\/",
    "OrderRows":[{
        "Cost":12678967.543233,
        "DiscountPercent":12678967.543233,
        "IncludedOnInvoice":true,
        "ItemId":"String content",
        "ItemName":"String content",
        "Price":12678967.543233,
        "Quantity":12678967.543233,
        "SalesUnitId":"String content",
        "TotalCost":12678967.543233,
        "TotalPrice":12678967.543233
    }],
    "ReferenceLabel":"String content",
    "ShippingCity":"String content",
    "ShippingReceiverName":"String content",
    "ShippingStreet":"String content",
    "ShippingZip":"String content",
    "WebshopOrderId":"String content"
}

The following is an example response Xml body:

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>

The following is an example response Json body:

"String content"

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.CustomerOrders.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.CustomerOrders.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="CustomerOrder">
    <xs:sequence>
      <xs:element minOccurs="0" name="BillingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingReceiverName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingZip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BuyerEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BuyerName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BuyerPhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrderDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="OrderRows" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" type="q1:ArrayOfOrderRow" />
      <xs:element minOccurs="0" name="ReferenceLabel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingReceiverName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingZip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="WebshopOrderId" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="CustomerOrder" nillable="true" type="tns:CustomerOrder" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfOrderRow">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderRow" nillable="true" type="tns:OrderRow" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrderRow" nillable="true" type="tns:ArrayOfOrderRow" />
  <xs:complexType name="OrderRow">
    <xs:sequence>
      <xs:element minOccurs="0" name="Cost" type="xs:decimal" />
      <xs:element minOccurs="0" name="DiscountPercent" type="xs:decimal" />
      <xs:element minOccurs="0" name="IncludedOnInvoice" type="xs:boolean" />
      <xs:element minOccurs="0" name="ItemId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ItemName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Price" type="xs:decimal" />
      <xs:element minOccurs="0" name="Quantity" type="xs:decimal" />
      <xs:element minOccurs="0" name="SalesUnitId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalCost" type="xs:decimal" />
      <xs:element minOccurs="0" name="TotalPrice" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OrderRow" nillable="true" type="tns:OrderRow" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

CreateServiceOrder

Create a new service order in WinServ. Returns the WinServ service order id. If an error occurs the service will respond with http status code

  1. Error details will be found in the 'X-Status' response header.

Url: /CreateServiceOrder?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<ServiceOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers">
  <CustomerId>String content</CustomerId>
  <EmailCopyReceiver>String content</EmailCopyReceiver>
  <MachineId>String content</MachineId>
  <OrdererEmail>String content</OrdererEmail>
  <OrdererFax>String content</OrdererFax>
  <OrdererMobilePhone>String content</OrdererMobilePhone>
  <OrdererName>String content</OrdererName>
  <OrdererPhone>String content</OrdererPhone>
  <OutOfOrder>true</OutOfOrder>
  <OwnOrderId>String content</OwnOrderId>
  <ProblemCode>String content</ProblemCode>
  <ProblemDescription>String content</ProblemDescription>
  <ReferenceLabel>String content</ReferenceLabel>
</ServiceOrder>

The following is an example request Json body:

{
    "CustomerId":"String content",
    "EmailCopyReceiver":"String content",
    "MachineId":"String content",
    "OrdererEmail":"String content",
    "OrdererFax":"String content",
    "OrdererMobilePhone":"String content",
    "OrdererName":"String content",
    "OrdererPhone":"String content",
    "OutOfOrder":true,
    "OwnOrderId":"String content",
    "ProblemCode":"String content",
    "ProblemDescription":"String content",
    "ReferenceLabel":"String content"
}

The following is an example response Xml body:

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>

The following is an example response Json body:

"String content"

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ServiceOrder">
    <xs:sequence>
      <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmailCopyReceiver" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MachineId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererFax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererMobilePhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererPhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OutOfOrder" type="xs:boolean" />
      <xs:element minOccurs="0" name="OwnOrderId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProblemCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProblemDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReferenceLabel" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServiceOrder" nillable="true" type="tns:ServiceOrder" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

GetCustomers

Returns a list of WinServ customers based on passed filter list. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /GetCustomers?token={TOKEN}&page={PAGE}&pageSize={PAGESIZE}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<ArrayOfCustomerFilter xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers">
  <CustomerFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </CustomerFilter>
  <CustomerFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </CustomerFilter>
</ArrayOfCustomerFilter>

The following is an example request Json body:

[{
    "MatchingField":"String content",
    "MatchingMethod":0,
    "Value":"String content"
}]

The following is an example response Xml body:

<ArrayOfCustomer xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers">
  <Customer>
    <AlternativeId>String content</AlternativeId>
    <BasicId>String content</BasicId>
    <BillingCity>String content</BillingCity>
    <BillingPostcode>String content</BillingPostcode>
    <BillingStreet>String content</BillingStreet>
    <BillingStreet2>String content</BillingStreet2>
    <Blocked>String content</Blocked>
    <Category>String content</Category>
    <CfarNumber>String content</CfarNumber>
    <CommonName>String content</CommonName>
    <Consolidated>String content</Consolidated>
    <CostCenterId>String content</CostCenterId>
    <CostUnitId>String content</CostUnitId>
    <Country>String content</Country>
    <CountryId>String content</CountryId>
    <CreditBalance>12678967.543233</CreditBalance>
    <CreditLimit>12678967.543233</CreditLimit>
    <CurrencyId>String content</CurrencyId>
    <DeliveryMethodId>String content</DeliveryMethodId>
    <DeliveryTermId>String content</DeliveryTermId>
    <Department>String content</Department>
    <District>String content</District>
    <EanCode>String content</EanCode>
    <EconomicReference>String content</EconomicReference>
    <Email>String content</Email>
    <FallDue>12678967.543233</FallDue>
    <Fax>String content</Fax>
    <GeneralDiscount>12678967.543233</GeneralDiscount>
    <Id>String content</Id>
    <InternalCode>String content</InternalCode>
    <InvoiceFee>12678967.543233</InvoiceFee>
    <ItemAgreementId>String content</ItemAgreementId>
    <ItemPriceListId>String content</ItemPriceListId>
    <LanguageId>String content</LanguageId>
    <Message>String content</Message>
    <MobilePhone>String content</MobilePhone>
    <Name>String content</Name>
    <ObjectNumber>String content</ObjectNumber>
    <OrganisationNumber>String content</OrganisationNumber>
    <Passive>true</Passive>
    <PaymentTermId>String content</PaymentTermId>
    <PriceListId>String content</PriceListId>
    <SalesRep2Id>String content</SalesRep2Id>
    <SalesRepId>String content</SalesRepId>
    <SearchWord>String content</SearchWord>
    <ShippingCity>String content</ShippingCity>
    <ShippingPostcode>String content</ShippingPostcode>
    <ShippingStreet>String content</ShippingStreet>
    <ShippingStreet2>String content</ShippingStreet2>
    <TechnicianId>String content</TechnicianId>
    <Telephone>String content</Telephone>
    <VatCode>String content</VatCode>
    <WebsiteUrl>String content</WebsiteUrl>
  </Customer>
  <Customer>
    <AlternativeId>String content</AlternativeId>
    <BasicId>String content</BasicId>
    <BillingCity>String content</BillingCity>
    <BillingPostcode>String content</BillingPostcode>
    <BillingStreet>String content</BillingStreet>
    <BillingStreet2>String content</BillingStreet2>
    <Blocked>String content</Blocked>
    <Category>String content</Category>
    <CfarNumber>String content</CfarNumber>
    <CommonName>String content</CommonName>
    <Consolidated>String content</Consolidated>
    <CostCenterId>String content</CostCenterId>
    <CostUnitId>String content</CostUnitId>
    <Country>String content</Country>
    <CountryId>String content</CountryId>
    <CreditBalance>12678967.543233</CreditBalance>
    <CreditLimit>12678967.543233</CreditLimit>
    <CurrencyId>String content</CurrencyId>
    <DeliveryMethodId>String content</DeliveryMethodId>
    <DeliveryTermId>String content</DeliveryTermId>
    <Department>String content</Department>
    <District>String content</District>
    <EanCode>String content</EanCode>
    <EconomicReference>String content</EconomicReference>
    <Email>String content</Email>
    <FallDue>12678967.543233</FallDue>
    <Fax>String content</Fax>
    <GeneralDiscount>12678967.543233</GeneralDiscount>
    <Id>String content</Id>
    <InternalCode>String content</InternalCode>
    <InvoiceFee>12678967.543233</InvoiceFee>
    <ItemAgreementId>String content</ItemAgreementId>
    <ItemPriceListId>String content</ItemPriceListId>
    <LanguageId>String content</LanguageId>
    <Message>String content</Message>
    <MobilePhone>String content</MobilePhone>
    <Name>String content</Name>
    <ObjectNumber>String content</ObjectNumber>
    <OrganisationNumber>String content</OrganisationNumber>
    <Passive>true</Passive>
    <PaymentTermId>String content</PaymentTermId>
    <PriceListId>String content</PriceListId>
    <SalesRep2Id>String content</SalesRep2Id>
    <SalesRepId>String content</SalesRepId>
    <SearchWord>String content</SearchWord>
    <ShippingCity>String content</ShippingCity>
    <ShippingPostcode>String content</ShippingPostcode>
    <ShippingStreet>String content</ShippingStreet>
    <ShippingStreet2>String content</ShippingStreet2>
    <TechnicianId>String content</TechnicianId>
    <Telephone>String content</Telephone>
    <VatCode>String content</VatCode>
    <WebsiteUrl>String content</WebsiteUrl>
  </Customer>
</ArrayOfCustomer>

The following is an example response Json body:

[{
    "AlternativeId":"String content",
    "BasicId":"String content",
    "BillingCity":"String content",
    "BillingPostcode":"String content",
    "BillingStreet":"String content",
    "BillingStreet2":"String content",
    "Blocked":"String content",
    "Category":"String content",
    "CfarNumber":"String content",
    "CommonName":"String content",
    "Consolidated":"String content",
    "CostCenterId":"String content",
    "CostUnitId":"String content",
    "Country":"String content",
    "CountryId":"String content",
    "CreditBalance":12678967.543233,
    "CreditLimit":12678967.543233,
    "CurrencyId":"String content",
    "DeliveryMethodId":"String content",
    "DeliveryTermId":"String content",
    "Department":"String content",
    "District":"String content",
    "EanCode":"String content",
    "EconomicReference":"String content",
    "Email":"String content",
    "FallDue":12678967.543233,
    "Fax":"String content",
    "GeneralDiscount":12678967.543233,
    "Id":"String content",
    "InternalCode":"String content",
    "InvoiceFee":12678967.543233,
    "ItemAgreementId":"String content",
    "ItemPriceListId":"String content",
    "LanguageId":"String content",
    "Message":"String content",
    "MobilePhone":"String content",
    "Name":"String content",
    "ObjectNumber":"String content",
    "OrganisationNumber":"String content",
    "Passive":true,
    "PaymentTermId":"String content",
    "PriceListId":"String content",
    "SalesRep2Id":"String content",
    "SalesRepId":"String content",
    "SearchWord":"String content",
    "ShippingCity":"String content",
    "ShippingPostcode":"String content",
    "ShippingStreet":"String content",
    "ShippingStreet2":"String content",
    "TechnicianId":"String content",
    "Telephone":"String content",
    "VatCode":"String content",
    "WebsiteUrl":"String content"
}]

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="ArrayOfCustomerFilter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="CustomerFilter" nillable="true" type="tns:CustomerFilter" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomerFilter" nillable="true" type="tns:ArrayOfCustomerFilter" />
  <xs:complexType name="CustomerFilter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" base="q1:FilterBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="CustomerFilter" nillable="true" type="tns:CustomerFilter" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="FilterBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="MatchingField" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MatchingMethod" type="tns:FilterBase.Operator" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FilterBase" nillable="true" type="tns:FilterBase" />
  <xs:simpleType name="FilterBase.Operator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Matches" />
      <xs:enumeration value="DoesNotMatch" />
      <xs:enumeration value="Contains" />
      <xs:enumeration value="GreaterOrEqualThan" />
      <xs:enumeration value="LesserOrEqualThan" />
      <xs:enumeration value="GreaterThan" />
      <xs:enumeration value="LesserThan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FilterBase.Operator" nillable="true" type="tns:FilterBase.Operator" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Customers.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfCustomer">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Customer" nillable="true" type="tns:Customer" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfCustomer" nillable="true" type="tns:ArrayOfCustomer" />
  <xs:complexType name="Customer">
    <xs:sequence>
      <xs:element minOccurs="0" name="AlternativeId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BasicId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingPostcode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingStreet2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Blocked" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Category" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CfarNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CommonName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Consolidated" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CostCenterId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CostUnitId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CountryId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CreditBalance" type="xs:decimal" />
      <xs:element minOccurs="0" name="CreditLimit" type="xs:decimal" />
      <xs:element minOccurs="0" name="CurrencyId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryMethodId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DeliveryTermId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Department" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="District" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EanCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EconomicReference" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="FallDue" type="xs:decimal" />
      <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="GeneralDiscount" type="xs:decimal" />
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="InternalCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="InvoiceFee" type="xs:decimal" />
      <xs:element minOccurs="0" name="ItemAgreementId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ItemPriceListId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="LanguageId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Message" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MobilePhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ObjectNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrganisationNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Passive" type="xs:boolean" />
      <xs:element minOccurs="0" name="PaymentTermId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PriceListId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SalesRep2Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SalesRepId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SearchWord" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingPostcode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingStreet2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TechnicianId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Telephone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="VatCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="WebsiteUrl" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Customer" nillable="true" type="tns:Customer" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

GetMachines

Returns a list of WinServ machines based on passed filter list. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /GetMachines?token={TOKEN}&historyFrom={HISTORYFROM}&historyTo={HISTORYTO}&page={PAGE}&pageSize={PAGESIZE}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example,Schema
Response Json Example

The following is an example request Xml body:

<ArrayOfMachineFilter xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers">
  <MachineFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </MachineFilter>
  <MachineFilter>
    <MatchingField xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</MatchingField>
    <MatchingMethod xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">Matches</MatchingMethod>
    <Value xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">String content</Value>
  </MachineFilter>
</ArrayOfMachineFilter>

The following is an example request Json body:

[{
    "MatchingField":"String content",
    "MatchingMethod":0,
    "Value":"String content"
}]

The following is an example response Xml body:

<ArrayOfMachine xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers">
  <Machine>
    <AccumulatedConsumablesFeeTotal>12678967.543233</AccumulatedConsumablesFeeTotal>
    <AccumulatedContractFeeTotal>12678967.543233</AccumulatedContractFeeTotal>
    <AccumulatedServiceFeeTotal>12678967.543233</AccumulatedServiceFeeTotal>
    <ActiveServiceOrders>
      <ServiceOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers">
        <CustomerId>String content</CustomerId>
        <EmailCopyReceiver>String content</EmailCopyReceiver>
        <MachineId>String content</MachineId>
        <OrdererEmail>String content</OrdererEmail>
        <OrdererFax>String content</OrdererFax>
        <OrdererMobilePhone>String content</OrdererMobilePhone>
        <OrdererName>String content</OrdererName>
        <OrdererPhone>String content</OrdererPhone>
        <OutOfOrder>true</OutOfOrder>
        <OwnOrderId>String content</OwnOrderId>
        <ProblemCode>String content</ProblemCode>
        <ProblemDescription>String content</ProblemDescription>
        <ReferenceLabel>String content</ReferenceLabel>
      </ServiceOrder>
      <ServiceOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers">
        <CustomerId>String content</CustomerId>
        <EmailCopyReceiver>String content</EmailCopyReceiver>
        <MachineId>String content</MachineId>
        <OrdererEmail>String content</OrdererEmail>
        <OrdererFax>String content</OrdererFax>
        <OrdererMobilePhone>String content</OrdererMobilePhone>
        <OrdererName>String content</OrdererName>
        <OrdererPhone>String content</OrdererPhone>
        <OutOfOrder>true</OutOfOrder>
        <OwnOrderId>String content</OwnOrderId>
        <ProblemCode>String content</ProblemCode>
        <ProblemDescription>String content</ProblemDescription>
        <ReferenceLabel>String content</ReferenceLabel>
      </ServiceOrder>
    </ActiveServiceOrders>
    <City>String content</City>
    <ConsumableHistory>
      <ConsumablesLog>
        <DeliveredAt>1999-05-31T11:20:00</DeliveredAt>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <OrderedAt>1999-05-31T11:20:00</OrderedAt>
        <OrderedBy>String content</OrderedBy>
      </ConsumablesLog>
      <ConsumablesLog>
        <DeliveredAt>1999-05-31T11:20:00</DeliveredAt>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <OrderedAt>1999-05-31T11:20:00</OrderedAt>
        <OrderedBy>String content</OrderedBy>
      </ConsumablesLog>
    </ConsumableHistory>
    <ContractNumber>String content</ContractNumber>
    <CustomerId>String content</CustomerId>
    <EconomicReference>String content</EconomicReference>
    <Email>String content</Email>
    <Fax>String content</Fax>
    <HasServiceContract>true</HasServiceContract>
    <Id>String content</Id>
    <InstallationDate>1999-05-31T11:20:00</InstallationDate>
    <InstalledAt>String content</InstalledAt>
    <Location>String content</Location>
    <ModelId>String content</ModelId>
    <ModelName>String content</ModelName>
    <Phone>String content</Phone>
    <PurchaserReference>String content</PurchaserReference>
    <SearchWord>String content</SearchWord>
    <ServiceHistory>
      <ServiceLog>
        <CalledInAt>1999-05-31T11:20:00</CalledInAt>
        <CalledInBy>String content</CalledInBy>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <ReferenceLabel>String content</ReferenceLabel>
        <ReportedProblem>String content</ReportedProblem>
        <SolutionDescription>String content</SolutionDescription>
        <TechnicianArrivedAt>1999-05-31T11:20:00</TechnicianArrivedAt>
        <TechnicianId>String content</TechnicianId>
        <TechnicianName>String content</TechnicianName>
        <TotalWorkTime>12678967.543233</TotalWorkTime>
        <WorkFinishedAt>1999-05-31T11:20:00</WorkFinishedAt>
      </ServiceLog>
      <ServiceLog>
        <CalledInAt>1999-05-31T11:20:00</CalledInAt>
        <CalledInBy>String content</CalledInBy>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <ReferenceLabel>String content</ReferenceLabel>
        <ReportedProblem>String content</ReportedProblem>
        <SolutionDescription>String content</SolutionDescription>
        <TechnicianArrivedAt>1999-05-31T11:20:00</TechnicianArrivedAt>
        <TechnicianId>String content</TechnicianId>
        <TechnicianName>String content</TechnicianName>
        <TotalWorkTime>12678967.543233</TotalWorkTime>
        <WorkFinishedAt>1999-05-31T11:20:00</WorkFinishedAt>
      </ServiceLog>
    </ServiceHistory>
    <ServiceMonths>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    </ServiceMonths>
    <Street>String content</Street>
    <TechnicalReference>String content</TechnicalReference>
    <UpcomingServiceOccasions>
      <dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1999-05-31T11:20:00</dateTime>
      <dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1999-05-31T11:20:00</dateTime>
    </UpcomingServiceOccasions>
    <Zip>String content</Zip>
  </Machine>
  <Machine>
    <AccumulatedConsumablesFeeTotal>12678967.543233</AccumulatedConsumablesFeeTotal>
    <AccumulatedContractFeeTotal>12678967.543233</AccumulatedContractFeeTotal>
    <AccumulatedServiceFeeTotal>12678967.543233</AccumulatedServiceFeeTotal>
    <ActiveServiceOrders>
      <ServiceOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers">
        <CustomerId>String content</CustomerId>
        <EmailCopyReceiver>String content</EmailCopyReceiver>
        <MachineId>String content</MachineId>
        <OrdererEmail>String content</OrdererEmail>
        <OrdererFax>String content</OrdererFax>
        <OrdererMobilePhone>String content</OrdererMobilePhone>
        <OrdererName>String content</OrdererName>
        <OrdererPhone>String content</OrdererPhone>
        <OutOfOrder>true</OutOfOrder>
        <OwnOrderId>String content</OwnOrderId>
        <ProblemCode>String content</ProblemCode>
        <ProblemDescription>String content</ProblemDescription>
        <ReferenceLabel>String content</ReferenceLabel>
      </ServiceOrder>
      <ServiceOrder xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers">
        <CustomerId>String content</CustomerId>
        <EmailCopyReceiver>String content</EmailCopyReceiver>
        <MachineId>String content</MachineId>
        <OrdererEmail>String content</OrdererEmail>
        <OrdererFax>String content</OrdererFax>
        <OrdererMobilePhone>String content</OrdererMobilePhone>
        <OrdererName>String content</OrdererName>
        <OrdererPhone>String content</OrdererPhone>
        <OutOfOrder>true</OutOfOrder>
        <OwnOrderId>String content</OwnOrderId>
        <ProblemCode>String content</ProblemCode>
        <ProblemDescription>String content</ProblemDescription>
        <ReferenceLabel>String content</ReferenceLabel>
      </ServiceOrder>
    </ActiveServiceOrders>
    <City>String content</City>
    <ConsumableHistory>
      <ConsumablesLog>
        <DeliveredAt>1999-05-31T11:20:00</DeliveredAt>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <OrderedAt>1999-05-31T11:20:00</OrderedAt>
        <OrderedBy>String content</OrderedBy>
      </ConsumablesLog>
      <ConsumablesLog>
        <DeliveredAt>1999-05-31T11:20:00</DeliveredAt>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <OrderedAt>1999-05-31T11:20:00</OrderedAt>
        <OrderedBy>String content</OrderedBy>
      </ConsumablesLog>
    </ConsumableHistory>
    <ContractNumber>String content</ContractNumber>
    <CustomerId>String content</CustomerId>
    <EconomicReference>String content</EconomicReference>
    <Email>String content</Email>
    <Fax>String content</Fax>
    <HasServiceContract>true</HasServiceContract>
    <Id>String content</Id>
    <InstallationDate>1999-05-31T11:20:00</InstallationDate>
    <InstalledAt>String content</InstalledAt>
    <Location>String content</Location>
    <ModelId>String content</ModelId>
    <ModelName>String content</ModelName>
    <Phone>String content</Phone>
    <PurchaserReference>String content</PurchaserReference>
    <SearchWord>String content</SearchWord>
    <ServiceHistory>
      <ServiceLog>
        <CalledInAt>1999-05-31T11:20:00</CalledInAt>
        <CalledInBy>String content</CalledInBy>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <ReferenceLabel>String content</ReferenceLabel>
        <ReportedProblem>String content</ReportedProblem>
        <SolutionDescription>String content</SolutionDescription>
        <TechnicianArrivedAt>1999-05-31T11:20:00</TechnicianArrivedAt>
        <TechnicianId>String content</TechnicianId>
        <TechnicianName>String content</TechnicianName>
        <TotalWorkTime>12678967.543233</TotalWorkTime>
        <WorkFinishedAt>1999-05-31T11:20:00</WorkFinishedAt>
      </ServiceLog>
      <ServiceLog>
        <CalledInAt>1999-05-31T11:20:00</CalledInAt>
        <CalledInBy>String content</CalledInBy>
        <OrderId>String content</OrderId>
        <OrderRows>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
          <OrderRow xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common">
            <Cost>12678967.543233</Cost>
            <DiscountPercent>12678967.543233</DiscountPercent>
            <IncludedOnInvoice>true</IncludedOnInvoice>
            <ItemId>String content</ItemId>
            <ItemName>String content</ItemName>
            <Price>12678967.543233</Price>
            <Quantity>12678967.543233</Quantity>
            <SalesUnitId>String content</SalesUnitId>
            <TotalCost>12678967.543233</TotalCost>
            <TotalPrice>12678967.543233</TotalPrice>
          </OrderRow>
        </OrderRows>
        <ReferenceLabel>String content</ReferenceLabel>
        <ReportedProblem>String content</ReportedProblem>
        <SolutionDescription>String content</SolutionDescription>
        <TechnicianArrivedAt>1999-05-31T11:20:00</TechnicianArrivedAt>
        <TechnicianId>String content</TechnicianId>
        <TechnicianName>String content</TechnicianName>
        <TotalWorkTime>12678967.543233</TotalWorkTime>
        <WorkFinishedAt>1999-05-31T11:20:00</WorkFinishedAt>
      </ServiceLog>
    </ServiceHistory>
    <ServiceMonths>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
      <int xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">2147483647</int>
    </ServiceMonths>
    <Street>String content</Street>
    <TechnicalReference>String content</TechnicalReference>
    <UpcomingServiceOccasions>
      <dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1999-05-31T11:20:00</dateTime>
      <dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">1999-05-31T11:20:00</dateTime>
    </UpcomingServiceOccasions>
    <Zip>String content</Zip>
  </Machine>
</ArrayOfMachine>

The following is an example response Json body:

[{
    "AccumulatedConsumablesFeeTotal":12678967.543233,
    "AccumulatedContractFeeTotal":12678967.543233,
    "AccumulatedServiceFeeTotal":12678967.543233,
    "ActiveServiceOrders":[{
        "CustomerId":"String content",
        "EmailCopyReceiver":"String content",
        "MachineId":"String content",
        "OrdererEmail":"String content",
        "OrdererFax":"String content",
        "OrdererMobilePhone":"String content",
        "OrdererName":"String content",
        "OrdererPhone":"String content",
        "OutOfOrder":true,
        "OwnOrderId":"String content",
        "ProblemCode":"String content",
        "ProblemDescription":"String content",
        "ReferenceLabel":"String content"
    }],
    "City":"String content",
    "ConsumableHistory":[{
        "DeliveredAt":"\/Date(928142400000+0200)\/",
        "OrderId":"String content",
        "OrderRows":[{
            "Cost":12678967.543233,
            "DiscountPercent":12678967.543233,
            "IncludedOnInvoice":true,
            "ItemId":"String content",
            "ItemName":"String content",
            "Price":12678967.543233,
            "Quantity":12678967.543233,
            "SalesUnitId":"String content",
            "TotalCost":12678967.543233,
            "TotalPrice":12678967.543233
        }],
        "OrderedAt":"\/Date(928142400000+0200)\/",
        "OrderedBy":"String content"
    }],
    "ContractNumber":"String content",
    "CustomerId":"String content",
    "EconomicReference":"String content",
    "Email":"String content",
    "Fax":"String content",
    "HasServiceContract":true,
    "Id":"String content",
    "InstallationDate":"\/Date(928142400000+0200)\/",
    "InstalledAt":"String content",
    "Location":"String content",
    "ModelId":"String content",
    "ModelName":"String content",
    "Phone":"String content",
    "PurchaserReference":"String content",
    "SearchWord":"String content",
    "ServiceHistory":[{
        "CalledInAt":"\/Date(928142400000+0200)\/",
        "CalledInBy":"String content",
        "OrderId":"String content",
        "OrderRows":[{
            "Cost":12678967.543233,
            "DiscountPercent":12678967.543233,
            "IncludedOnInvoice":true,
            "ItemId":"String content",
            "ItemName":"String content",
            "Price":12678967.543233,
            "Quantity":12678967.543233,
            "SalesUnitId":"String content",
            "TotalCost":12678967.543233,
            "TotalPrice":12678967.543233
        }],
        "ReferenceLabel":"String content",
        "ReportedProblem":"String content",
        "SolutionDescription":"String content",
        "TechnicianArrivedAt":"\/Date(928142400000+0200)\/",
        "TechnicianId":"String content",
        "TechnicianName":"String content",
        "TotalWorkTime":12678967.543233,
        "WorkFinishedAt":"\/Date(928142400000+0200)\/"
    }],
    "ServiceMonths":[2147483647],
    "Street":"String content",
    "TechnicalReference":"String content",
    "UpcomingServiceOccasions":["\/Date(928142400000+0200)\/"],
    "Zip":"String content"
}]

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="ArrayOfMachineFilter">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MachineFilter" nillable="true" type="tns:MachineFilter" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMachineFilter" nillable="true" type="tns:ArrayOfMachineFilter" />
  <xs:complexType name="MachineFilter">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" base="q1:FilterBase">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="MachineFilter" nillable="true" type="tns:MachineFilter" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="FilterBase">
    <xs:sequence>
      <xs:element minOccurs="0" name="MatchingField" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MatchingMethod" type="tns:FilterBase.Operator" />
      <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FilterBase" nillable="true" type="tns:FilterBase" />
  <xs:simpleType name="FilterBase.Operator">
    <xs:restriction base="xs:string">
      <xs:enumeration value="Matches" />
      <xs:enumeration value="DoesNotMatch" />
      <xs:enumeration value="Contains" />
      <xs:enumeration value="GreaterOrEqualThan" />
      <xs:enumeration value="LesserOrEqualThan" />
      <xs:enumeration value="GreaterThan" />
      <xs:enumeration value="LesserThan" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="FilterBase.Operator" nillable="true" type="tns:FilterBase.Operator" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Machines.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" />
  <xs:import namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:import namespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" />
  <xs:complexType name="ArrayOfMachine">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Machine" nillable="true" type="tns:Machine" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMachine" nillable="true" type="tns:ArrayOfMachine" />
  <xs:complexType name="Machine">
    <xs:sequence>
      <xs:element minOccurs="0" name="AccumulatedConsumablesFeeTotal" type="xs:decimal" />
      <xs:element minOccurs="0" name="AccumulatedContractFeeTotal" type="xs:decimal" />
      <xs:element minOccurs="0" name="AccumulatedServiceFeeTotal" type="xs:decimal" />
      <xs:element minOccurs="0" name="ActiveServiceOrders" nillable="true" xmlns:q1="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" type="q1:ArrayOfServiceOrder" />
      <xs:element minOccurs="0" name="City" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ConsumableHistory" nillable="true" type="tns:ArrayOfConsumablesLog" />
      <xs:element minOccurs="0" name="ContractNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EconomicReference" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Fax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="HasServiceContract" type="xs:boolean" />
      <xs:element minOccurs="0" name="Id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="InstallationDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="InstalledAt" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Location" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ModelId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ModelName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PurchaserReference" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SearchWord" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ServiceHistory" nillable="true" type="tns:ArrayOfServiceLog" />
      <xs:element minOccurs="0" name="ServiceMonths" nillable="true" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q2:ArrayOfint" />
      <xs:element minOccurs="0" name="Street" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TechnicalReference" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="UpcomingServiceOccasions" nillable="true" xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" type="q3:ArrayOfdateTime" />
      <xs:element minOccurs="0" name="Zip" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Machine" nillable="true" type="tns:Machine" />
  <xs:complexType name="ArrayOfConsumablesLog">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ConsumablesLog" nillable="true" type="tns:ConsumablesLog" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfConsumablesLog" nillable="true" type="tns:ArrayOfConsumablesLog" />
  <xs:complexType name="ConsumablesLog">
    <xs:sequence>
      <xs:element minOccurs="0" name="DeliveredAt" type="xs:dateTime" />
      <xs:element minOccurs="0" name="OrderId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrderRows" nillable="true" xmlns:q4="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" type="q4:ArrayOfOrderRow" />
      <xs:element minOccurs="0" name="OrderedAt" type="xs:dateTime" />
      <xs:element minOccurs="0" name="OrderedBy" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ConsumablesLog" nillable="true" type="tns:ConsumablesLog" />
  <xs:complexType name="ArrayOfServiceLog">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ServiceLog" nillable="true" type="tns:ServiceLog" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfServiceLog" nillable="true" type="tns:ArrayOfServiceLog" />
  <xs:complexType name="ServiceLog">
    <xs:sequence>
      <xs:element minOccurs="0" name="CalledInAt" type="xs:dateTime" />
      <xs:element minOccurs="0" name="CalledInBy" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrderId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrderRows" nillable="true" xmlns:q5="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" type="q5:ArrayOfOrderRow" />
      <xs:element minOccurs="0" name="ReferenceLabel" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReportedProblem" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="SolutionDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TechnicianArrivedAt" type="xs:dateTime" />
      <xs:element minOccurs="0" name="TechnicianId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TechnicianName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalWorkTime" type="xs:decimal" />
      <xs:element minOccurs="0" name="WorkFinishedAt" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServiceLog" nillable="true" type="tns:ServiceLog" />
</xs:schema>

Additional response Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.ServiceOrders.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfServiceOrder">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="ServiceOrder" nillable="true" type="tns:ServiceOrder" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfServiceOrder" nillable="true" type="tns:ArrayOfServiceOrder" />
  <xs:complexType name="ServiceOrder">
    <xs:sequence>
      <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="EmailCopyReceiver" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="MachineId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererFax" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererMobilePhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OrdererPhone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="OutOfOrder" type="xs:boolean" />
      <xs:element minOccurs="0" name="OwnOrderId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProblemCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ProblemDescription" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ReferenceLabel" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ServiceOrder" nillable="true" type="tns:ServiceOrder" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfOrderRow">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="OrderRow" nillable="true" type="tns:OrderRow" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfOrderRow" nillable="true" type="tns:ArrayOfOrderRow" />
  <xs:complexType name="OrderRow">
    <xs:sequence>
      <xs:element minOccurs="0" name="Cost" type="xs:decimal" />
      <xs:element minOccurs="0" name="DiscountPercent" type="xs:decimal" />
      <xs:element minOccurs="0" name="IncludedOnInvoice" type="xs:boolean" />
      <xs:element minOccurs="0" name="ItemId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ItemName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Price" type="xs:decimal" />
      <xs:element minOccurs="0" name="Quantity" type="xs:decimal" />
      <xs:element minOccurs="0" name="SalesUnitId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="TotalCost" type="xs:decimal" />
      <xs:element minOccurs="0" name="TotalPrice" type="xs:decimal" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="OrderRow" nillable="true" type="tns:OrderRow" />
</xs:schema>
<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/Arrays" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfint">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="int" type="xs:int" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfint" nillable="true" type="tns:ArrayOfint" />
  <xs:complexType name="ArrayOfdateTime">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="dateTime" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfdateTime" nillable="true" type="tns:ArrayOfdateTime" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

NextDeliveryDate

Get the closest upcoming delivery date for customer orders. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /NextDeliveryDate?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example
Response Json Example

The following is an example response Xml body:

<dateTime xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1999-05-31T11:20:00</dateTime>

The following is an example response Json body:

"\/Date(928142400000+0200)\/"

SetContact

Inserts or updates a WinServ contact. Insert will occur if the passed e-mail address of the contact can't be found in WinServ, otherwise an update will occur. If an error occurs the service will respond with http status code 422. Error details will be found in the 'X-Status' response header.

Url: /SetContact?token={TOKEN}

HTTP Method: POST

Message direction Format Body
Request Xml Example,Schema
Request Json Example
Response Xml Example
Response Json Example

The following is an example request Xml body:

<Contact xmlns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Contacts.Containers">
  <BillingCity>String content</BillingCity>
  <BillingStreet>String content</BillingStreet>
  <BillingZip>String content</BillingZip>
  <CustomerId>String content</CustomerId>
  <Email>String content</Email>
  <Mobile>String content</Mobile>
  <Name>String content</Name>
  <Password>String content</Password>
  <Phone>String content</Phone>
  <ShippingCity>String content</ShippingCity>
  <ShippingStreet>String content</ShippingStreet>
  <ShippingZip>String content</ShippingZip>
</Contact>

The following is an example request Json body:

{
    "BillingCity":"String content",
    "BillingStreet":"String content",
    "BillingZip":"String content",
    "CustomerId":"String content",
    "Email":"String content",
    "Mobile":"String content",
    "Name":"String content",
    "Password":"String content",
    "Phone":"String content",
    "ShippingCity":"String content",
    "ShippingStreet":"String content",
    "ShippingZip":"String content"
}

The following is an example response Xml body:

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>

The following is an example response Json body:

"String content"

The following is the request Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Contacts.Containers" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/WinServ___System_Integration_Web_Service.Webshop.Contacts.Containers" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="Contact">
    <xs:sequence>
      <xs:element minOccurs="0" name="BillingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="BillingZip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="CustomerId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Mobile" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Password" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingCity" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingStreet" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ShippingZip" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="Contact" nillable="true" type="tns:Contact" />
</xs:schema>

Additional request Xml Schemas:

<xs:schema xmlns:tns="http://schemas.microsoft.com/2003/10/Serialization/" attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://schemas.microsoft.com/2003/10/Serialization/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="anyType" nillable="true" type="xs:anyType" />
  <xs:element name="anyURI" nillable="true" type="xs:anyURI" />
  <xs:element name="base64Binary" nillable="true" type="xs:base64Binary" />
  <xs:element name="boolean" nillable="true" type="xs:boolean" />
  <xs:element name="byte" nillable="true" type="xs:byte" />
  <xs:element name="dateTime" nillable="true" type="xs:dateTime" />
  <xs:element name="decimal" nillable="true" type="xs:decimal" />
  <xs:element name="double" nillable="true" type="xs:double" />
  <xs:element name="float" nillable="true" type="xs:float" />
  <xs:element name="int" nillable="true" type="xs:int" />
  <xs:element name="long" nillable="true" type="xs:long" />
  <xs:element name="QName" nillable="true" type="xs:QName" />
  <xs:element name="short" nillable="true" type="xs:short" />
  <xs:element name="string" nillable="true" type="xs:string" />
  <xs:element name="unsignedByte" nillable="true" type="xs:unsignedByte" />
  <xs:element name="unsignedInt" nillable="true" type="xs:unsignedInt" />
  <xs:element name="unsignedLong" nillable="true" type="xs:unsignedLong" />
  <xs:element name="unsignedShort" nillable="true" type="xs:unsignedShort" />
  <xs:element name="char" nillable="true" type="tns:char" />
  <xs:simpleType name="char">
    <xs:restriction base="xs:int" />
  </xs:simpleType>
  <xs:element name="duration" nillable="true" type="tns:duration" />
  <xs:simpleType name="duration">
    <xs:restriction base="xs:duration">
      <xs:pattern value="\-?P(\d*D)?(T(\d*H)?(\d*M)?(\d*(\.\d*)?S)?)?" />
      <xs:minInclusive value="-P10675199DT2H48M5.4775808S" />
      <xs:maxInclusive value="P10675199DT2H48M5.4775807S" />
    </xs:restriction>
  </xs:simpleType>
  <xs:element name="guid" nillable="true" type="tns:guid" />
  <xs:simpleType name="guid">
    <xs:restriction base="xs:string">
      <xs:pattern value="[\da-fA-F]{8}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{4}-[\da-fA-F]{12}" />
    </xs:restriction>
  </xs:simpleType>
  <xs:attribute name="FactoryType" type="xs:QName" />
  <xs:attribute name="Id" type="xs:ID" />
  <xs:attribute name="Ref" type="xs:IDREF" />
</xs:schema>
<xs:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="schema">
    <xs:complexType />
  </xs:element>
</xs:schema>

TestDatabase

A testing method that attempts to access the database.

Url: /TestDatabase

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example
Response Json Example

The following is an example response Xml body:

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>

The following is an example response Json body:

"String content"

TestService

A testing method that doesn't access the database.

Url: /TestService

HTTP Method: GET

Message direction Format Body
Request N/A The Request body is empty.
Response Xml Example
Response Json Example

The following is an example response Xml body:

<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">String content</string>

The following is an example response Json body:

"String content"
CONTACT INFORMATION

Asolvi AS Sluppenveien 25
N-7037 Trondheim
+47 73 80 22 00
Support
FOLLOW US

© Asolvi AS 2018