...
URL | http://<host>:<port>/ catissuecoreopenspecimen/rest/ng/storage-containers |
Method | POST |
Request | application/json |
json | { "name":"Container1", "barcode":"2-edpwesdadas-343", "activityStatus":"ACTIVE", "createdBy" : { "loginName" : "admin@admin.com", "domainName" :"catissue" }, "tempratureInCentigrade":22.22, "siteName":"My Site", "parentContainerName": "freezer", "holdsCPTitles":["Cp1","My CP"], "holdsSpecimenTypes" : ["blood","tissue"], "comments":"Blah blah blah", "oneDimensionCapacity":10, "twoDimensionCapacity":10 } |
Response | { "id" : 1, "name":"Container1", "barcode":"2-edpwesdadas-343", "activityStatus":"ACTIVE", "createdBy" : { "loginName" : "admin@admin.com", "domainName" :"catissue" }, "tempratureInCentigrade":22.22, "siteName":"My Site", "parentContainerName": "freezer", "holdsCPTitles":["Cp1","My CP"], "holdsSpecimenTypes" : ["blood","tissue"], "comments":"Blah blah blah", "oneDimensionCapacity":10, "twoDimensionCapacity":10, "oneDimentionalLabellingScheme ": "numbers", "twoDimentionalLabellingScheme ": "numbers" } |
...