GET api/v1/TestResult/TEST_GET_TestResultsForEntity?dtFrom={dtFrom}&dtTo={dtTo}
Returns latest test results for the customer (or supplier) associated with the driver
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| dtFrom |
The initial date from which to draw the report |
date |
Required |
| dtTo |
The end date for which the report will be shown |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of TestResultForEntityModel| Name | Description | Type | Additional information |
|---|---|---|---|
| testresultdetailid | integer |
None. |
|
| testresultid | integer |
None. |
|
| containernumber | string |
None. |
|
| vialnumber | string |
None. |
|
| testedbyuserid | globally unique identifier |
None. |
|
| ucocollectionid | integer |
None. |
|
| datetested | date |
None. |
|
| comments | string |
None. |
|
| tpmresult | decimal number |
None. |
|
| tpmtemp | decimal number |
None. |
|
| entityid | globally unique identifier |
None. |
|
| entityname | string |
None. |
|
| entityexternalid | string |
None. |
|
| receiptorpurchase | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"testresultdetailid": 1,
"testresultid": 1,
"containernumber": "sample string 1",
"vialnumber": "sample string 2",
"testedbyuserid": "a82ff2fb-e07b-4013-a76a-a70c98bb4e33",
"ucocollectionid": 1,
"datetested": "2026-08-16T17:19:14.6789992+00:00",
"comments": "sample string 3",
"tpmresult": 1.0,
"tpmtemp": 1.0,
"entityid": "ffa4b2fc-88bd-4220-9477-8cf053bfc826",
"entityname": "sample string 4",
"entityexternalid": "sample string 5",
"receiptorpurchase": "sample string 6"
},
{
"testresultdetailid": 1,
"testresultid": 1,
"containernumber": "sample string 1",
"vialnumber": "sample string 2",
"testedbyuserid": "a82ff2fb-e07b-4013-a76a-a70c98bb4e33",
"ucocollectionid": 1,
"datetested": "2026-08-16T17:19:14.6789992+00:00",
"comments": "sample string 3",
"tpmresult": 1.0,
"tpmtemp": 1.0,
"entityid": "ffa4b2fc-88bd-4220-9477-8cf053bfc826",
"entityname": "sample string 4",
"entityexternalid": "sample string 5",
"receiptorpurchase": "sample string 6"
}
]
application/xml, text/xml
Sample:
<ArrayOfTestResultForEntityModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_sharedmodels.Models.TestResult">
<TestResultForEntityModel>
<comments>sample string 3</comments>
<containernumber>sample string 1</containernumber>
<datetested>2026-08-16T17:19:14.6789992+00:00</datetested>
<entityexternalid>sample string 5</entityexternalid>
<entityid>ffa4b2fc-88bd-4220-9477-8cf053bfc826</entityid>
<entityname>sample string 4</entityname>
<receiptorpurchase>sample string 6</receiptorpurchase>
<testedbyuserid>a82ff2fb-e07b-4013-a76a-a70c98bb4e33</testedbyuserid>
<testresultdetailid>1</testresultdetailid>
<testresultid>1</testresultid>
<tpmresult>1</tpmresult>
<tpmtemp>1</tpmtemp>
<ucocollectionid>1</ucocollectionid>
<vialnumber>sample string 2</vialnumber>
</TestResultForEntityModel>
<TestResultForEntityModel>
<comments>sample string 3</comments>
<containernumber>sample string 1</containernumber>
<datetested>2026-08-16T17:19:14.6789992+00:00</datetested>
<entityexternalid>sample string 5</entityexternalid>
<entityid>ffa4b2fc-88bd-4220-9477-8cf053bfc826</entityid>
<entityname>sample string 4</entityname>
<receiptorpurchase>sample string 6</receiptorpurchase>
<testedbyuserid>a82ff2fb-e07b-4013-a76a-a70c98bb4e33</testedbyuserid>
<testresultdetailid>1</testresultdetailid>
<testresultid>1</testresultid>
<tpmresult>1</tpmresult>
<tpmtemp>1</tpmtemp>
<ucocollectionid>1</ucocollectionid>
<vialnumber>sample string 2</vialnumber>
</TestResultForEntityModel>
</ArrayOfTestResultForEntityModel>