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 3 Current »

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
idCollection 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

http://<host>:<port>/openspecimen/rest/ng/collection-protocol-events/1

MethodGET
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
200All resourcesCollection protocol event got successfully
401All requestsAuthorization failed, user doesn’t have authority
500All requestsInternal server error, encountered server error while performing operations

 


  • No labels