POST BuyOrderDeliveries/CreateBuyOrderDelivery

Maak of bewerk inkooplevering

Request Information

URI Parameters

None.

Body Parameters

BuyOrderDeliveryCreate
NameDescriptionTypeAdditional information
ProcessMutationButDoNotCreatePickbon

boolean

None.

BuyOrderDeliveryId

integer

None.

SupplierId

integer

None.

BuyOrderId

integer

None.

Remarks

string

None.

Description

string

None.

BranchId

integer

None.

Rows

Collection of BuyOrderDeliveryRow

Required

Status

BuyOrderDeliveryStatus

None.

PickingListNumber

string

None.

OrderId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ProcessMutationButDoNotCreatePickbon": true,
  "BuyOrderDeliveryId": 1,
  "SupplierId": 2,
  "BuyOrderId": 1,
  "Remarks": "sample string 3",
  "Description": "sample string 4",
  "BranchId": 1,
  "Rows": [
    {
      "BuyOrderRowId": 1,
      "BuyPrice": 1.0,
      "DebtorName": "sample string 1",
      "OrderId": 1,
      "ProductId": 2,
      "Qty_Delivered": 3.0,
      "Remarks": "sample string 4",
      "StockLocationId": 1,
      "AmountOfLabelsToPrint": 5
    },
    {
      "BuyOrderRowId": 1,
      "BuyPrice": 1.0,
      "DebtorName": "sample string 1",
      "OrderId": 1,
      "ProductId": 2,
      "Qty_Delivered": 3.0,
      "Remarks": "sample string 4",
      "StockLocationId": 1,
      "AmountOfLabelsToPrint": 5
    }
  ],
  "Status": "BusyWithInput",
  "PickingListNumber": "sample string 5",
  "OrderId": 1
}

application/xml, text/xml

Sample:
<BuyOrderDeliveryCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
  <BranchId>1</BranchId>
  <BuyOrderDeliveryId>1</BuyOrderDeliveryId>
  <BuyOrderId>1</BuyOrderId>
  <Description>sample string 4</Description>
  <OrderId>1</OrderId>
  <PickingListNumber>sample string 5</PickingListNumber>
  <Remarks>sample string 3</Remarks>
  <Rows>
    <BuyOrderDeliveryRow>
      <AmountOfLabelsToPrint>5</AmountOfLabelsToPrint>
      <BuyOrderRowId>1</BuyOrderRowId>
      <BuyPrice>1</BuyPrice>
      <DebtorName>sample string 1</DebtorName>
      <OrderId>1</OrderId>
      <ProductId>2</ProductId>
      <Qty_Delivered>3</Qty_Delivered>
      <Remarks>sample string 4</Remarks>
      <StockLocationId>1</StockLocationId>
    </BuyOrderDeliveryRow>
    <BuyOrderDeliveryRow>
      <AmountOfLabelsToPrint>5</AmountOfLabelsToPrint>
      <BuyOrderRowId>1</BuyOrderRowId>
      <BuyPrice>1</BuyPrice>
      <DebtorName>sample string 1</DebtorName>
      <OrderId>1</OrderId>
      <ProductId>2</ProductId>
      <Qty_Delivered>3</Qty_Delivered>
      <Remarks>sample string 4</Remarks>
      <StockLocationId>1</StockLocationId>
    </BuyOrderDeliveryRow>
  </Rows>
  <Status>BusyWithInput</Status>
  <SupplierId>2</SupplierId>
  <ProcessMutationButDoNotCreatePickbon>true</ProcessMutationButDoNotCreatePickbon>
</BuyOrderDeliveryCreate>

Response Information

Resource Description

Logic4ResponseOfString
NameDescriptionTypeAdditional information
Value

string

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

Sample:
{
  "Value": "sample string 1",
  "ValidationMessages": [
    "sample string 1",
    "sample string 2"
  ]
}

application/xml, text/xml

Sample:
<Logic4ResponseOfstring 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>
  <Value>sample string 1</Value>
</Logic4ResponseOfstring>