POST BuyOrderDeliveries/CreateBuyOrderDeliveryAndOrderMovement

Maak een inkooplevering + uitlevering aan.

Request Information

URI Parameters

None.

Body Parameters

BuyOrderDeliveryAndOrderMovementCreate
NameDescriptionTypeAdditional information
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:
{
  "BuyOrderDeliveryId": 1,
  "SupplierId": 1,
  "BuyOrderId": 1,
  "Remarks": "sample string 2",
  "Description": "sample string 3",
  "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 4",
  "OrderId": 1
}

application/xml, text/xml

Sample:
<BuyOrderDeliveryAndOrderMovementCreate 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 3</Description>
  <OrderId>1</OrderId>
  <PickingListNumber>sample string 4</PickingListNumber>
  <Remarks>sample string 2</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>1</SupplierId>
</BuyOrderDeliveryAndOrderMovementCreate>

Response Information

Resource Description

Logic4ResponseOfBuyOrderDeliveryAndOrderMovement
NameDescriptionTypeAdditional information
Value

BuyOrderDeliveryAndOrderMovement

None.

ValidationMessages

Eventuele foutmeldingen

Collection of string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

Sample:
<Logic4ResponseOfBuyOrderDeliveryAndOrderMovementLnN1pw8Y 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 xmlns:d2p1="http://schemas.datacontract.org/2004/07/Webware.Logic4.Classes.Models">
    <d2p1:BuyOrderDeliveryId>1</d2p1:BuyOrderDeliveryId>
    <d2p1:OrderMovementId>2</d2p1:OrderMovementId>
  </Value>
</Logic4ResponseOfBuyOrderDeliveryAndOrderMovementLnN1pw8Y>