Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Use HTTP GET method to call this API by passing the below optional request parameters.

 

ParameterDetails
nameContainer type name for search
canHoldName of holding container type. Ex: To search containers who types which holds 'Boxes'
exactMatchFlag to specify whether to perform exact match or not.
startAtstart index of the results
maxResultsMaximum number of records to fetch. By default it will be 1000100


Result:

The response of this request will contains the list of matching criteria container types

...

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

Response

 

 

Code Block
languagejs
linenumberstrue
[
 {
 "id": 1,
 "name": "Box",
 "nameFormat": "%PCONT_NAME%-B-%PCONT_ALPHA_SEQ%",
 "noOfColumns": 9,
 "noOfRows": 10,
 "columnLabelingScheme": "Alphabets Upper Case",
 "rowLabelingScheme": "Alphabets Upper Case",
 "temperature": -90,
 "storeSpecimenEnabled": true,
 "activityStatus": "Active"
 },
 {
 "id": 3,
 "name": "Freezer",
 "nameFormat": "FD-%SITE_UID%",
 "noOfColumns": 6,
 "noOfRows": 6,
 "columnLabelingScheme": "Numbers",
 "rowLabelingScheme": "Numbers",
 "temperature": -90,
 "storeSpecimenEnabled": false,
 "activityStatus": "Active"
 },
 {
 "id": 2,
 "name": "Rack",
 "nameFormat": "%PCONT_NAME%-RK-%PCONT_UID%",
 "noOfColumns": 10,
 "noOfRows": 10,
 "columnLabelingScheme": "Numbers",
 "rowLabelingScheme": "Numbers",
 "temperature": -90,
 "storeSpecimenEnabled": true,
 "activityStatus": "Active"
 }
]