...
Response of this request contains the details of specimen.
API Example:
URL | openspecimen/rest/ng/specimens |
Request type | application/json |
Method | POST |
json | { "lineage":"New", "visitId":1, "status":"Collected", "availableQty":"10", "storageLocation":{}, "collectionEvent":{ "user":{ "id":1, "firstName":"Admin", "lastName":"Admin", "loginName":"admin@admin.com", "domain":"openspecimen", "emailAddress":"admin@admin.com", "admin":true,"cpCount":0, "creationDate":null }, "time":"2015-12-04T04:14:36.333Z", "container":"Not Specified", "procedure":"Not Specified" }, "receivedEvent":{ "user":{ "id":1, "firstName":"Admin", "lastName":"Admin", "loginName":"admin@admin.com", "domain":"openspecimen", "emailAddress":"admin@admin.com", "admin":true, "cpCount":0, "creationDate":null }, "time":"2015-12-04T04:14:36.333Z", "receivedQuality":"Acceptable" }, "initialQty":"10", "concentration":"", "label":"unplanned specimen 1", "specimenClass":"Fluid", "type":"Bone Marrow Plasma", "pathology":"Non-Malignant, Diseased", "anatomicSite":"External ear", "laterality":"Right" } |
Response | { "id": 9, "cpId": 1, "cprId": 1, "eventId": null, "visitId": 1, "visitName": "first visit", "cpShortTitle": "blood", "reqId": null, "sortOrder": null, "label": "unplanned specimen 1", "barcode": null, "type": "Bone Marrow Plasma", "specimenClass": "Fluid", "lineage": "New", "anatomicSite": "External ear", "laterality": "Right", "status": "Collected", "reqLabel": null, "pathology": "Non-Malignant, Diseased", "initialQty": 10, "availableQty": 10, "available": true, "concentration": null, "parentId": null, "parentLabel": null, "storageLocation": { "id": -1, "name": null, "positionX": null, "positionY": null }, "storageType": null, "collectionContainer": null, "activityStatus": "Active", "createdOn": 1449202440000, "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": null, "extensionDetail": null } |
...