v8

latestOpenAPI 3.0.2raw.githubusercontent.com2022-09-1612311.4 KB
samples

Get Sample Units from sample summary

Get Sample Units from sample summary

get/samples/{samplesummaryId}/sampleunits

Path parameters

samplesummaryIdstring uuid required
Example:34597808-ec88-4e93-af2f-228e33ff7946

Query parameters

statestring
Example:FAILED

only return sample units that have the requested state

Response

The sample units were retrieved successfully.

formTypestring
idstring uuid
sampleSummaryFKinteger
sampleUnitPKinteger
sampleUnitRefstring
sampleUnitTypestring
status'INIT' | 'DELIVERED' | 'PERSISTED' | 'FAILED'

Example response

[
  {
    "formType": "0001",
    "id": "34597808-ec88-4e93-af2f-228e33ff7946",
    "sampleSummaryFK": 321,
    "sampleUnitPK": 123,
    "sampleUnitRef": "01234567890",
    "sampleUnitType": "01234567890",
    "status": "INIT"
  }
]