Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Get breakage information for a particular date


Method takes one optional argument, the date for which to return breakage.  If no date is specified, the current system date is used.


Example:

http://localhost:4567/api/get_breakage?date=20190710


Input - 1 parameter, date for which breakage numbers are being requested


returns the breakage codes used that day, and the number of LENSES broken for each code.  (TOTAL is the total of all lenses broken)

[
  {
    "code": "TOTAL",
    "num": "        6"
  },
  {
    "code": "AXIS",
    "num": "        2"
  },
  {
    "code": "POWER",
    "num": "        3"
  },
  {
    "code": "SCRATCH",
    "num": "        1"
  }
]
  • No labels