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

Version 1 Current »

openspecimen/rest/ng/collection-protocol-registrations/{registration_id}/consent-form

Use this resource to download the uploaded consent form. Use HTTP GET method to call this API.

Here registration_id refers to the actual identifier of the registration for which the user wants to download the consent form.

 

http[s]:<host>:<port>/openspecimen/rest/ng/collection-protocol-registrations/{registration_id}/consent-form

Use this URL to download the uploaded consent form.

Result:

The response of this request will contains the details of the requested registration.

Below is the example of the update participant:

URLhttp[s]:<host>:<port>/openspecimen/rest/ng/collection-protocol-registrations/3/consent-form
MethodGET
content-typeapplication/json
response

This will return a binary file contents.

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
401All requestsAuthorization failed, User doesn’t have privileges to register Participants
404All requestsRegistration not found, Registration with the given identifier is not present in the system
500All requestsInternal server error, Encountered server error while performing operations
  • No labels