Versions Compared

Key

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

This API is available to delete the specimen.

Api :

Method
URL
DELETEcatissuecore/rest/ng/specimens/{specimen_id}?includeChildren={true/false}
Requestapplication /json

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