Create Aliquots for specified specimen specimen :
Method | URL |
---|---|
POST | catissuecore/rest/ng/specimens/{id}/aliquots |
Request | application/json |
json | { "count":1, "quantityPerAliquot":2, "positions":[ {"containerName":"cont1","position1":"aX","position2":"bY"}, {"containerName":"cont2","position1":"aX","position2":"bY"} ], "specimenId":971 } |
Response | { [ { "id":1, "tissueSite" : "S1", "tissueSide" : "Tissue", "pathologicalStatus" : "Not Specified", "lineage": "Aliquot", "initialQuantity": 2, "availableQuantity": 2, "specimenClass": "Tissue", "specimenType": "Fresh Tissue", "concentrationInMicrogramPerMicroliter": " 1", "label": "29_1", "activityStatus": "Active", "isAvailable": "true", "barcode": " 1111", "comment": null, "createdOn": "04-04-2014 ", "collectionStatus": " Collected", "specimenCollectionGroup": {"id": 1, "name": "TestSCG", ...}, "biohazardCollection": {"id":1 , "name": "RadioActive" , "type" : "RadioActive"}, "externalIdentifierCollection": {"id": 1, "name": "", "value": ""} },
{ "id":2, "tissueSite" : "S1", "tissueSide" : "Tissue", "pathologicalStatus" : "Not Specified", "lineage": "Aliquot", "initialQuantity": 2, "availableQuantity": 2, "specimenClass": "Tissue", "specimenType": "Fresh Tissue", "concentrationInMicrogramPerMicroliter": " 1", "label": "29_1", "activityStatus": "Active", "isAvailable": "true", "barcode": " 1111", "comment": null, "createdOn": "04-04-2014 ", "collectionStatus": " Collected", "specimenCollectionGroup": {"id": 1, "name": "TestSCG", ...}, "biohazardCollection": {"id":1 , "name": "RadioActive" , "type" : "RadioActive"}, "externalIdentifierCollection": {"id": 1, "name": "", "value": ""} } ] |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Aliquots has been created successfully |
400 | All requests | Invalid parameters, like count count should be greater than 0 |
401 | All requests | Authorization failed, User doesn’t have Authority to create Aliquot |
500 | All requests | Internal server error, Encountered server error while performing operations |