GET order/getallbycompany?accountnumber={accountnumber}

Gets orders by account number.

Request Information

Parameters

NameDescriptionAdditional information
accountNumber
The account number.

Define this parameter in the request URI.

Response Information

Response body formats

application/json, text/json

Sample:
[
  {
    "DeliveryAddressName": "sample string 1",
    "DeliveryAddress1": "sample string 2",
    "DeliveryAddress2": "sample string 3",
    "DeliveryAddress3": "sample string 4",
    "DeliveryCity": "sample string 5",
    "DeliveryCounty": "sample string 6",
    "DeliveryPostcode": "sample string 7",
    "DeliveryPhone": "sample string 8",
    "DeliveryDate": "2024-11-21T11:22:36.6000678+00:00",
    "CostCentreName": "sample string 9",
    "BillingAddressName": "sample string 10",
    "BillingAddress1": "sample string 11",
    "BillingAddress2": "sample string 12",
    "BillingAddress3": "sample string 13",
    "BillingCity": "sample string 14",
    "BillingCounty": "sample string 15",
    "BillingPostcode": "sample string 16",
    "BillingPhone": "sample string 17",
    "BillingFax": "sample string 18",
    "CompanyName": "sample string 19",
    "Email": "sample string 20",
    "PSPOrder": true,
    "PspOrderReference": "sample string 22",
    "CustomOrderReference": "sample string 23",
    "ContactName": "sample string 24",
    "SubTotal": 25.0,
    "Discounts": 1.0,
    "DeliveryPrice": 1.0,
    "VAT": 26.0,
    "GrandTotal": 27.0,
    "SystemReference": "sample string 28",
    "DateAdded": "2024-11-21T11:22:36.6000678+00:00",
    "AccountNumber": "sample string 30",
    "SettlementIssuer": "sample string 31",
    "OrderMessage": "sample string 32",
    "ProductLines": [
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      }
    ],
    "BackOfficeProcessed": true,
    "BackOfficeProcessedDate": "2024-11-21T11:22:36.6000678+00:00",
    "BackOfficeOrderStatusId": 34
  },
  {
    "DeliveryAddressName": "sample string 1",
    "DeliveryAddress1": "sample string 2",
    "DeliveryAddress2": "sample string 3",
    "DeliveryAddress3": "sample string 4",
    "DeliveryCity": "sample string 5",
    "DeliveryCounty": "sample string 6",
    "DeliveryPostcode": "sample string 7",
    "DeliveryPhone": "sample string 8",
    "DeliveryDate": "2024-11-21T11:22:36.6000678+00:00",
    "CostCentreName": "sample string 9",
    "BillingAddressName": "sample string 10",
    "BillingAddress1": "sample string 11",
    "BillingAddress2": "sample string 12",
    "BillingAddress3": "sample string 13",
    "BillingCity": "sample string 14",
    "BillingCounty": "sample string 15",
    "BillingPostcode": "sample string 16",
    "BillingPhone": "sample string 17",
    "BillingFax": "sample string 18",
    "CompanyName": "sample string 19",
    "Email": "sample string 20",
    "PSPOrder": true,
    "PspOrderReference": "sample string 22",
    "CustomOrderReference": "sample string 23",
    "ContactName": "sample string 24",
    "SubTotal": 25.0,
    "Discounts": 1.0,
    "DeliveryPrice": 1.0,
    "VAT": 26.0,
    "GrandTotal": 27.0,
    "SystemReference": "sample string 28",
    "DateAdded": "2024-11-21T11:22:36.6000678+00:00",
    "AccountNumber": "sample string 30",
    "SettlementIssuer": "sample string 31",
    "OrderMessage": "sample string 32",
    "ProductLines": [
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      }
    ],
    "BackOfficeProcessed": true,
    "BackOfficeProcessedDate": "2024-11-21T11:22:36.6000678+00:00",
    "BackOfficeOrderStatusId": 34
  },
  {
    "DeliveryAddressName": "sample string 1",
    "DeliveryAddress1": "sample string 2",
    "DeliveryAddress2": "sample string 3",
    "DeliveryAddress3": "sample string 4",
    "DeliveryCity": "sample string 5",
    "DeliveryCounty": "sample string 6",
    "DeliveryPostcode": "sample string 7",
    "DeliveryPhone": "sample string 8",
    "DeliveryDate": "2024-11-21T11:22:36.6000678+00:00",
    "CostCentreName": "sample string 9",
    "BillingAddressName": "sample string 10",
    "BillingAddress1": "sample string 11",
    "BillingAddress2": "sample string 12",
    "BillingAddress3": "sample string 13",
    "BillingCity": "sample string 14",
    "BillingCounty": "sample string 15",
    "BillingPostcode": "sample string 16",
    "BillingPhone": "sample string 17",
    "BillingFax": "sample string 18",
    "CompanyName": "sample string 19",
    "Email": "sample string 20",
    "PSPOrder": true,
    "PspOrderReference": "sample string 22",
    "CustomOrderReference": "sample string 23",
    "ContactName": "sample string 24",
    "SubTotal": 25.0,
    "Discounts": 1.0,
    "DeliveryPrice": 1.0,
    "VAT": 26.0,
    "GrandTotal": 27.0,
    "SystemReference": "sample string 28",
    "DateAdded": "2024-11-21T11:22:36.6000678+00:00",
    "AccountNumber": "sample string 30",
    "SettlementIssuer": "sample string 31",
    "OrderMessage": "sample string 32",
    "ProductLines": [
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      },
      {
        "SystemReference": "sample string 1",
        "ProductCode": "sample string 2",
        "ProductName": "sample string 3",
        "Quantity": 4,
        "Total": 5.0,
        "UnitPrice": 6.0,
        "PackQuantity": 7,
        "VATRate": 8.0
      }
    ],
    "BackOfficeProcessed": true,
    "BackOfficeProcessedDate": "2024-11-21T11:22:36.6000678+00:00",
    "BackOfficeOrderStatusId": 34
  }
]

