openspecimen/rest/ng/container-types/{container_type_Id}
...
URL | http://<host>:<port>/ openspecimen/rest/ng/container-types/1 |
Method | DELETE |
Response | Code Block |
---|
language | js |
---|
theme | Eclipse |
---|
linenumbers | true |
---|
| {
"id": 1,
"name": "Freezer",
"nameFormat": "F-%SITE_UID%",
"noOfColumns": 5,
"noOfRows": 5,
"columnLabelingScheme": "Numbers",
"rowLabelingScheme": "Numbers",
"temperature": -80,
"storeSpecimenEnabled": false,
"activityStatus": "Active",
"canHold": {
"id": 2,
"name": "Rack",
"nameFormat": "%PCONT_NAME%-RK-%PCONT_UID%",
"noOfColumns": 10,
"noOfRows": 10,
"columnLabelingScheme": "Numbers",
"rowLabelingScheme": "Numbers",
"temperature": -90,
"storeSpecimenEnabled": true,
"activityStatus": "Active"
}
} |
|
Error Cases :
| | |
---|
200 | All resources | Container type has been deleted successfully |
404 | All requests | Container type with given identifier not found. |
401 | All requests | Authorization failed, user doesn’t have authority |
500 | All requests | Internal server error, encountered server error while performing operations |