Versions Compared

Key

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

catissuecore/rest/ng/distributionprotocols

Use this resource to create new destribution protocol in the caTissue application. Use HTTP POST method to call this API by passing the below details in JSON format.

Below are the attributes which need to be sent in the request body:

Parameter
Details
Principal InvestigatorName of investigator
Title 
Short Title 
IRB ID 
Start Date 
Number of Specimen Anticipated 
Description URL

 

 

http[s]:<host>:<port>/catissuecore/rest/ng/distributionprotocols

Use this URL to add distribution protocol in caTissue application.

 

Result:

The response of this request will contains the details of the created distribution protocol.

Below is the example of the create distribution protocol:

 

URLhttp://<host>:<port>/catissuecore/rest/ng/distributionprotocols
MethodPOST
Requestapplication/json
json

{

"principal_investigator" : "Admin Admin",

"title" : "CPOProtocol",

"short_title" : "CPOP",

"IRB_ID" : "IRB004",

"start_date" : "06-10-2014",

"number_of_participants _anticipated" : 56,

"description_url" : "www.simpleurl.com"
}

Response

{

"principal_investigator" : "Admin Admin",

"title" : "CPOProtocol",

"short_title" : "CPOP",

"IRB_ID" : "IRB004",

"start_date" : "06-10-2014",

"number_of_participants _anticipated" : 56,

"description_url" : "www.simpleurl.com"

}

 

Error Cases :

code
Applies to
Status Message
200All resourcesDistribution Protocol has been created successfully
400All requestsInvalid parameters, e.g  duplicate Protocol Name, blank Protocol Name etc
401All requestsAuthorization failed, User doesn't have Authority
500All requestsInternal server error, Encountered server error while performing operations