GET api/v1/TestResult/TEST_GET_TestResult?vialnumber={vialnumber}&siteid={siteid}

Returns all test results for tests conducted on sample, given the vial number

Request Information

URI Parameters

NameDescriptionTypeAdditional information
vialnumber

The vial number containing the UCO sample

string

Required

siteid

Id of the site from where the test result originated

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

TestResultModelGet
NameDescriptionTypeAdditional information
testresultid

integer

None.

siteid

globally unique identifier

None.

sitename

string

None.

containernumber

string

None.

vialnumber

string

None.

entityid

globally unique identifier

None.

entitytypeid

integer

None.

entitytypename

string

None.

collectiontypeid

integer

None.

collectiontypecode

string

None.

ucocollectionid

integer

None.

issuperceded

boolean

None.

Tests

Collection of TestResultDetailModel

None.

Response Formats

application/json, text/json

Sample:
{
  "testresultid": 1,
  "siteid": "0a7648c2-0b94-4450-8fbf-10d3252b1f8d",
  "sitename": "sample string 3",
  "containernumber": "sample string 4",
  "vialnumber": "sample string 5",
  "entityid": "51f4b63f-f73c-4263-99d0-835d46f876b2",
  "entitytypeid": 7,
  "entitytypename": "sample string 8",
  "collectiontypeid": 9,
  "collectiontypecode": "sample string 10",
  "ucocollectionid": 11,
  "issuperceded": true,
  "Tests": [
    {
      "testresultdetailid": 1,
      "testresultid": 2,
      "datetested": "2026-08-16T17:20:10.4785798+00:00",
      "testedbyuserid": "079d82d2-ad0a-42b0-bf08-6b0b639de765",
      "testedby": "sample string 4",
      "comments": "sample string 5",
      "tpmresult": 6.0,
      "tpmtemp": 7.0,
      "tpmdescription": "sample string 8"
    },
    {
      "testresultdetailid": 1,
      "testresultid": 2,
      "datetested": "2026-08-16T17:20:10.4785798+00:00",
      "testedbyuserid": "079d82d2-ad0a-42b0-bf08-6b0b639de765",
      "testedby": "sample string 4",
      "comments": "sample string 5",
      "tpmresult": 6.0,
      "tpmtemp": 7.0,
      "tpmdescription": "sample string 8"
    }
  ]
}

application/xml, text/xml

Sample:
<TestResultModelGet xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/nfuels_sharedmodels.Models.TestResult">
  <Tests>
    <TestResultDetailModel>
      <comments>sample string 5</comments>
      <datetested>2026-08-16T17:20:10.4785798+00:00</datetested>
      <testedby>sample string 4</testedby>
      <testedbyuserid>079d82d2-ad0a-42b0-bf08-6b0b639de765</testedbyuserid>
      <testresultdetailid>1</testresultdetailid>
      <testresultid>2</testresultid>
      <tpmdescription>sample string 8</tpmdescription>
      <tpmresult>6</tpmresult>
      <tpmtemp>7</tpmtemp>
    </TestResultDetailModel>
    <TestResultDetailModel>
      <comments>sample string 5</comments>
      <datetested>2026-08-16T17:20:10.4785798+00:00</datetested>
      <testedby>sample string 4</testedby>
      <testedbyuserid>079d82d2-ad0a-42b0-bf08-6b0b639de765</testedbyuserid>
      <testresultdetailid>1</testresultdetailid>
      <testresultid>2</testresultid>
      <tpmdescription>sample string 8</tpmdescription>
      <tpmresult>6</tpmresult>
      <tpmtemp>7</tpmtemp>
    </TestResultDetailModel>
  </Tests>
  <collectiontypecode>sample string 10</collectiontypecode>
  <collectiontypeid>9</collectiontypeid>
  <containernumber>sample string 4</containernumber>
  <entityid>51f4b63f-f73c-4263-99d0-835d46f876b2</entityid>
  <entitytypeid>7</entitytypeid>
  <entitytypename>sample string 8</entitytypename>
  <issuperceded>true</issuperceded>
  <siteid>0a7648c2-0b94-4450-8fbf-10d3252b1f8d</siteid>
  <sitename>sample string 3</sitename>
  <testresultid>1</testresultid>
  <ucocollectionid>11</ucocollectionid>
  <vialnumber>sample string 5</vialnumber>
</TestResultModelGet>