Versions Compared

Key

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

openspecimen/rest/ng/print-rules/{ruleId}

...

URL

http://<host>:<port>/catissuecore/rest/ng/print-rules/3

or

http://<host>:<port>/catissuecore/rest/ng/print-rules/name=My PrintRule

MethodGET
Requestapplication/json

Response

{
id3
name"My PrintRule"
specimenClass"Fluidfluid"
specimenType"Anyany"
labelType"Cap+Slide"
workstationIP"127.0.0.1"
dataOnLabel
[
2]
0:  "Specimen type"
1:  "Specimen Label"
-
printerName"TB2"
cpShortTitle"SCS_CP"
loginName
{
loginName"admin@admin.com"
domainName"catissue"
}
-
}

 

Error Cases :

code
Applies to
Status Message
200All resourcesPrint rule got successfully
401All requestsAuthorization failed, user doesn’t have authority
500All requestsInternal server error, encountered server error while performing operations