...
URL | http://<host>:<port>/ openspecimen/rest/ng/storage-containers |
Method | GET |
Request | application/json |
Response | [ { "id" : 1, "name":"Container1", "barcode":"2-edpwesdadas-343", "activityStatus":"Active", "createdBy" : { "loginName" : "admin@admin.com", "domainName" :"catissue" }, "siteName":"My Site", "parentContainerName": "Freezer" }, { "id" : 2, "name":"Container2", "barcode":"2-edpwesdadas-3", "activityStatus":"Activeactive", "createdBy" : { "loginName" : "admin@admin.com", "domainName" :"catissue" }, "siteName":"My Site", "parentContainerName": "Freezerfreezer" }]
|
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Storage containers got successfully |
401 | All requests | Authorization failed, User user doesn’t have Authorityauthority |
500 | All requests | Internal server error, Encountered encountered server error while performing operations |