Versions Compared

Key

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

Notification from External Application for Participant Registration :-

1) Register new participant 

MethodURL
POSTcatissuecore/rest/ng/notifications/
Requestapplication/json
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"
}
}

 

2) Update Participant Registration

MethodURL
PUTcatissuecore/rest/ng/notifications/
Requestapplication/json
json

{

"ppId": "1234",

"gender": "Female Gender",

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

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

"studyId": "CS1",

"appName": "Mirth"

}

...

Response

...

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

 

...

}