Versions Compared

Key

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

catissuecore/rest/ng/s torage-containers/{storageContainerId}

Use this resource to close the Storage Container. Use HTTP DELETE method to call this API by passing the below details in JSON format.

 

Below are the attributes which need to be sent in the request body:

Parameter
Details
StorageContainerIdId of the Storage Container


http[s]:<host>:<port>/catissuecore/rest/ng/storage-containers

Use this URL to close Storage Container in caTissue application.


Result:

The response of this request will contains the details of the closed Storage Container.

Below is the example of the close Storage Container :

URLhttp://<host>:<port>/catissuecore/rest/ng/storage-containers/{storageContainerId}
MethodDELETE
Requestapplication /json

Response

"success"

 

 Error Cases :

code
Applies to
Status Message
200All resourcesStorageContainer has been closed successfully
401All requestsAuthorization failed, User doesn’t have Authority
404All requestsStorageContainer not found, StorageContainer with given details not present in the system
500All requestsInternal server error, Encountered server error while performing operations