openspecimen/rest/ng/biohazards/{biohazardId}
...
Parameter | Details |
---|---|
biohazardId | biohazard id to fetch the biohazard |
http[s]:<host>:<port>/openspecimen/rest/ng/biohazards/{biohazardId}
...
URL |
|
Method | GET |
Request | application/json |
Response | { biohazardId: 3 name: "Cr-51" type: "infectious" comment: "Something " activityStatus:"Active" } |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | biohazard got successfully |
401 | All requests | Authorization failed, user doesn’t have authority |
500 | All requests | Internal server error, encountered server error while performing operations |