catissuecore/rest/ng/specimen/print-rules
Use this resource to create new print rule in the caTissue application. Use HTTP POST method to call this API by passing the below details in JSON format.
...
http[s]:<host>:<port>/catissuecore/rest/ng/specimen/print-rules
Use this URL to add print rule in caTissue application.
...
URL | http://<host>:<port>/ catissuecore/rest/ng/specimen/print-rules |
Method | POST |
Request | application/json |
json | { "name":"My PrintRule", "specimenClass" : "Fluid", "specimenType" : "Any", "labelType" : "Cap+Slide", "dataOnLabel" : ["Specimen Label","Specimen type","CP title","Created On"], "printerName" : "TB2", "workstationIP" : "127.0.0.1" } |
Response | { "id" : 1, "name":"My PrintRule", "specimenClass" : "Fluid", "specimenType" : "Any", "labelType" : "Cap+ Slide", "dataOnLabel" : ["Specimen Label","Specimen type","CP title","Created On"], "printerName" : "TB2", "workstationIP" : "127.0.0.1" } |
...