Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Method
URL
POSTcatissuecore/rest/ng/specimens
Requestapplication/json
json

{ "activityStatus" : "Active",

  "barcode" : "245095132",

  "biohazardDetails" : [  ],

  "collectionStatus" : "Collected",

  "comment" : "creating an adhoc specimen.",

  "createdOn" : "May 1, 2014 11:21:45 AM",

  "externalIdentifierDetails" : [  ],

  "initialQuantity" : 2.0,

  "label" : "sample_123",

  "lineage" : "New",

  "pathologicalStatus" : "Metastatic",

  "scgId" : 1,

  "specimenClass" : "Fluid",

  "specimenType" : "Feces",

  "tissueSide" : "Left",

  "tissueSite" : "Nasal cavity"

}

Response

 "success"

{ "activityStatus" : "Active",

  "barcode" : "",

  "biohazardDetails" : [  ],

  "collectionStatus" : "Collected",

  "comment" : "creating an adhoc specimen.",

  "createdOn" : "May 1, 2014 11:21:45 AM",

  "externalIdentifierDetails" : [  ],

  "id" : 2,

  "initialQuantity" : 2.0,

  "label" : "",

  "lineage" : "New",

  "pathologicalStatus" : "Metastatic",

  "scgId" : 1,

  "specimenClass" : "Fluid",

  "specimenType" : "Feces",

  "tissueSide" : "Left",

  "tissueSite" : "Nasal cavity"

}