Versions Compared

Key

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

...

http[s]:<host>:<port>/openspecimen/rest/ng/storage-containers/{containerIdid}

Use this URL to update storage container in openSpecimen application.

...

URLhttp://<host>:<port>/openspecimen/rest/ng/storage-containers/{containerId}1
MethodPUT
Requestapplication/json
json

{

"name":"Container1",

"barcode":"2-edpwesdadas-343",

"activityStatus":"Active",

"createdBy" : {

              "loginName" : "admin@admin.com",

              "domainName" :"catissue"

},

"tempratureInCentigrade":22.22,

"siteName":"My Site",

"parentContainerName": "Freezer",

"holdsCPTitles":["Cp1","My CP"],

"holdsSpecimenTypes" : ["Bloodblood","Tissuetissue"],

"comments":"Blah blah blah",

"oneDimensionCapacity":10,

 "twoDimensionCapacity":10

}

Response

{

"id" : 1,

"name":"Container1",

"barcode":"2-edpwesdadas-343",

"activityStatus":"Active",

"createdBy" : {

              "loginName" : "admin@admin.com",

              "domainName" :"catissue"

},

"tempratureInCentigrade":22.22,

"siteName":"My Site",

"parentContainerName": "Freezer",

"holdsCPTitles":["Cp1","My CP"],

"holdsSpecimenTypes" : ["Bloodblood","Tissuetissue"],

"comments":"Blah blah blah",

"oneDimensionCapacity":10,

 "twoDimensionCapacity":10,

"oneDimentionalLabellingScheme ": "Numbers",

"twoDimentionalLabellingScheme ": "Numbers"

}

...