Reference for http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/OrderService/{KEY}/GetByCustomerNumber/{CUSTOMERNUMBER}

Get a list of orders by customer number.

Url: http://4221117.shop53.dandomain.dk/admin/WEBAPI/Endpoints/v1_0/OrderService/{KEY}/GetByCustomerNumber/{CUSTOMERNUMBER}

HTTP Method: GET

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

The following is an example response Xml body:

<ArrayOforder xmlns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Order">
  <order>
    <comment>String content</comment>
    <createdDate>1999-05-31T11:20:00</createdDate>
    <creditNoteNumber>2147483647</creditNoteNumber>
    <currencyCode>String content</currencyCode>
    <customerComment>String content</customerComment>
    <customerInfo>
      <address>String content</address>
      <address2>String content</address2>
      <attention>String content</attention>
      <city>String content</city>
      <country>String content</country>
      <countryId>2147483647</countryId>
      <ean>String content</ean>
      <email>String content</email>
      <fax>String content</fax>
      <id>String content</id>
      <name>String content</name>
      <phone>String content</phone>
      <state>String content</state>
      <zipCode>String content</zipCode>
    </customerInfo>
    <deliveryInfo>
      <address>String content</address>
      <address2>String content</address2>
      <attention>String content</attention>
      <city>String content</city>
      <country>String content</country>
      <countryId>2147483647</countryId>
      <cvr>String content</cvr>
      <ean>String content</ean>
      <email>String content</email>
      <fax>String content</fax>
      <name>String content</name>
      <phone>String content</phone>
      <state>String content</state>
      <zipCode>String content</zipCode>
    </deliveryInfo>
    <giftCertificateAmount>12678967.543233</giftCertificateAmount>
    <giftCertificateNumber>String content</giftCertificateNumber>
    <id>2147483647</id>
    <incomplete>true</incomplete>
    <invoiceInfo>
      <creditNoteNumber>2147483647</creditNoteNumber>
      <date>1999-05-31T11:20:00</date>
      <isPaid>true</isPaid>
      <number>2147483647</number>
      <state>String content</state>
    </invoiceInfo>
    <ip>String content</ip>
    <modified>true</modified>
    <modifiedDate>1999-05-31T11:20:00</modifiedDate>
    <orderLines>
      <orderLine>
        <fileUrl>String content</fileUrl>
        <id>2147483647</id>
        <productId>String content</productId>
        <productName>String content</productName>
        <quantity>2147483647</quantity>
        <totalPrice>12678967.543233</totalPrice>
        <unitPrice>12678967.543233</unitPrice>
        <variant>String content</variant>
        <vatPct>String content</vatPct>
        <xmlParams>String content</xmlParams>
      </orderLine>
      <orderLine>
        <fileUrl>String content</fileUrl>
        <id>2147483647</id>
        <productId>String content</productId>
        <productName>String content</productName>
        <quantity>2147483647</quantity>
        <totalPrice>12678967.543233</totalPrice>
        <unitPrice>12678967.543233</unitPrice>
        <variant>String content</variant>
        <vatPct>String content</vatPct>
        <xmlParams>String content</xmlParams>
      </orderLine>
    </orderLines>
    <orderState>
      <exclStatistics>true</exclStatistics>
      <id>2147483647</id>
      <isDefault>true</isDefault>
      <name>String content</name>
    </orderState>
    <paymentInfo>
      <fee>1.26743237E+15</fee>
      <feeInclVat>true</feeInclVat>
      <id>2147483647</id>
      <name>String content</name>
    </paymentInfo>
    <referenceNumber>String content</referenceNumber>
    <referrer>String content</referrer>
    <reservedField1>String content</reservedField1>
    <reservedField2>String content</reservedField2>
    <reservedField3>String content</reservedField3>
    <reservedField4>String content</reservedField4>
    <reservedField5>String content</reservedField5>
    <salesDiscount>1.26743237E+15</salesDiscount>
    <shippingInfo>
      <fee>1.26743237E+15</fee>
      <feeInclVat>true</feeInclVat>
      <id>2147483647</id>
      <name>String content</name>
    </shippingInfo>
    <siteId>2147483647</siteId>
    <totalPrice>12678967.543233</totalPrice>
    <totalWeight>12678967.543233</totalWeight>
    <trackingNumber>String content</trackingNumber>
    <transactionNumber>String content</transactionNumber>
    <vatPct>String content</vatPct>
    <vatRegNumber>String content</vatRegNumber>
    <xmlParams>String content</xmlParams>
  </order>
  <order>
    <comment>String content</comment>
    <createdDate>1999-05-31T11:20:00</createdDate>
    <creditNoteNumber>2147483647</creditNoteNumber>
    <currencyCode>String content</currencyCode>
    <customerComment>String content</customerComment>
    <customerInfo>
      <address>String content</address>
      <address2>String content</address2>
      <attention>String content</attention>
      <city>String content</city>
      <country>String content</country>
      <countryId>2147483647</countryId>
      <ean>String content</ean>
      <email>String content</email>
      <fax>String content</fax>
      <id>String content</id>
      <name>String content</name>
      <phone>String content</phone>
      <state>String content</state>
      <zipCode>String content</zipCode>
    </customerInfo>
    <deliveryInfo>
      <address>String content</address>
      <address2>String content</address2>
      <attention>String content</attention>
      <city>String content</city>
      <country>String content</country>
      <countryId>2147483647</countryId>
      <cvr>String content</cvr>
      <ean>String content</ean>
      <email>String content</email>
      <fax>String content</fax>
      <name>String content</name>
      <phone>String content</phone>
      <state>String content</state>
      <zipCode>String content</zipCode>
    </deliveryInfo>
    <giftCertificateAmount>12678967.543233</giftCertificateAmount>
    <giftCertificateNumber>String content</giftCertificateNumber>
    <id>2147483647</id>
    <incomplete>true</incomplete>
    <invoiceInfo>
      <creditNoteNumber>2147483647</creditNoteNumber>
      <date>1999-05-31T11:20:00</date>
      <isPaid>true</isPaid>
      <number>2147483647</number>
      <state>String content</state>
    </invoiceInfo>
    <ip>String content</ip>
    <modified>true</modified>
    <modifiedDate>1999-05-31T11:20:00</modifiedDate>
    <orderLines>
      <orderLine>
        <fileUrl>String content</fileUrl>
        <id>2147483647</id>
        <productId>String content</productId>
        <productName>String content</productName>
        <quantity>2147483647</quantity>
        <totalPrice>12678967.543233</totalPrice>
        <unitPrice>12678967.543233</unitPrice>
        <variant>String content</variant>
        <vatPct>String content</vatPct>
        <xmlParams>String content</xmlParams>
      </orderLine>
      <orderLine>
        <fileUrl>String content</fileUrl>
        <id>2147483647</id>
        <productId>String content</productId>
        <productName>String content</productName>
        <quantity>2147483647</quantity>
        <totalPrice>12678967.543233</totalPrice>
        <unitPrice>12678967.543233</unitPrice>
        <variant>String content</variant>
        <vatPct>String content</vatPct>
        <xmlParams>String content</xmlParams>
      </orderLine>
    </orderLines>
    <orderState>
      <exclStatistics>true</exclStatistics>
      <id>2147483647</id>
      <isDefault>true</isDefault>
      <name>String content</name>
    </orderState>
    <paymentInfo>
      <fee>1.26743237E+15</fee>
      <feeInclVat>true</feeInclVat>
      <id>2147483647</id>
      <name>String content</name>
    </paymentInfo>
    <referenceNumber>String content</referenceNumber>
    <referrer>String content</referrer>
    <reservedField1>String content</reservedField1>
    <reservedField2>String content</reservedField2>
    <reservedField3>String content</reservedField3>
    <reservedField4>String content</reservedField4>
    <reservedField5>String content</reservedField5>
    <salesDiscount>1.26743237E+15</salesDiscount>
    <shippingInfo>
      <fee>1.26743237E+15</fee>
      <feeInclVat>true</feeInclVat>
      <id>2147483647</id>
      <name>String content</name>
    </shippingInfo>
    <siteId>2147483647</siteId>
    <totalPrice>12678967.543233</totalPrice>
    <totalWeight>12678967.543233</totalWeight>
    <trackingNumber>String content</trackingNumber>
    <transactionNumber>String content</transactionNumber>
    <vatPct>String content</vatPct>
    <vatRegNumber>String content</vatRegNumber>
    <xmlParams>String content</xmlParams>
  </order>
