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 5 Next »

This API is available for creating Specimen Collection Group.

List of mandatory fields:

  1. cprId
  2. eventId
  3. ppid
  4. eventLabel
  5. eventPoint
  6. cpTitle
  7. cpShortTitle
  8. name
  9. clinicalDiagnosis
  10. clinicalStatus
  11. activityStatus
  12. site
  13. status
  14. comments
  15. surgicalPathologyNumber
  16. sprName
  17. visitDate
  18. code
URLcatissuecore/rest/ng/visits
Request typeapplication/json
MethodPOST
json

{
   "cprId":5,
   "eventId":2,

   "cpShortTitle":"CNS"
   "name":"skinCancerStudy_1_11",
   "clinicalDiagnosis":"Not Specified",
   "clinicalStatus":"Not Specified",
   "activityStatus":"Active",
   "site":"ATCC",
   "collectionStatus":"Complete", 
   "surgicalPathologyNumber":"path123" 
}

Response

 

{
   "id":1,
   "cprId":5,
   "cpeId":2,
   "name":"skinCancerStudy_1_11",
   "clinicalDiagnosis":"Not Specified",
   "clinicalStatus":"Not Specified",
   "activityStatus":"Active",
   "collectionSiteName":"ATCC",
   "collectionStatus":"Complete",
}

 

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