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

« Previous Version 2 Next »

Get Lens Receivings

Method accepts one argument, either a date in the format yyyymmdd, or a purchase order number.

This method returns all lenses received for either the date or purchase order specified.

Example request:

http://localhost:4567/api/lenses/receivings?po=00024614

returns

[{"tx-date":"20170627","tx-time":"15494572","stock-tx-type":"M","stock-tx-code":"C","stock-num":"966520","stock-description":"LVE SPST28 28 0425 0100 70","po-num":"00024614","tx-qty":0.0,"tx-qty-right":1.0,"tx-qty-left":0.0},{"tx-date":"20170627","tx-time":"15494573","stock-tx-type":"M","stock-tx-code":"C","stock-num":"857515","stock-description":"LVE SPSV 0625 70","po-num":"00024614","tx-qty":5.0,"tx-qty-right":0.0,"tx-qty-left":0.0},{"tx-date":"20170627","tx-time":"15524268","stock-tx-type":"M","stock-tx-code":"C","stock-num":"966520","stock-description":"LVE SPST28 28 0425 0100 70","po-num":"00024614","tx-qty":0.0,"tx-qty-right":0.0,"tx-qty-left":1.0},{"tx-date":"20170908","tx-time":"13072749","stock-tx-type":"M","stock-tx-code":"C","stock-num":"908602","stock-description":"LSILOSCSVD 0550 76 SBF","po-num":"00024614","tx-qty":10.0,"tx-qty-right":0.0,"tx-qty-left":0.0}]

  • No labels