GET api/v1/Collection/COL_GET_LastCollectionFromStore?storeid={storeid}
Query ROC collection information for the most recent collection from a store.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| storeid |
Id of the store. |
globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection information pertaining to the last collection made from the store
UcoROCCollectionGet| Name | Description | Type | Additional information |
|---|---|---|---|
| ucocollectionid | integer |
None. |
|
| userid | globally unique identifier |
None. |
|
| deliverystatusid | integer |
None. |
|
| storenumber | integer |
None. |
|
| store_name | string |
None. |
|
| employeeid | integer |
None. |
|
| driverfirstname | string |
None. |
|
| driverlastname | string |
None. |
|
| containers | Collection of UcoROCCollectionGetContainer |
None. |
|
| emptyROCsSupplied | Collection of UcoROCCollectionEmptyContainer |
None. |
|
| storeid | globally unique identifier |
None. |
|
| ucoreceiptnumber | string |
None. |
|
| datetimeofcollection | date |
None. |
|
| supervisorid | integer |
None. |
|
| supervisorname | string |
None. |
|
| truckrego | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"ucocollectionid": 1,
"userid": "bdcf819a-38bd-48c2-bcb3-d63a0d0a980c",
"deliverystatusid": 1,
"storenumber": 3,
"store_name": "sample string 4",
"employeeid": 1,
"driverfirstname": "sample string 5",
"driverlastname": "sample string 6",
"containers": [
{
"ucocollectionid": 1,
"rocnumber": "sample string 2",
"quantity": 3.0,
"state": "sample string 4",
"containertypeid": 5
},
{
"ucocollectionid": 1,
"rocnumber": "sample string 2",
"quantity": 3.0,
"state": "sample string 4",
"containertypeid": 5
}
],
"emptyROCsSupplied": [
{
"rocnumber": "sample string 1"
},
{
"rocnumber": "sample string 1"
}
],
"storeid": "c0a8edd5-ce61-4b0c-8f3a-9c44ede72be0",
"ucoreceiptnumber": "sample string 8",
"datetimeofcollection": "2026-08-16T17:17:27.1671076+00:00",
"supervisorid": 9,
"supervisorname": "sample string 10",
"truckrego": "sample string 11"
}
application/xml, text/xml
Sample:
<UcoROCCollectionGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_api.Models">
<datetimeofcollection>2026-08-16T17:17:27.1671076+00:00</datetimeofcollection>
<storeid>c0a8edd5-ce61-4b0c-8f3a-9c44ede72be0</storeid>
<supervisorid>9</supervisorid>
<supervisorname>sample string 10</supervisorname>
<truckrego>sample string 11</truckrego>
<ucoreceiptnumber>sample string 8</ucoreceiptnumber>
<containers>
<UcoROCCollectionGetContainer>
<containertypeid>5</containertypeid>
<quantity>3</quantity>
<rocnumber>sample string 2</rocnumber>
<state>sample string 4</state>
<ucocollectionid>1</ucocollectionid>
</UcoROCCollectionGetContainer>
<UcoROCCollectionGetContainer>
<containertypeid>5</containertypeid>
<quantity>3</quantity>
<rocnumber>sample string 2</rocnumber>
<state>sample string 4</state>
<ucocollectionid>1</ucocollectionid>
</UcoROCCollectionGetContainer>
</containers>
<deliverystatusid>1</deliverystatusid>
<driverfirstname>sample string 5</driverfirstname>
<driverlastname>sample string 6</driverlastname>
<employeeid>1</employeeid>
<emptyROCsSupplied>
<UcoROCCollectionEmptyContainer>
<rocnumber>sample string 1</rocnumber>
</UcoROCCollectionEmptyContainer>
<UcoROCCollectionEmptyContainer>
<rocnumber>sample string 1</rocnumber>
</UcoROCCollectionEmptyContainer>
</emptyROCsSupplied>
<store_name>sample string 4</store_name>
<storenumber>3</storenumber>
<ucocollectionid>1</ucocollectionid>
<userid>bdcf819a-38bd-48c2-bcb3-d63a0d0a980c</userid>
</UcoROCCollectionGet>