catissuecore/rest/ng/print-rules/{ruleName}
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 |
---|---|
ruleName | Name of the Print Rule that user wanted to delete |
http[s]:<host>:<port>/catissuecore/rest/ng/print-rules/{ruleName}
Use this URL to delete print rule in caTissue 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:
URL | http://<host>:<port>/ catissuecore/rest/ng/print-rules/{rukeName} |
Method | DELETE |
Request | application /json |
Response | "success" |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Print rule has been deleted successfully |
401 | All requests | Authorization failed, User doesn’t have Authority |
404 | All requests | Print rule not found, Print rule with given details not present in the system |
500 | All requests | Internal server error, Encountered server error while performing operations |