Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

URLopenspecimen/rest/ng/collection-protocol-registrations/
Request typeapplication/json
MethodPOST
json

{

   "participant":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "activityStatus":"Active",

   "registrationDate":"2014-04-21"

}

Response

{

   "id":5,

   "participant":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "activityStatus":"Active",

   "registrationDate":"2014-04-211398105000000"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
400All requestsInvalid parameters, e.g  duplicate UID, duplicate PPID etc
401All requestsAuthorization failed, User doesn’t have Authority to register Participant for the given collection protocol
500All requestsInternal server error, Encountered server error while performing operations