Versions Compared

Key

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

...

The response of this request will contains the details of the created roleprint rule.

Below is the example of the create roleprint rule:

URLhttp://<host>:<port>/catissuecore/rest/ng/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"    

}

...