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 Next »

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/get_posbydate?input=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"
  }
]
  • No labels