...
URL | http://<host>:<port>/catissuecore/rest/ng/notifications/registration |
Request | application/json |
Method | PUT |
json | { "ppId": "1234", "gender": "Female Gender", "enrollmentDate": "2014-29-12", "birthDate": "1989-02-06", "studyId": "CS1", "appName": "MirthOpenClinica" } |
Response | { cpId:501, ppId: "1234", barCode:"111111", gender activityStatus: "Male GenderActive", enrollmentDate registrationDate: "2014-29-12", participantDetail: [ { "activityStatus" : "Active", "ethnicity" : "Unknown", "firstName" : "Jhon", "lastName" : "Dep", "gender" : "Female Gender", "id" : "1", "pmiCollection" : [ { ", birthDate: "1989-02-06", studyId: "CS1", appName: "Mirth"mrn" : "324r6", "siteName" : "Lab2" } ], "race" : [ "Asian" ], "ssn" : "123-45-6789" } ] } } |
Response Status :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Participant registration updated successfully |
400 | All requests | Invalid parameters, e.g duplicate ppId, invalid studyId, invalid applicationName etc |
401 | All requests | Authorization failed, User doesn't have Authority to update participant registration for the given collection protocol |
500 | All requests | Internal server error, Encountered server error while performing operations |