Got feedback or spotted a mistake?

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

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This API is available for creating Specimen Collection Group.

List of mandatory fields:

  1. cprId
  2. cpeId
  3. name
  4. clinicalDiagnosis
  5. clinicalStatus
  6. activityStatus
  7. collectionSiteName
  8. collectionStatus
  9. barcode
  10. comment
  11. surgicalPathologyNumber
  12. collectorName
  13. collectionTimestamp
  14. collectionComments
  15. collectionProcedure
  16. collectionContainer
  17. receiverName
  18. receivedTimestamp
  19. receivedComments
  20. receivedQuality
URLcatissuecore/rest/ng/specimen-collection-groups
Request typeapplication/json
MethodPOST
json{
   "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":"Jul 1, 2014 8:11:36 PM",
   "collectionComments":"comments",
   "collectionProcedure":"Lavage",
   "collectionContainer":"CPT",
   "receiverName":"tester@site.com",
   "receivedTimestamp":"MAY 1, 2014 8:11:36 PM",
   "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":"Jul 1, 2014 8:11:36 PM",
   "collectionComments":"comments",
   "collectionProcedure":"Lavage",
   "collectionContainer":"CPT",
   "receiverName":"tester@site.com",
   "receivedTimestamp":"MAY 1, 2014 8:11:36 PM",
   "receivedQuality":"Clotted"
}

 

Error Cases :

code
Applies to
Status Message
200All resourcesSpecimen Collection group has been created successfully
400All requestsInvalid parameters, e.g  duplicate name, duplicate barcode, invalid Site Name etc
401All requestsAuthorization failed, User doesn’t have Authority to create specimen collection group for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations
  • No labels