/
Get registration
Got feedback or spotted a mistake?

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

Get registration


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

Use this resource to retrieve an existing registration's details in the OpenSpecimen application. Use HTTP GET method to call this API.

Here registration_id refers to the actual identifier of the registration to which user wants to retrieve.

 

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

Use this URL to retrieve the registration for the given identifier.

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
MethodGET
content-typeapplication/json
response
{
id: 3
participant: {
id: 2
firstName: "John"
lastName: "Cena"
activityStatus: "Active"
registeredCps: [
1]0:  "planned protocol"
-
}
-
cpId: 2
cpTitle: "planned protocol"
cpShortTitle: "planned protocol"
ppid: "ASCI1234"
activityStatus: "Active"
registrationDate: 1398018600000
}

 

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

Related content

Collection Protocol Registration
Collection Protocol Registration
Read with this
Create Registration
Create Registration
Read with this
Get Participant
Get Participant
Read with this
REST API Invoker
REST API Invoker
Read with this
Get Registrations
Get Registrations
Read with this
REST APIs
REST APIs
Read with this
Got feedback or spotted a mistake?

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