Get Historical WIP (/wip/30days)

Get WIP for the past 30 days

Can be invoked with no arguments to start at current date, or with a single argument

If using an argument, use the form "/wip/30days?end_date=20190520" (starts at 20 May 2019 and goes back 30 days).


Example:

http://localhost:4567/api/wip/30days (current date is 18 January 2019 in this example)

returns

[
  {
    "date": "20190118",
    "jobs-in": "       20",
    "jobs-completed": "       18",
    "jobs-wip": "      145",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190117",
    "jobs-in": "       30",
    "jobs-completed": "       23",
    "jobs-wip": "      142",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190116",
    "jobs-in": "       40",
    "jobs-completed": "       50",
    "jobs-wip": "      133",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190115",
    "jobs-in": "       41",
    "jobs-completed": "       44",
    "jobs-wip": "      140",
    "jobs-cancelled": "        6",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190114",
    "jobs-in": "       33",
    "jobs-completed": "       30",
    "jobs-wip": "      148",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190113",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190112",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190111",
    "jobs-in": "       30",
    "jobs-completed": "       47",
    "jobs-wip": "      143",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190110",
    "jobs-in": "       56",
    "jobs-completed": "       44",
    "jobs-wip": "      159",
    "jobs-cancelled": "        3",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190109",
    "jobs-in": "       42",
    "jobs-completed": "       25",
    "jobs-wip": "      145",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190108",
    "jobs-in": "       39",
    "jobs-completed": "       23",
    "jobs-wip": "      127",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190107",
    "jobs-in": "       34",
    "jobs-completed": "       28",
    "jobs-wip": "      104",
    "jobs-cancelled": "        3",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190106",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190105",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190104",
    "jobs-in": "       22",
    "jobs-completed": "       27",
    "jobs-wip": "      100",
    "jobs-cancelled": "        1",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190103",
    "jobs-in": "       49",
    "jobs-completed": "       32",
    "jobs-wip": "      105",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190102",
    "jobs-in": "       45",
    "jobs-completed": "       70",
    "jobs-wip": "       72",
    "jobs-cancelled": "        3",
    "jobs-transferred": "        0"
  },
  {
    "date": "20190101",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181231",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181230",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181229",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181228",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181227",
    "jobs-in": "       15",
    "jobs-completed": "       29",
    "jobs-wip": "       93",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181226",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181225",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181224",
    "jobs-in": "       23",
    "jobs-completed": "       41",
    "jobs-wip": "      108",
    "jobs-cancelled": "        1",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181223",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181222",
    "jobs-in": "        0",
    "jobs-completed": "        0",
    "jobs-wip": "        0",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181221",
    "jobs-in": "       22",
    "jobs-completed": "       26",
    "jobs-wip": "      125",
    "jobs-cancelled": "        1",
    "jobs-transferred": "        0"
  },
  {
    "date": "20181220",
    "jobs-in": "       40",
    "jobs-completed": "       46",
    "jobs-wip": "      128",
    "jobs-cancelled": "        0",
    "jobs-transferred": "        0"
  }
]