Get Breakage Codes (/breakages/codes)
Get breakage codes
This method accepts no arguments, and returns a list of all breakage codes set up in Rx-Universe.
Note, the lab must be using the following option for breakage codes on the Orders2 tab in System Settings:
Example request.
http://localhost:4567/api/breakages/codes
returns
[
{
"code": "AXIS",
"desc": "AXIS"
},
{
"code": "COAT",
"desc": "COATING"
},
{
"code": "CRAZING",
"desc": "CRAZING"
},
{
"code": "PITS",
"desc": "PITS"
},
{
"code": "POWER",
"desc": "POWER"
},
{
"code": "PRISM",
"desc": "PRISM"
},
{
"code": "SCRATCH",
"desc": "SCRATCH"
},
{
"code": "THICK",
"desc": "TOO THICK"
},
{
"code": "THIN",
"desc": "TOO THIN"
}
]
Â