API Details

GET Api/OLR/{unitId}/{fyopWeekId}/Staffing

Get staffing for a specific week, fyop and unit

Request Information

Parameters

NameDescription
unitId
Unit ID
fyopWeekId
FYOP and week ID

Response Information

Response body formats

application/json, text/json

Sample:
{
  "header": {
    "unitid": 1,
    "opwkid": 2,
    "op": 3,
    "wk": 4,
    "canedt": true,
    "cancpy": true,
    "canrst": true,
    "ver": "sample string 8",
    "cer": true,
    "cerdt": "sample string 10",
    "cerby": "sample string 11",
    "lastadjdt": "sample string 12",
    "lastadjby": "sample string 13",
    "fav": true,
    "note": "sample string 15",
    "praccntp": "sample string 16",
    "pracctp": "sample string 17",
    "colorntp": "sample string 18",
    "colortp": "sample string 19"
  },
  "days": [
    {
      "day": 1,
      "desc": "sample string 2",
      "hol": true,
      "canedt": true
    },
    {
      "day": 1,
      "desc": "sample string 2",
      "hol": true,
      "canedt": true
    },
    {
      "day": 1,
      "desc": "sample string 2",
      "hol": true,
      "canedt": true
    }
  ],
  "shift_items": [
    {
      "day": 1,
      "shft": 2,
      "lsls": 3,
      "psls": 4,
      "basepsls": 5,
      "ltgsls": 6,
      "ptgsls": 7,
      "note": "sample string 8"
    },
    {
      "day": 1,
      "shft": 2,
      "lsls": 3,
      "psls": 4,
      "basepsls": 5,
      "ltgsls": 6,
      "ptgsls": 7,
      "note": "sample string 8"
    },
    {
      "day": 1,
      "shft": 2,
      "lsls": 3,
      "psls": 4,
      "basepsls": 5,
      "ltgsls": 6,
      "ptgsls": 7,
      "note": "sample string 8"
    }
  ],
  "shift_job_items": [
    {
      "day": 1,
      "shft": 2,
      "job": "sample string 3",
      "basebrk": 4,
      "adjbrk": 5,
      "pplhrs": "sample string 6",
      "diff": "sample string 7",
      "chg": true
    },
    {
      "day": 1,
      "shft": 2,
      "job": "sample string 3",
      "basebrk": 4,
      "adjbrk": 5,
      "pplhrs": "sample string 6",
      "diff": "sample string 7",
      "chg": true
    },
    {
      "day": 1,
      "shft": 2,
      "job": "sample string 3",
      "basebrk": 4,
      "adjbrk": 5,
      "pplhrs": "sample string 6",
      "diff": "sample string 7",
      "chg": true
    }
  ]
}
URI parameters
=
Headers | Add header
: Delete
Body
Samples:
Status
Headers
Body