Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

openspecimen/rest/ng/container-types/{container_type_id}

Use this resource to retrieve an existing container type details in the OpenSpecimen application. Use HTTP GET method to call this API.

http[s]:<host>:<port>/openspecimen/rest/ng/container-types/{container_type_id}

Use this URL to retrieve the container type for the given identifier.

Result:

URLhttp://<host>:<port>/openspecimen/rest/ng/container-types/1
MethodGET
Requestapplication/json

Response

{
  "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"
  }
}

 


  • No labels