This API is available for add visit for.
List of mandatory fields:
- cprId
- eventId
- ppid
- eventLabel
- eventPoint
- cpTitle
- cpShortTitle
- name
- clinicalDiagnosis
- clinicalStatus
- activityStatus
- site
- status
- comments
- surgicalPathologyNumber
- missedReason
- missedBy - (User Details)
- visitDate
- code
- cohort
URL | catissuecore/rest/ng/visits |
Request type | application/json |
Method | POST |
json | { "cpShortTitle":"CNS" |
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 |
---|---|---|
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 |