Versions Compared

Key

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

...

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

Use this URL to add participant in OpenSpecimen application.

...

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-21"

}

...