</ArrayOforder>

The following is an example response Json body:

[{
	"comment":"String content",
	"createdDate":"\/Date(928142400000+0200)\/",
	"creditNoteNumber":2147483647,
	"currencyCode":"String content",
	"customerComment":"String content",
	"customerInfo":{
		"address":"String content",
		"address2":"String content",
		"attention":"String content",
		"city":"String content",
		"country":"String content",
		"countryId":2147483647,
		"ean":"String content",
		"email":"String content",
		"fax":"String content",
		"id":"String content",
		"name":"String content",
		"phone":"String content",
		"state":"String content",
		"zipCode":"String content"
	},
	"deliveryInfo":{
		"address":"String content",
		"address2":"String content",
		"attention":"String content",
		"city":"String content",
		"country":"String content",
		"countryId":2147483647,
		"cvr":"String content",
		"ean":"String content",
		"email":"String content",
		"fax":"String content",
		"name":"String content",
		"phone":"String content",
		"state":"String content",
		"zipCode":"String content"
	},
	"giftCertificateAmount":12678967.543233,
	"giftCertificateNumber":"String content",
	"id":2147483647,
	"incomplete":true,
	"invoiceInfo":{
		"creditNoteNumber":2147483647,
		"date":"\/Date(928142400000+0200)\/",
		"isPaid":true,
		"number":2147483647,
		"state":"String content"
	},
	"ip":"String content",
	"modified":true,
	"modifiedDate":"\/Date(928142400000+0200)\/",
	"orderLines":[{
		"fileUrl":"String content",
		"id":2147483647,
		"productId":"String content",
		"productName":"String content",
		"quantity":2147483647,
		"totalPrice":12678967.543233,
		"unitPrice":12678967.543233,
		"variant":"String content",
		"vatPct":"String content",
		"xmlParams":"String content"
	}],
	"orderState":{
		"exclStatistics":true,
		"id":2147483647,
		"isDefault":true,
		"name":"String content"
	},
	"paymentInfo":{
		"fee":1.26743237E+15,
		"feeInclVat":true,
		"id":2147483647,
		"name":"String content"
	},
	"referenceNumber":"String content",
	"referrer":"String content",
	"reservedField1":"String content",
	"reservedField2":"String content",
	"reservedField3":"String content",
	"reservedField4":"String content",
	"reservedField5":"String content",
	"salesDiscount":1.26743237E+15,
	"shippingInfo":{
		"fee":1.26743237E+15,
		"feeInclVat":true,
		"id":2147483647,
		"name":"String content"
	},
	"siteId":2147483647,
	"totalPrice":12678967.543233,
	"totalWeight":12678967.543233,
	"trackingNumber":"String content",
	"transactionNumber":"String content",
	"vatPct":"String content",
	"vatRegNumber":"String content",
	"xmlParams":"String content"
}]

