/
Delete specimen list
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Delete specimen list

DELETE openspecimen/rest/ng/specimens

Use this API to delete list of specimens given by list of specimen IDs.

Parameter Details:

The list of specimen IDs. This API accepts specimen IDs list by comma separated.

Result:

This API returns list of specimen details which are deleted.

API Example:

URLopenspecimen/rest/ng/specimens?id=6,7
MethodDELETE
Requestapplication/json
Response

[

  {

    "id": 6,

    "cpId": 2,

    "cprId": 3,

    "eventId": null,

    "visitId": 3,

    "visitName": "third visit",

    "cpShortTitle": "tissue",

    "reqId": 4,

    "sortOrder": null,

    "label": "skin1_1449816468769",

    "barcode": null,

    "type": "Frozen Tissue",

    "specimenClass": "Tissue",

    "lineage": "New",

    "anatomicSite": "Greater curvature of stomach, NOS",

    "laterality": "Left",

    "status": "Collected",

    "reqLabel": "skin tissue",

    "pathology": "Non-Malignant, Diseased",

    "initialQty": 30,

    "availableQty": 25,

    "available": true,

    "concentration": 5,

    "parentId": null,

    "parentLabel": null,

    "storageLocation": {

      "id": -1,

      "name": null,

      "positionX": null,

      "positionY": null

    },

    "storageType": "Auto",

    "collectionContainer": null,

    "activityStatus": "Disabled",

    "createdOn": 1442993700000,

    "code": null,

    "distributed": null,

    "collectionEvent": null,

    "receivedEvent": null,

    "labelFmt": null,

    "biohazards": [],

    "comments": null,

    "closeAfterChildrenCreation": null,

    "children": [],

    "pooledSpecimenId": null,

    "pooledSpecimenLabel": null,

    "specimensPool": null,

    "closeParent": null,

    "poolSpecimen": false,

    "extensionDetail": null

  },

  {

    "id": 7,

    "cpId": 2,

    "cprId": 4,

    "eventId": null,

    "visitId": 4,

    "visitName": "PPID04_tissue samples_1",

    "cpShortTitle": "tissue",

    "reqId": 3,

    "sortOrder": null,

    "label": "some_1449816468836",

    "barcode": null,

    "type": "Fixed Tissue Slide",

    "specimenClass": "Tissue",

    "lineage": "New",

    "anatomicSite": "Glottis",

    "laterality": "Left",

    "status": "Collected",

    "reqLabel": "cancer tissue",

    "pathology": "Non-Malignant",

    "initialQty": 10,

    "availableQty": 10,

    "available": true,

    "concentration": 10,

    "parentId": null,

    "parentLabel": null,

    "storageLocation": {

      "id": -1,

      "name": null,

      "positionX": null,

      "positionY": null

    },

    "storageType": "Auto",

    "collectionContainer": null,

    "activityStatus": "Disabled",

    "createdOn": 1443595080000,

    "code": null,

    "distributed": null,

    "collectionEvent": null,

    "receivedEvent": null,

    "labelFmt": null,

    "biohazards": [],

    "comments": null,

    "closeAfterChildrenCreation": null,

    "children": [],

    "pooledSpecimenId": null,

    "pooledSpecimenLabel": null,

    "specimensPool": null,

    "closeParent": null,

    "poolSpecimen": false,

    "extensionDetail": null

  }

]


 

Related content

Update Specimen
Update Specimen
Read with this
Specimen
Specimen
Read with this
Get specimen
Get specimen
Read with this
REST APIs
REST APIs
Read with this
Delete Specimen
Delete Specimen
Read with this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com