catissuecore/rest/ng/specimen/print-rules
...
URL | http://<host>:<port>/ catissuecore/rest/ng/specimen/print-rules |
Method | POST |
Request | application/json |
json | { |
Response | { id: 3 name: "My PrintRule" specimenClass: "Fluid" specimenType: "Any" labelType: "Cap+Slide" workstationIP: "127.0.0.1" dataOnLabel: [ 2]0: "Specimen type" 1: "Specimen Label" - printerName: "TB2" cpShortTitle: "SCS_CP" } |
Error Cases :
code | Applies to | Status Message |
---|---|---|
200 | All resources | Print rule has been created successfully |
400 | All requests | Invalid parameters, e.g duplicate Print rule name, blank Print rule name etc |
401 | All requests | Authorization failed, User doesn’t have Authority |
500 | All requests | Internal server error, Encountered server error while performing operations |