POST api/eeb/purchaser/deliveries

Request Information

URI Parameters

None.

Body Parameters

PurchaserDeliveryCreateDTO
NameDescriptionTypeAdditional information
poid

integer

None.

drno

string

None.

drdate

date

None.

datereceived

date

None.

receivedby

string

None.

deliveries

Collection of PurchaserItemDeliveries

None.

ItemType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "poid": 1,
  "drno": "sample string 2",
  "drdate": "2025-12-11T02:30:07.7082853+08:00",
  "datereceived": "2025-12-11T02:30:07.7082853+08:00",
  "receivedby": "sample string 5",
  "deliveries": [
    {
      "podid": 1,
      "qtydelivered": 1.0,
      "balance": 1.0
    },
    {
      "podid": 1,
      "qtydelivered": 1.0,
      "balance": 1.0
    }
  ],
  "ItemType": "sample string 6"
}

application/xml, text/xml

Sample:
<PurchaserDeliveryCreateDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EEB_API.Models.DTO">
  <ItemType>sample string 6</ItemType>
  <datereceived>2025-12-11T02:30:07.7082853+08:00</datereceived>
  <deliveries>
    <PurchaserItemDeliveries>
      <balance>1</balance>
      <podid>1</podid>
      <qtydelivered>1</qtydelivered>
    </PurchaserItemDeliveries>
    <PurchaserItemDeliveries>
      <balance>1</balance>
      <podid>1</podid>
      <qtydelivered>1</qtydelivered>
    </PurchaserItemDeliveries>
  </deliveries>
  <drdate>2025-12-11T02:30:07.7082853+08:00</drdate>
  <drno>sample string 2</drno>
  <poid>1</poid>
  <receivedby>sample string 5</receivedby>
</PurchaserDeliveryCreateDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.