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 content. View the current version.

Compare with Current View Version History

« Previous Version 3 Next »

This API is available to update a Registeration.

List of mandatory fields:

  1. id
  2. cpId
  3. ppId
  4. barcode
  5. activityStatus
  6. registrationDate
URLcatissuecore/rest/ng/collection-protocol-registrations/{id}
Request typeapplication/json
MethodPUT
json

{

   "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 resourcesRegistration update 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