Versions Compared

Key

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

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/breakagecodesbreakages/codes

returns

Code Block
[
  {
    "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"
  }
]

...