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 3 Next »

This API is available to delete the specimen.

Api :

URLcatissuecore/rest/ng/specimens/{specimen_id}?includeChildren={true/false}
Content-typeapplication /json
MethodDELETE

Response

"success"

 

Parameter Details :

{specimen_id} :  Specimen Id.

includeChildren: with this variable client can specify that whether to delete this specimen only or to delete all including child specimens.

default value: false, permissible values: true/false

 

 Error Cases :

code
Applies to
Status Message
200All resourcesSpecimen has been deleted successfully
400All requestsIf any active children found for this Specimen
401All requestsAuthorization failed, User doesn’t have privileges to delete this specimen
404All requestsSpecimen not found, Specimen with given identifier is not present in the system
500All requestsInternal server error, Encountered server error while performing operations
  • No labels