Versions Compared

Key

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

...

URLhttp://<host>:<port>/catissuecore/rest/ng/specimen/print-rules
MethodPOST
Requestapplication/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"    

}

...