/
Add Consent-tier
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Add Consent-tier

openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers

Use this resource to add consent-tier for Collection Protocol in the OpenSpecimen application. Use HTTP POST method to call this API by passing the below details in JSON format.

Below are the attributes which need to be sent in the request body:

Parameter
Details
cpIdCollection Protocol Id
statementconsent-tier statement


http[s]:<host>:<port>/openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers

Use this URL to add consent-tier for Collection Protocol in the OpenSpecimen application.

Result:

The response of this request will contains the details of the added  consent-tier

Below is the example of the add consent-tier:

URLhttp://<host>:<port>/openspecimen/rest/ng/collection-protocols/{cpId}/consent-tiers
MethodPOST
Requestapplication/json
json
{
     "statement": "Consent to store the samples for research"
}

Response

{
    "id" : "1",
    "statement": "Consent to store the samples for research"
}

 


Related content

Get All Consent-tiers
Get All Consent-tiers
Read with this
Get Consents
Get Consents
Read with this
Label configuration
Label configuration
Read with this
REST APIs
REST APIs
Read with this
Configure Consents in Participant overview page
Configure Consents in Participant overview page
Read with this
Attribute Types Examples
Attribute Types Examples
Read with this
Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com