GET api/v1/ROCDelivery/Delivery?deliveryid={deliveryid}

Query ROC delivery information for a specific delivery.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
deliveryid

Id of the Delivery record

integer

Required

Body Parameters

None.

Response Information

Resource Description

ROCDeliveryGet
NameDescriptionTypeAdditional information
customerid

globally unique identifier

None.

driverfirstname

string

None.

driverlastname

string

None.

ucodeliveryid

integer

None.

nfuelsreceiptid

globally unique identifier

None.

nfuelsreceiptnumber

string

None.

siteid

globally unique identifier

None.

sitename

string

None.

containers

Collection of ROCDeliveryContainerGet

None.

userid

globally unique identifier

None.

datetimeofdelivery

date

None.

truckrego

string

None.

staffid

integer

None.

staffname

string

None.

staffemployeeid

integer

None.

comments

string

None.

Response Formats

application/json, text/json

Sample:
{
  "customerid": "076a173b-1ea2-4362-a5f5-7c4eee0c8fcd",
  "driverfirstname": "sample string 1",
  "driverlastname": "sample string 2",
  "ucodeliveryid": 3,
  "nfuelsreceiptid": "97009231-93b1-4e8b-8d6c-ca70772e09d1",
  "nfuelsreceiptnumber": "sample string 4",
  "siteid": "9c2d171a-570d-42c5-b4a7-758742b95b77",
  "sitename": "sample string 6",
  "containers": [
    {
      "ucodeliveryid": 1,
      "containertypename": "sample string 2",
      "storeid": "408c66c7-889a-416a-ae22-69d6005c17dc",
      "store_name": "sample string 4",
      "supervisorid": 5,
      "supervisorname": "sample string 6",
      "ucocollectionid": 7,
      "rocnumber": "sample string 8",
      "quantity": 9.0,
      "state": "sample string 10",
      "containertypeid": 11,
      "ismissing": true
    },
    {
      "ucodeliveryid": 1,
      "containertypename": "sample string 2",
      "storeid": "408c66c7-889a-416a-ae22-69d6005c17dc",
      "store_name": "sample string 4",
      "supervisorid": 5,
      "supervisorname": "sample string 6",
      "ucocollectionid": 7,
      "rocnumber": "sample string 8",
      "quantity": 9.0,
      "state": "sample string 10",
      "containertypeid": 11,
      "ismissing": true
    }
  ],
  "userid": "ff6a95b6-3a63-4a03-9037-0b7138bd0b35",
  "datetimeofdelivery": "2026-08-16T17:16:15.450872+00:00",
  "truckrego": "sample string 8",
  "staffid": 9,
  "staffname": "sample string 10",
  "staffemployeeid": 11,
  "comments": "sample string 12"
}

application/xml, text/xml

Sample:
<ROCDeliveryGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_api.Models">
  <comments>sample string 12</comments>
  <datetimeofdelivery>2026-08-16T17:16:15.450872+00:00</datetimeofdelivery>
  <staffemployeeid>11</staffemployeeid>
  <staffid>9</staffid>
  <staffname>sample string 10</staffname>
  <truckrego>sample string 8</truckrego>
  <userid>ff6a95b6-3a63-4a03-9037-0b7138bd0b35</userid>
  <containers>
    <ROCDeliveryContainerGet>
      <containertypeid>11</containertypeid>
      <ismissing>true</ismissing>
      <quantity>9</quantity>
      <rocnumber>sample string 8</rocnumber>
      <state>sample string 10</state>
      <ucocollectionid>7</ucocollectionid>
      <containertypename>sample string 2</containertypename>
      <store_name>sample string 4</store_name>
      <storeid>408c66c7-889a-416a-ae22-69d6005c17dc</storeid>
      <supervisorid>5</supervisorid>
      <supervisorname>sample string 6</supervisorname>
      <ucodeliveryid>1</ucodeliveryid>
    </ROCDeliveryContainerGet>
    <ROCDeliveryContainerGet>
      <containertypeid>11</containertypeid>
      <ismissing>true</ismissing>
      <quantity>9</quantity>
      <rocnumber>sample string 8</rocnumber>
      <state>sample string 10</state>
      <ucocollectionid>7</ucocollectionid>
      <containertypename>sample string 2</containertypename>
      <store_name>sample string 4</store_name>
      <storeid>408c66c7-889a-416a-ae22-69d6005c17dc</storeid>
      <supervisorid>5</supervisorid>
      <supervisorname>sample string 6</supervisorname>
      <ucodeliveryid>1</ucodeliveryid>
    </ROCDeliveryContainerGet>
  </containers>
  <customerid>076a173b-1ea2-4362-a5f5-7c4eee0c8fcd</customerid>
  <driverfirstname>sample string 1</driverfirstname>
  <driverlastname>sample string 2</driverlastname>
  <nfuelsreceiptid>97009231-93b1-4e8b-8d6c-ca70772e09d1</nfuelsreceiptid>
  <nfuelsreceiptnumber>sample string 4</nfuelsreceiptnumber>
  <siteid>9c2d171a-570d-42c5-b4a7-758742b95b77</siteid>
  <sitename>sample string 6</sitename>
  <ucodeliveryid>3</ucodeliveryid>
</ROCDeliveryGet>