openspecimen/rest/ng/collection-protocols-events/{id}
Use this resource to get collection protocol Event. This API returns the collection protocol event present in the openSpecimen application of given id.
Below are the attributes which need to be sent in the URL:
Parameter | Details |
---|---|
id | Collection protocol event id to fetch the collection protocol event |
http[s]:<host>:<port>/openspecimen/rest/ng/collection-protocol-events/{id}
Use this URL to get collection protocol event by an id in openSpecimen application
Result:
The response of this request will contains the details of the collection protocol event.
Below is the example of the get collection protocol event:
URL |
|
Method | GET |
Response | { "id": 4, "eventLabel": "Baseline", "eventPoint": 10, "collectionProtocol": "Planned Clinical Study", "defaultSite": "Arkansas Hospital", "clinicalDiagnosis": "Not Specified", "clinicalStatus": "Not Specified", "activityStatus": "Active", "code": null, "specimenRequirements": null } |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Collection protocol event got successfully |
401 | All requests | Authorization failed, user doesn’t have authority |
500 | All requests | Internal server error, encountered server error while performing operations |