POST BuyOrders/GetBuyOrders

Maak of bewerk inkooplevering

Request Information

URI Parameters

None.

Body Parameters

BuyOrderFilter
NameDescriptionTypeAdditional information
BranchId

Filiaalnummer

integer

None.

BuyOrderIsClosed

Gesloten inkooporders

boolean

None.

SupplierId

Leveranciersnummer

integer

None.

BuyOrderId

Inkoopordernummer

integer

None.

Remarks

Opmerkingsveld bevat de meegestuure tekst

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BranchId": 1,
  "BuyOrderIsClosed": true,
  "SupplierId": 1,
  "BuyOrderId": 1,
  "Remarks": "sample string 1"
}

application/xml, text/xml

Sample:
<BuyOrderFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Filters">
  <BranchId>1</BranchId>
  <BuyOrderId>1</BuyOrderId>
  <BuyOrderIsClosed>true</BuyOrderIsClosed>
  <Remarks>sample string 1</Remarks>
  <SupplierId>1</SupplierId>
</BuyOrderFilter>

Response Information

Resource Description

Logic4ResponseListOfBuyOrderBaseInfo
NameDescriptionTypeAdditional information
Records

Collection of BuyOrderBaseInfo

None.

RecordsCounter

integer

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Records": [
    {
      "AmountOfRows": 1,
      "BranchId": 1,
      "BuyOrderClosed": true,
      "CreatedAt": "2020-07-07T01:15:40.1293469+02:00",
      "CreditorCompanyName": "sample string 4",
      "CreditorId": 5,
      "DatabaseAdministrationId": 6,
      "Id": 7,
      "OrderId": 1,
      "Remarks": "sample string 8"
    },
    {
      "AmountOfRows": 1,
      "BranchId": 1,
      "BuyOrderClosed": true,
      "CreatedAt": "2020-07-07T01:15:40.1293469+02:00",
      "CreditorCompanyName": "sample string 4",
      "CreditorId": 5,
      "DatabaseAdministrationId": 6,
      "Id": 7,
      "OrderId": 1,
      "Remarks": "sample string 8"
    }
  ],
  "RecordsCounter": 2,
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseListOfBuyOrderBaseInfoLnN1pw8Y 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:BuyOrderBaseInfo>
      <d2p1:AmountOfRows>1</d2p1:AmountOfRows>
      <d2p1:BranchId>1</d2p1:BranchId>
      <d2p1:BuyOrderClosed>true</d2p1:BuyOrderClosed>
      <d2p1:CreatedAt>2020-07-07T01:15:40.1293469+02:00</d2p1:CreatedAt>
      <d2p1:CreditorCompanyName>sample string 4</d2p1:CreditorCompanyName>
      <d2p1:CreditorId>5</d2p1:CreditorId>
      <d2p1:DatabaseAdministrationId>6</d2p1:DatabaseAdministrationId>
      <d2p1:Id>7</d2p1:Id>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:Remarks>sample string 8</d2p1:Remarks>
    </d2p1:BuyOrderBaseInfo>
    <d2p1:BuyOrderBaseInfo>
      <d2p1:AmountOfRows>1</d2p1:AmountOfRows>
      <d2p1:BranchId>1</d2p1:BranchId>
      <d2p1:BuyOrderClosed>true</d2p1:BuyOrderClosed>
      <d2p1:CreatedAt>2020-07-07T01:15:40.1293469+02:00</d2p1:CreatedAt>
      <d2p1:CreditorCompanyName>sample string 4</d2p1:CreditorCompanyName>
      <d2p1:CreditorId>5</d2p1:CreditorId>
      <d2p1:DatabaseAdministrationId>6</d2p1:DatabaseAdministrationId>
      <d2p1:Id>7</d2p1:Id>
      <d2p1:OrderId>1</d2p1:OrderId>
      <d2p1:Remarks>sample string 8</d2p1:Remarks>
    </d2p1:BuyOrderBaseInfo>
  </Records>
</Logic4ResponseListOfBuyOrderBaseInfoLnN1pw8Y>