Versions Compared

Key

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

Post Lens Count

This method is used to accept lens counts by accepting OPC and a Quantity.

Example

A POST request to: “http://localhost:4567/api/lenses/count

A request body of:

{
"OPC": "0200219038",
"New count": 12
}

returns:

{   "stock-num": "907245",   "stock-desc": "LSILOSPSV         0100         76",   "opc": "0200219038",   "lenses-counted": 12,   "variance": 4 }