Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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

Parametere Parameter Details : 

Update Participant Registration REST API takes following parameters through json request

...

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

{

"ppId": "1234",

"gender": "Female Gender",

"enrollmentDate": "2014-29-12",

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

"studyId": "CS1",

"appName": "Mirth"

}

Response

{
status: "OK"
message: "Participant registration updated successfully"
exception: null
erroneousFields: null
cprDetail: { ppId: "1234", gender:"Male Gender", enrollmentDate: "2014-29-12", birthDate: "1989-02-06", studyId: "CS1", appName: "OpenClinicaMirth"}

}


Response Status :

code
Applies to
Status Message
200All resourcesParticipant registration updated successfully
400All requestsInvalid parameters, e.g  duplicate ppId, invalid studyId, invalid applicationName etc
401All requestsAuthorization failed, User doesn’t doesn't have Authority to update participant registration for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations