Use of this REST API is to update participant registration notified from external application. caTissue Plus can be integrate with external applications like Openclinica. Participants updated under study in external applications can be updated in caTissue Plus using this REST API. There is mapping between collection protocol and studies of external application.
You can register participant from external applications through PUT URL http://<host>:<port>/catissuecore/rest/ng/notifications/registration
Parametere Details :
Update Participant Registration REST API takes following parameters through json request
Parameter | Description |
---|---|
ppId | Unique identifier for participant registered for collection protocol. PPId is key of participant integration between caTissue Plus and external app. It is mandatory parameter. |
birthDate | Date of birth of participant. |
gender | Gender of participant. |
enrollmentDate | Date of participant getting register.It is mandatory parameter. |
studyId | External application study identifier. It is mandatory parameter. |
appName | External Application Name to which caTissue Plus is integrated. It is mandatory parameter. |
API Example :
Method | URL |
---|---|
PUT | http://<host>:<port>/catissuecore/rest/ng/notifications/registration |
Request | application/json |
json | { "ppId": "1234", "gender": "Female Gender", "enrollmentDate": "2014-29-12", "birthDate": "1989-02-06", "studyId": "CS1", "appName": "Mirth" } |
Response | { } |
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 |