POST api/v1/Delivery/DEL_POST_AdhocDelivery

Post an adhoc receipt or purchase delivery

Request Information

URI Parameters

None.

Body Parameters

Receipt or Purchase Delivery Object

AdhocUCODelivery
NameDescriptionTypeAdditional information
entitytypename

string

None.

collectiontype

string

None.

entityid

globally unique identifier

None.

locationid

integer

None.

comments

string

None.

datetimeofdelivery

date

None.

staffid

integer

None.

truckrego

string

None.

containers

Collection of UCOContainer

None.

Request Formats

application/json, text/json

Sample:
{
  "entitytypename": "sample string 1",
  "collectiontype": "sample string 2",
  "entityid": "d8c221fc-4f36-424d-8c64-903561636aee",
  "locationid": 1,
  "comments": "sample string 3",
  "datetimeofdelivery": "2026-08-16T17:19:43.7424936+00:00",
  "staffid": 1,
  "truckrego": "sample string 4",
  "containers": [
    {
      "quantity": 1.0,
      "containertypeid": 2,
      "state": "sample string 3",
      "containernumber": "sample string 4"
    },
    {
      "quantity": 1.0,
      "containertypeid": 2,
      "state": "sample string 3",
      "containernumber": "sample string 4"
    }
  ]
}

application/xml, text/xml

Sample:
<AdhocUCODelivery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_sharedmodels.Models.Delivery">
  <collectiontype>sample string 2</collectiontype>
  <comments>sample string 3</comments>
  <containers xmlns:d2p1="http://schemas.datacontract.org/2004/07/nfuels_sharedmodels.Models.Containers">
    <d2p1:UCOContainer>
      <d2p1:containernumber>sample string 4</d2p1:containernumber>
      <d2p1:state>sample string 3</d2p1:state>
      <d2p1:containertypeid>2</d2p1:containertypeid>
      <d2p1:quantity>1</d2p1:quantity>
    </d2p1:UCOContainer>
    <d2p1:UCOContainer>
      <d2p1:containernumber>sample string 4</d2p1:containernumber>
      <d2p1:state>sample string 3</d2p1:state>
      <d2p1:containertypeid>2</d2p1:containertypeid>
      <d2p1:quantity>1</d2p1:quantity>
    </d2p1:UCOContainer>
  </containers>
  <datetimeofdelivery>2026-08-16T17:19:43.7424936+00:00</datetimeofdelivery>
  <entityid>d8c221fc-4f36-424d-8c64-903561636aee</entityid>
  <entitytypename>sample string 1</entitytypename>
  <locationid>1</locationid>
  <staffid>1</staffid>
  <truckrego>sample string 4</truckrego>
</AdhocUCODelivery>

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.