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

« Previous Version 5 Next »

This API is available for Registering a participant

List of mandatory fields:

  1. participantDetail
  2. cpId
  3. ppId
  4. barcode
  5. activityStatus
  6. registrationDate
URLcatissuecore/rest/ng/collection-protocols/{cp_Id}/registrations
Request typeapplication/json
MethodPOST
json

{

   "participantDetail":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "barcode":"barcode1",

   "activityStatus":"Active",

   "registrationDate":"2014-04-21"

}

Response

{

   "id":5,

   "participantDetail":{

      "id":2

   },

   "cpId":1,

   "ppid":"ASCI123",

   "barcode":"barcode1",

   "activityStatus":"Active",

   "registrationDate":"2014-04-21"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesParticipant registered successfully
400All requestsInvalid parameters, e.g  duplicate barcode, 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
  • No labels