...
Parameter | Details |
---|---|
title | Collection protocol title.Unique in the application |
shortTitle | Collection protocol short title. Unique in the application |
startDate | Collection protocol starting date |
endDate | Collection protocol end date |
principalInvestigatorId | Principal investigator on CP Mainly contains following parameters : loginName : User login name. For this specified user must be present in application. domainName: Name of domain to which user belongs to. By default it will be catissue. |
cpSiteRoles | It is collection of Sites and Roles with respect to CP. By default it will be none. i.e. Blank collection. Mainly contains following parameters : roleName : Role of user like Scientist, Admin etc. For this attribute role must be present in application. siteName: Site name. For this attribute Site must be present in application.
|
...
URL | http://<host>:<port>/ catissuecore/rest/ng/collection-protocols |
Method | POST |
Request | application/json |
json | { "title":"My Cp", "shortTitle": "CpM", "startDate" : "2014-07-23", "endDate" : "2018-07-23", "principalInvestigatorId" : 1 "principalInvestigator" : {"loginName" : "admin@admin.com", "domainName" :"catissue"}, "cpSiteRoles" : { "siteName" : "My Site", "roleName" : "Scientist" } } |
Response | { "id" : 1, "title":"My Cp", "shortTitle": "CpM", "startDate" : "2014-07-23", "endDate" : "2018-07-23", "principalInvestigatorId" : 1 "principalInvestigator" : {"loginName" : "admin@admin.com", "domainName" :"catissue"}, "cpSiteRoles" : { "id" : 1, "siteName" : "My Site", "roleName" : "Scientist" } } |
...