POST Orders/GetInvoiceRows

Verkrijg factuurregels o.b.v. het filter.

Request Information

URI Parameters

None.

Body Parameters

OrderFilter

OrderRowFilter
NameDescriptionTypeAdditional information
OrderId

Ordernummer

integer

None.

BrandName

Merknaam

string

None.

LoadNextDeliveryDate

Laad de volgende leveringsdatum in

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "BrandName": "sample string 1",
  "LoadNextDeliveryDate": true
}

application/xml, text/xml

Sample:
<OrderRowFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <BrandName>sample string 1</BrandName>
  <LoadNextDeliveryDate>true</LoadNextDeliveryDate>
  <OrderId>1</OrderId>
</OrderRowFilter>

Response Information

Resource Description

Logic4ResponseListOfOrderRow
NameDescriptionTypeAdditional information
Records

Collection of OrderRow

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "SerialNumbers": [
        "sample string 1",
        "sample string 2"
      ],
      "Id": 1,
      "Description": "sample string 2",
      "Description2": "sample string 3",
      "ProductId": 1,
      "Qty": 4.0,
      "BuyPrice": 5.0,
      "GrossPrice": 6.0,
      "NettPrice": 7.0,
      "DiscountPercent": 8.0,
      "QtyDeliverd": 9.0,
      "QtyDeliverd_NotInvoiced": 10.0,
      "ProductCode": "sample string 11",
      "ProductBarcode1": "sample string 12",
      "VATPercentage": 13.0,
      "Notes": "sample string 14",
      "DebtorId": 15,
      "OrderId": 16,
      "InclPrice": 1.0,
      "WarehouseId": 1,
      "Commission": "sample string 17",
      "DeliveryOptionId": 1,
      "VatCodeId": 1,
      "VatCodeIdOverrule": 1,
      "FreeValue1": "sample string 18",
      "FreeValue2": "sample string 19",
      "FreeValue3": "sample string 20",
      "FreeValue4": "sample string 21",
      "FreeValue5": "sample string 22",
      "ExpectedNextDelivery": "2020-02-23T11:07:59.2203897+01:00",
      "ExpectedNextQtyOnDelivery": 1.0,
      "ExternalValue": {
        "TypeId": 1,
        "Value": "sample string 2"
      },
      "AgreedDeliveryDate": "2020-02-23T11:07:59.2203897+01:00"
    },
    {
      "SerialNumbers": [
        "sample string 1",
        "sample string 2"
      ],
      "Id": 1,
      "Description": "sample string 2",
      "Description2": "sample string 3",
      "ProductId": 1,
      "Qty": 4.0,
      "BuyPrice": 5.0,
      "GrossPrice": 6.0,
      "NettPrice": 7.0,
      "DiscountPercent": 8.0,
      "QtyDeliverd": 9.0,
      "QtyDeliverd_NotInvoiced": 10.0,
      "ProductCode": "sample string 11",
      "ProductBarcode1": "sample string 12",
      "VATPercentage": 13.0,
      "Notes": "sample string 14",
      "DebtorId": 15,
      "OrderId": 16,
      "InclPrice": 1.0,
      "WarehouseId": 1,
      "Commission": "sample string 17",
      "DeliveryOptionId": 1,
      "VatCodeId": 1,
      "VatCodeIdOverrule": 1,
      "FreeValue1": "sample string 18",
      "FreeValue2": "sample string 19",
      "FreeValue3": "sample string 20",
      "FreeValue4": "sample string 21",
      "FreeValue5": "sample string 22",
      "ExpectedNextDelivery": "2020-02-23T11:07:59.2203897+01:00",
      "ExpectedNextQtyOnDelivery": 1.0,
      "ExternalValue": {
        "TypeId": 1,
        "Value": "sample string 2"
      },
      "AgreedDeliveryDate": "2020-02-23T11:07:59.2203897+01:00"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfOrderRowLnN1pw8Y xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.ResponseModels">
  <ValidationMessages xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ValidationMessages>
  <Records xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:OrderRow>
      <d2p1:AgreedDeliveryDate>2020-02-23T11:07:59.2203897+01:00</d2p1:AgreedDeliveryDate>
      <d2p1:BuyPrice>5</d2p1:BuyPrice>
      <d2p1:Commission>sample string 17</d2p1:Commission>
      <d2p1:DebtorId>15</d2p1:DebtorId>
      <d2p1:DeliveryOptionId>1</d2p1:DeliveryOptionId>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Description2>sample string 3</d2p1:Description2>
      <d2p1:DiscountPercent>8</d2p1:DiscountPercent>
      <d2p1:ExpectedNextDelivery>2020-02-23T11:07:59.2203897+01:00</d2p1:ExpectedNextDelivery>
      <d2p1:ExpectedNextQtyOnDelivery>1</d2p1:ExpectedNextQtyOnDelivery>
      <d2p1:ExternalValue>
        <d2p1:TypeId>1</d2p1:TypeId>
        <d2p1:Value>sample string 2</d2p1:Value>
      </d2p1:ExternalValue>
      <d2p1:FreeValue1>sample string 18</d2p1:FreeValue1>
      <d2p1:FreeValue2>sample string 19</d2p1:FreeValue2>
      <d2p1:FreeValue3>sample string 20</d2p1:FreeValue3>
      <d2p1:FreeValue4>sample string 21</d2p1:FreeValue4>
      <d2p1:FreeValue5>sample string 22</d2p1:FreeValue5>
      <d2p1:GrossPrice>6</d2p1:GrossPrice>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InclPrice>1</d2p1:InclPrice>
      <d2p1:NettPrice>7</d2p1:NettPrice>
      <d2p1:Notes>sample string 14</d2p1:Notes>
      <d2p1:OrderId>16</d2p1:OrderId>
      <d2p1:ProductBarcode1>sample string 12</d2p1:ProductBarcode1>
      <d2p1:ProductCode>sample string 11</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:Qty>4</d2p1:Qty>
      <d2p1:QtyDeliverd>9</d2p1:QtyDeliverd>
      <d2p1:QtyDeliverd_NotInvoiced>10</d2p1:QtyDeliverd_NotInvoiced>
      <d2p1:SerialNumbers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:SerialNumbers>
      <d2p1:VATPercentage>13</d2p1:VATPercentage>
      <d2p1:VatCodeId>1</d2p1:VatCodeId>
      <d2p1:VatCodeIdOverrule>1</d2p1:VatCodeIdOverrule>
      <d2p1:WarehouseId>1</d2p1:WarehouseId>
    </d2p1:OrderRow>
    <d2p1:OrderRow>
      <d2p1:AgreedDeliveryDate>2020-02-23T11:07:59.2203897+01:00</d2p1:AgreedDeliveryDate>
      <d2p1:BuyPrice>5</d2p1:BuyPrice>
      <d2p1:Commission>sample string 17</d2p1:Commission>
      <d2p1:DebtorId>15</d2p1:DebtorId>
      <d2p1:DeliveryOptionId>1</d2p1:DeliveryOptionId>
      <d2p1:Description>sample string 2</d2p1:Description>
      <d2p1:Description2>sample string 3</d2p1:Description2>
      <d2p1:DiscountPercent>8</d2p1:DiscountPercent>
      <d2p1:ExpectedNextDelivery>2020-02-23T11:07:59.2203897+01:00</d2p1:ExpectedNextDelivery>
      <d2p1:ExpectedNextQtyOnDelivery>1</d2p1:ExpectedNextQtyOnDelivery>
      <d2p1:ExternalValue>
        <d2p1:TypeId>1</d2p1:TypeId>
        <d2p1:Value>sample string 2</d2p1:Value>
      </d2p1:ExternalValue>
      <d2p1:FreeValue1>sample string 18</d2p1:FreeValue1>
      <d2p1:FreeValue2>sample string 19</d2p1:FreeValue2>
      <d2p1:FreeValue3>sample string 20</d2p1:FreeValue3>
      <d2p1:FreeValue4>sample string 21</d2p1:FreeValue4>
      <d2p1:FreeValue5>sample string 22</d2p1:FreeValue5>
      <d2p1:GrossPrice>6</d2p1:GrossPrice>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:InclPrice>1</d2p1:InclPrice>
      <d2p1:NettPrice>7</d2p1:NettPrice>
      <d2p1:Notes>sample string 14</d2p1:Notes>
      <d2p1:OrderId>16</d2p1:OrderId>
      <d2p1:ProductBarcode1>sample string 12</d2p1:ProductBarcode1>
      <d2p1:ProductCode>sample string 11</d2p1:ProductCode>
      <d2p1:ProductId>1</d2p1:ProductId>
      <d2p1:Qty>4</d2p1:Qty>
      <d2p1:QtyDeliverd>9</d2p1:QtyDeliverd>
      <d2p1:QtyDeliverd_NotInvoiced>10</d2p1:QtyDeliverd_NotInvoiced>
      <d2p1:SerialNumbers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </d2p1:SerialNumbers>
      <d2p1:VATPercentage>13</d2p1:VATPercentage>
      <d2p1:VatCodeId>1</d2p1:VatCodeId>
      <d2p1:VatCodeIdOverrule>1</d2p1:VatCodeIdOverrule>
      <d2p1:WarehouseId>1</d2p1:WarehouseId>
    </d2p1:OrderRow>
  </Records>
</Logic4ResponseListOfOrderRowLnN1pw8Y>