The following is the response Xml Schema:

<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Order" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/Shared.DTO.v1_0.Order" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOforder">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="order" nillable="true" type="tns:order" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOforder" nillable="true" type="tns:ArrayOforder" />
  <xs:complexType name="order">
    <xs:sequence>
      <xs:element minOccurs="0" name="comment" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="createdDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="creditNoteNumber" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="currencyCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="customerComment" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="customerInfo" nillable="true" type="tns:customerInfo" />
      <xs:element minOccurs="0" name="deliveryInfo" nillable="true" type="tns:deliveryInfo" />
      <xs:element minOccurs="0" name="giftCertificateAmount" type="xs:decimal" />
      <xs:element minOccurs="0" name="giftCertificateNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="incomplete" type="xs:boolean" />
      <xs:element minOccurs="0" name="invoiceInfo" nillable="true" type="tns:invoice" />
      <xs:element minOccurs="0" name="ip" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="modified" type="xs:boolean" />
      <xs:element minOccurs="0" name="modifiedDate" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="orderLines" nillable="true" type="tns:ArrayOforderLine" />
      <xs:element minOccurs="0" name="orderState" nillable="true" type="tns:orderState" />
      <xs:element minOccurs="0" name="paymentInfo" nillable="true" type="tns:payInfo" />
      <xs:element minOccurs="0" name="referenceNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="referrer" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reservedField1" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reservedField2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reservedField3" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reservedField4" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="reservedField5" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="salesDiscount" type="xs:float" />
      <xs:element minOccurs="0" name="shippingInfo" nillable="true" type="tns:shippingInfo" />
      <xs:element minOccurs="0" name="siteId" type="xs:int" />
      <xs:element minOccurs="0" name="totalPrice" type="xs:decimal" />
      <xs:element minOccurs="0" name="totalWeight" type="xs:decimal" />
      <xs:element minOccurs="0" name="trackingNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="transactionNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="vatPct" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="vatRegNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="xmlParams" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="order" nillable="true" type="tns:order" />
  <xs:complexType name="customerInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="address2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="attention" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="city" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="countryId" type="xs:int" />
      <xs:element minOccurs="0" name="ean" 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="id" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="phone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="state" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="zipCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="customerInfo" nillable="true" type="tns:customerInfo" />
  <xs:complexType name="deliveryInfo">
    <xs:sequence>
      <xs:element name="address" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="address2" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="attention" nillable="true" type="xs:string" />
      <xs:element name="city" nillable="true" type="xs:string" />
      <xs:element name="country" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="countryId" type="xs:int" />
      <xs:element minOccurs="0" name="cvr" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ean" 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 name="name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="phone" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="state" nillable="true" type="xs:string" />
      <xs:element name="zipCode" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="deliveryInfo" nillable="true" type="tns:deliveryInfo" />
  <xs:complexType name="invoice">
    <xs:sequence>
      <xs:element minOccurs="0" name="creditNoteNumber" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="date" nillable="true" type="xs:dateTime" />
      <xs:element minOccurs="0" name="isPaid" type="xs:boolean" />
      <xs:element minOccurs="0" name="number" nillable="true" type="xs:int" />
      <xs:element minOccurs="0" name="state" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="invoice" nillable="true" type="tns:invoice" />
  <xs:complexType name="ArrayOforderLine">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="orderLine" nillable="true" type="tns:orderLine" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOforderLine" nillable="true" type="tns:ArrayOforderLine" />
  <xs:complexType name="orderLine">
    <xs:sequence>
      <xs:element minOccurs="0" name="fileUrl" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="productId" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="productName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="quantity" type="xs:int" />
      <xs:element minOccurs="0" name="totalPrice" type="xs:decimal" />
      <xs:element minOccurs="0" name="unitPrice" type="xs:decimal" />
      <xs:element minOccurs="0" name="variant" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="vatPct" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="xmlParams" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="orderLine" nillable="true" type="tns:orderLine" />
  <xs:complexType name="orderState">
    <xs:sequence>
      <xs:element minOccurs="0" name="exclStatistics" type="xs:boolean" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="isDefault" type="xs:boolean" />
      <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="orderState" nillable="true" type="tns:orderState" />
  <xs:complexType name="payInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="fee" type="xs:float" />
      <xs:element minOccurs="0" name="feeInclVat" type="xs:boolean" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="payInfo" nillable="true" type="tns:payInfo" />
  <xs:complexType name="shippingInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="fee" type="xs:float" />
      <xs:element minOccurs="0" name="feeInclVat" type="xs:boolean" />
      <xs:element minOccurs="0" name="id" type="xs:int" />
      <xs:element minOccurs="0" name="name" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="shippingInfo" nillable="true" type="tns:shippingInfo" />
</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>

<tns:schema targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://www.w3.org/2001/XMLSchema">
  <tns:element name="schema">
    <tns:complexType />
  </tns:element>
</tns:schema>