mskcc / LimsRest

the restful service used by the IGO LIMS
2 stars 2 forks source link

Delivered Response: Adding "ReceivedDate" #145

Closed DavidStreid closed 4 years ago

DavidStreid commented 4 years ago

1) Population requestSummary with "ReceivedDate" 2) Refactor to use util method

BEFORE

{
   "samples":[

   ],
   "requestId":"05500_GO",
   "requestType":"HiSeq-Other",
   "investigator":"Grittney Tam",
   "pi":"Michael Berger",
   "analysisType":"FASTQ ONLY",
   "analysisRequested":false,
   "recordId":0,
   "receivedDate":1594313419421,
   "sampleNumber":11,
   "restStatus":"SUCCESS",
   "labHeadEmail":null,
   "qcAccessEmail":null,
   "dataAccessEmails":null,
   "autorunnable":false,
   "deliveryDate":[
      1594763918802
   ]
}

AFTER

{
   "samples":[

   ],
   "requestId":"05500_GO",
   "requestType":"HiSeq-Other",
   "investigator":"Grittney Tam",
   "pi":"Michael Berger",
   "analysisType":"FASTQ ONLY",
   "analysisRequested":false,
   "recordId":0,
   "receivedDate":1594313419421,
   "sampleNumber":11,
   "restStatus":"SUCCESS",
   "labHeadEmail":null,
   "qcAccessEmail":null,
   "dataAccessEmails":null,
   "autorunnable":false,
   "deliveryDate":[
      1594763918802
   ]
}
mskbot commented 4 years ago

Can one of the admins verify this patch?