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

Use of this REST API is to register participant notified from external application. caTissue Plus can be integrate with external applications like Openclinica.Participants created under study in external applications can be registered 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 POST URL

 http://<host>:<port>/catissuecore/rest/ng/notifications/registration

Parametere Details : 

Participant Registration REST API takes following parameters through json request


ParameterDescription
ppIdUnique identifier for participant registered for collection protocol. PPId is key of participant integration between caTissue Plus and external app. It is mandatory parameter.
birthDateDate of birth of participant.
genderGender of participant.
enrollmentDateDate of participant getting register.It is mandatory parameter.
studyIdExternal application study identifier. It is mandatory parameter.
appNameExternal Application Name to which caTissue Plus is integrated. It is mandatory parameter.

 

API Example :

URLhttp://<host>:<port>/catissuecore/rest/ng/notifications/registration
Requestapplication/json
MethodPOST
json

{

"ppId": "1234",

"gender": "Male Gender",

"enrollmentDate": "2014-01-01",

"birthDate": "1989-02-06",

"studyId": "CS1",

"appName": "OpenClinica"

}

Response{
status: "OK"
message: "Participant registered successfully"
exception: null
erroneousFields: null
cprDetail: { ppId: "1234", gender:"Male Gender", enrollmentDate: "2014-01-01", birthDate: "1989-02-06", studyId: "CS1", appName: "OpenClinica" }
}

 

Response Status :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
400All requestsInvalid parameters, e.g  duplicate label, duplicate barcode, invalid class Name etc
401All requestsAuthorization failed, User doesn’t have Authority to register participant for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations
  • No labels