...
http[s]:<host>:<port>/openspecimen/rest/ng/storage-containers/{containerIdid}
Use this URL to update storage container in openSpecimen application.
...
URL | http://<host>:<port>/ openspecimen/rest/ng/storage-containers/{containerId}1 |
Method | PUT |
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" : ["Bloodblood","Tissuetissue"], "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" : ["Bloodblood","Tissuetissue"], "comments":"Blah blah blah", "oneDimensionCapacity":10, "twoDimensionCapacity":10, "oneDimentionalLabellingScheme ": "Numbers", "twoDimentionalLabellingScheme ": "Numbers" } |
...