application/xml, text/xml

Sample:
<ArrayOfOrderModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webi.Api2.Models">
  <OrderModel>
    <AccountNumber>sample string 30</AccountNumber>
    <BackOfficeOrderStatusId>34</BackOfficeOrderStatusId>
    <BackOfficeProcessed>true</BackOfficeProcessed>
    <BackOfficeProcessedDate>2024-11-21T11:22:36.6000678+00:00</BackOfficeProcessedDate>
    <BillingAddress1>sample string 11</BillingAddress1>
    <BillingAddress2>sample string 12</BillingAddress2>
    <BillingAddress3>sample string 13</BillingAddress3>
    <BillingAddressName>sample string 10</BillingAddressName>
    <BillingCity>sample string 14</BillingCity>
    <BillingCounty>sample string 15</BillingCounty>
    <BillingFax>sample string 18</BillingFax>
    <BillingPhone>sample string 17</BillingPhone>
    <BillingPostcode>sample string 16</BillingPostcode>
    <CompanyName>sample string 19</CompanyName>
    <ContactName>sample string 24</ContactName>
    <CostCentreName>sample string 9</CostCentreName>
    <CustomOrderReference>sample string 23</CustomOrderReference>
    <DateAdded>2024-11-21T11:22:36.6000678+00:00</DateAdded>
    <DeliveryAddress1>sample string 2</DeliveryAddress1>
    <DeliveryAddress2>sample string 3</DeliveryAddress2>
    <DeliveryAddress3>sample string 4</DeliveryAddress3>
    <DeliveryAddressName>sample string 1</DeliveryAddressName>
    <DeliveryCity>sample string 5</DeliveryCity>
    <DeliveryCounty>sample string 6</DeliveryCounty>
    <DeliveryDate>2024-11-21T11:22:36.6000678+00:00</DeliveryDate>
    <DeliveryPhone>sample string 8</DeliveryPhone>
    <DeliveryPostcode>sample string 7</DeliveryPostcode>
    <DeliveryPrice>1</DeliveryPrice>
    <Discounts>1</Discounts>
    <Email>sample string 20</Email>
    <GrandTotal>27</GrandTotal>
    <OrderMessage>sample string 32</OrderMessage>
    <PSPOrder>true</PSPOrder>
    <ProductLines>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
    </ProductLines>
    <PspOrderReference>sample string 22</PspOrderReference>
    <SettlementIssuer>sample string 31</SettlementIssuer>
    <SubTotal>25</SubTotal>
    <SystemReference>sample string 28</SystemReference>
    <VAT>26</VAT>
  </OrderModel>
  <OrderModel>
    <AccountNumber>sample string 30</AccountNumber>
    <BackOfficeOrderStatusId>34</BackOfficeOrderStatusId>
    <BackOfficeProcessed>true</BackOfficeProcessed>
    <BackOfficeProcessedDate>2024-11-21T11:22:36.6000678+00:00</BackOfficeProcessedDate>
    <BillingAddress1>sample string 11</BillingAddress1>
    <BillingAddress2>sample string 12</BillingAddress2>
    <BillingAddress3>sample string 13</BillingAddress3>
    <BillingAddressName>sample string 10</BillingAddressName>
    <BillingCity>sample string 14</BillingCity>
    <BillingCounty>sample string 15</BillingCounty>
    <BillingFax>sample string 18</BillingFax>
    <BillingPhone>sample string 17</BillingPhone>
    <BillingPostcode>sample string 16</BillingPostcode>
    <CompanyName>sample string 19</CompanyName>
    <ContactName>sample string 24</ContactName>
    <CostCentreName>sample string 9</CostCentreName>
    <CustomOrderReference>sample string 23</CustomOrderReference>
    <DateAdded>2024-11-21T11:22:36.6000678+00:00</DateAdded>
    <DeliveryAddress1>sample string 2</DeliveryAddress1>
    <DeliveryAddress2>sample string 3</DeliveryAddress2>
    <DeliveryAddress3>sample string 4</DeliveryAddress3>
    <DeliveryAddressName>sample string 1</DeliveryAddressName>
    <DeliveryCity>sample string 5</DeliveryCity>
    <DeliveryCounty>sample string 6</DeliveryCounty>
    <DeliveryDate>2024-11-21T11:22:36.6000678+00:00</DeliveryDate>
    <DeliveryPhone>sample string 8</DeliveryPhone>
    <DeliveryPostcode>sample string 7</DeliveryPostcode>
    <DeliveryPrice>1</DeliveryPrice>
    <Discounts>1</Discounts>
    <Email>sample string 20</Email>
    <GrandTotal>27</GrandTotal>
    <OrderMessage>sample string 32</OrderMessage>
    <PSPOrder>true</PSPOrder>
    <ProductLines>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
    </ProductLines>
    <PspOrderReference>sample string 22</PspOrderReference>
    <SettlementIssuer>sample string 31</SettlementIssuer>
    <SubTotal>25</SubTotal>
    <SystemReference>sample string 28</SystemReference>
    <VAT>26</VAT>
  </OrderModel>
  <OrderModel>
    <AccountNumber>sample string 30</AccountNumber>
    <BackOfficeOrderStatusId>34</BackOfficeOrderStatusId>
    <BackOfficeProcessed>true</BackOfficeProcessed>
    <BackOfficeProcessedDate>2024-11-21T11:22:36.6000678+00:00</BackOfficeProcessedDate>
    <BillingAddress1>sample string 11</BillingAddress1>
    <BillingAddress2>sample string 12</BillingAddress2>
    <BillingAddress3>sample string 13</BillingAddress3>
    <BillingAddressName>sample string 10</BillingAddressName>
    <BillingCity>sample string 14</BillingCity>
    <BillingCounty>sample string 15</BillingCounty>
    <BillingFax>sample string 18</BillingFax>
    <BillingPhone>sample string 17</BillingPhone>
    <BillingPostcode>sample string 16</BillingPostcode>
    <CompanyName>sample string 19</CompanyName>
    <ContactName>sample string 24</ContactName>
    <CostCentreName>sample string 9</CostCentreName>
    <CustomOrderReference>sample string 23</CustomOrderReference>
    <DateAdded>2024-11-21T11:22:36.6000678+00:00</DateAdded>
    <DeliveryAddress1>sample string 2</DeliveryAddress1>
    <DeliveryAddress2>sample string 3</DeliveryAddress2>
    <DeliveryAddress3>sample string 4</DeliveryAddress3>
    <DeliveryAddressName>sample string 1</DeliveryAddressName>
    <DeliveryCity>sample string 5</DeliveryCity>
    <DeliveryCounty>sample string 6</DeliveryCounty>
    <DeliveryDate>2024-11-21T11:22:36.6000678+00:00</DeliveryDate>
    <DeliveryPhone>sample string 8</DeliveryPhone>
    <DeliveryPostcode>sample string 7</DeliveryPostcode>
    <DeliveryPrice>1</DeliveryPrice>
    <Discounts>1</Discounts>
    <Email>sample string 20</Email>
    <GrandTotal>27</GrandTotal>
    <OrderMessage>sample string 32</OrderMessage>
    <PSPOrder>true</PSPOrder>
    <ProductLines>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
      <OrderLineModel>
        <PackQuantity>7</PackQuantity>
        <ProductCode>sample string 2</ProductCode>
        <ProductName>sample string 3</ProductName>
        <Quantity>4</Quantity>
        <SystemReference>sample string 1</SystemReference>
        <Total>5</Total>
        <UnitPrice>6</UnitPrice>
        <VATRate>8</VATRate>
      </OrderLineModel>
    </ProductLines>
    <PspOrderReference>sample string 22</PspOrderReference>
    <SettlementIssuer>sample string 31</SettlementIssuer>
    <SubTotal>25</SubTotal>
    <SystemReference>sample string 28</SystemReference>
    <VAT>26</VAT>
  </OrderModel>
</ArrayOfOrderModel>