Versions Compared

Key

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

/openspecimen/rest/ng/visits/{visitId}


This rest api is used to add update visit of registered participant. Use HTTP PUT method to call this api by passing below details in json format.

...

URLopenspecimen/rest/ng/visits/1
Request typeapplication/json
MethodPOSTPUT
json

{
"name": "LP-5600-W0-PD",
"code": "1",
"cpTitle": "Lung Cancer Protocol",
"cprId": 101,
"eventId": 1,
"eventLabel": "Initial Visit",
"eventPoint": 0,
"clinicalDiagnosis": "Not Specified",
"clinicalStatus": "Operative",
"activityStatus": "Active",
"site": "Site 1",
"visitDate": 23-11-2015,
"status": "Complete",
"surgicalPathologyNumber": "1234567"
}

Response

{

 "id": 1
"name": "LP-5600-W0-PD",
"code": "1",
"cpTitle": "Lung Cancer Protocol",
"cprId": 101,
"eventId": 1,
"eventLabel": "Initial Visit",
"eventPoint": 0,
"clinicalDiagnosis": "Not Specified",
"clinicalStatus": "Operative",
"activityStatus": "Active",
"site": "Site 1",
"visitDate": 23-11-2015,
"status": "Complete",
"surgicalPathologyNumber": "1234567"
}

...