API Details
POST Api/OLR/{unitId}/{fyopWeekId}/Staffing
Adjust staffing for a specific job and shift
Request Information
Parameters
| Name | Description |
|---|---|
| unitId | Unit ID |
| fyopWeekId | FYOP and week ID |
| body | Contains the day number, staffing breakdown ID, shift ID, and job code |
Request body formats
application/json, text/json
Sample:
{
"BreakdownID": 1,
"DayNumber": 2,
"ShiftID": 3,
"JobCode": "sample string 4"
}
application/x-www-form-urlencoded
Sample:
Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AdjustStaffingApiRequest'.
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"
},
"shift_job_item": {
"day": 1,
"shft": 2,
"job": "sample string 3",
"basebrk": 4,
"adjbrk": 5,
"pplhrs": "sample string 6",
"diff": "sample string 7",
"chg": true
}
}
