Retrieve Genomic Files for a Specimen Number and Specimen Vendor Number

get

/ohfapi/cg/v3.3/genomicspecimens/genomicFiles

This endpoint supports the retrieval of Genomic Files for a Specimen Number and Specimen Vendor Number. It returns Genomic File information like File Name, File Uri, Loader Name, Ensembl Version and other Genomic File associated information.

Request

Supported Media Types
Query Parameters
Security
Back to Top

Response

Supported Media Types

200 Response

successful operation
Body ()
Root Schema : PageableCollection
Type: object
Model for paginated collections of data.
Show Source
Nested Schema : items
Type: array
A collection of paged items.
Show Source
Nested Schema : Serializable
Type: object

400 Response

Invalid request parameters

404 Response

Genomic specimen files not found
Back to Top

Examples

The following example submits a GET request.

API URL

http://localhost:7010/ohfapi/cg/v3.3/genomicspecimens/genomicFiles?specimenNumber=HG00099&specimenVendorNumber=vcf

Example of Response Body

The following example shows the response returned in JSON format.

{
 "resourceType" : "GenomicSpecimen",
 "items" : [ {
 "rsltSpecimenWid" : {
 "system" : "ODB",
 "value" : "64"
 },
 "fileUri" : "file://trc/149/summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileName" : "summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileSize" : 1899127,
 "fileTypecode" : "VCF",
 "loaderName" : "ODB_RSLT_GVCF_UTIL",
 "loadContext" : "Patient Specimen",
 "loadSequence" : 1,
 "loadStartDate" : "02/02/2016",
 "ensemblVersion" : "GRCH37.75",
 "specimenNumber" : "HG00099",
 "specimenVendorNumber" : "vcf"
 }, {
 "rsltSpecimenWid" : {
 "system" : "ODB",
 "value" : "64"
 },
 "fileUri" : "file://trc/155/summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileName" : "summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileSize" : 1899127,
 "fileTypecode" : "VCF",
 "loaderName" : "ODB_RSLT_GVCF_UTIL",
 "loadContext" : "Patient Specimen",
 "loadSequence" : 1,
 "loadStartDate" : "02/03/2016",
 "ensemblVersion" : "GRCH37.75",
 "specimenNumber" : "HG00099",
 "specimenVendorNumber" : "vcf"
 }, {
 "rsltSpecimenWid" : {
 "system" : "ODB",
 "value" : "66"
 },
 "fileUri" : "file://trc/155/summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileName" : "summary_SNP-INDEL-LargeSV_16-Jan-2015.vcf",
 "fileSize" : 1899127,
 "fileTypecode" : "VCF",
 "loaderName" : "ODB_RSLT_GVCF_UTIL",
 "loadContext" : "Patient Specimen",
 "loadSequence" : 1,
 "loadStartDate" : "02/03/2016",
 "ensemblVersion" : "GRCH37.75",
 "specimenNumber" : "HG00097",
 "specimenVendorNumber" : "vcf"
 } ],
 "count" : 3,
 "hasMore" : false,
 "links" : [ {
 "rel" : "self",
 "href" : "http://localhost:62701/genomicspecimens/genomicFiles?specimenNumber=HG00099&specimenVendorNumber=vcf&limit=10&offset=0"
 } ]
}
Back to Top