...
List of mandatory fields:
- cprId
- cpeIdeventId
- ppid
- eventLabel
- eventPoint
- cpTitle
- cpShortTitle
- name
- clinicalDiagnosis
- clinicalStatus
- activityStatus
- collectionSiteNamesite
- collectionStatusstatus
- barcodecomments
- comment
- surgicalPathologyNumber
- collectorNamesprName
- collectionTimestamp
- collectionComments
- collectionProcedure
- collectionContainer
- receiverName
- receivedTimestamp
- receivedComments
- receivedQuality
- visitDate
- code
URL | catissuecore/rest/ng/specimen-collection-groupsvisits |
Request type | application/json |
Method | POST |
json | { eventId":2, "cpShortTitle":"CNS" site":"ATCC", " :"barcode1"," surgicalPathologyNumber":"path123" ,"collectorName":"tester@site.com", "collectionTimestamp":"2014-04-21", "collectionComments":"comments", "collectionProcedure":"Lavage", "collectionContainer":"CPT", "receiverName":"tester@site.com", "receivedTimestamp":"2014-04-21", "receivedQuality":"Clotted" |
Response | { "id":1, "cprId":5, "cpeId":2, "name":"skinCancerStudy_1_11", "clinicalDiagnosis":"Not Specified", "clinicalStatus":"Not Specified", "activityStatus":"Active", "collectionSiteName":"ATCC", "collectionStatus":"Complete", "barcode":"barcode1", "surgicalPathologyNumber":"path123", "collectorName":"tester@site.com", "collectionTimestamp":"2014-04-21", "collectionComments":"comments", "collectionProcedure":"Lavage", "collectionContainer":"CPT", "receiverName":"tester@site.com", "receivedTimestamp":"2014-04-21", "receivedQuality":"Clotted" } |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Specimen Collection group has been created successfully |
400 | All requests | Invalid parameters, e.g duplicate name, duplicate barcode, invalid Site Name etc |
401 | All requests | Authorization failed, User doesn’t have Authority to create specimen collection group for the given collection protocol |
500 | All requests | Internal server error, Encountered server error while performing operations |