Versions Compared

Key

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

catissuecoreopenspecimen/rest/ng/print-rules/{ruleNamename}

Use this resource to delete the print rule. 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
ruleNamenameName of the Print Rule print rule that user wanted wants to delete


http[s]:<host>:<port>/catissuecoreopenspecimen/rest/ng/print-rules/{ruleNamename}

Use this URL to delete print rule in caTissue openSpecimen application.


Result:

The response of this request will contains the details of the deleted print rule.

Below is the example of the delete print rule:

URLhttp://<host>:<port>/catissuecoreopenspecimen/rest/ng/print-rules/{rukeName}MyRule
MethodDELETE
Requestapplication /json

Response

"success"

...

code
Applies to
Status Message
200All resourcesPrint rule has been deleted successfully
401All requestsAuthorization failed, User user doesn’t have Authorityauthority
404All requestsPrint rule not found, Print print rule with given details not present in the system
500All requestsInternal server error, Encountered encountered server error while performing operations