Get Purchase Orders (/pos/date)

Get Purchase Orders By Date

Method accepts one argument, a date in the format yyyymmdd. 

This method returns a list of purchase orders that were created on that date, with information about each purchase order.


Example request:

http://localhost:4567/api/pos/date?date=20170908

returns

[
  {
    "po-num": "00024615",
    "po-vendor": "AO",
    "po-status": "released",
    "po-open-lines": "000302",
    "po-closed-lines": "000000"
  },
  {
    "po-num": "00024616",
    "po-vendor": "CONA",
    "po-status": "open",
    "po-open-lines": "000002",
    "po-closed-lines": "000000"
  },
  {
    "po-num": "00024617",
    "po-vendor": "HOYA",
    "po-status": "released",
    "po-open-lines": "000157",
    "po-closed-lines": "000000"
  },
    {
    "po-num": "00024626",
    "po-vendor": "ZEIS",
    "po-status": "open",
    "po-open-lines": "000026",
    "po-closed-lines": "000000"
  }
]