Leave a comment at the end of this page or email contact@krishagni.com
Get All Consent-tiers
openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers
Use this resource to get consent-tiers for collection protocol. This API returns all the consent-tiers for given collection protocol present in the openSpecimen application. Use HTTP GET method to call this API by passing the below parameters.
Below are the attributes which need to be sent in the request body:
Parameter | Details |
---|---|
cpId | Collection Protocol Id |
http[s]:<host>:<port>/openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers
Use this URL to get all consent-tier for Collection Protocol in the OpenSpecimen application.
Result:
The response of this request will contains the details of the all consent-tier for given collection protocol
Below is the example of the get all consent-tier:
URL | http://<host>:<port>/ openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers |
Method | GET |
Response | [ { "cpId": null, "id": 7, "statement": "Consent to store the samples for research" },{ "cpId": null, "id": 8, "statement": "Consent to process DNA" },{ "cpId": null, "id": 9, "statement": "Consent to dispatch the samples to outside researchers" },{ "cpId": null, "id": 18, "statement": "Consent to process fixed tissue for long term storage" } ] |
Leave a comment at the end of this page or email contact@krishagni.com