PUT api/external/v1/DepartmentCapacity?DepartmentId={DepartmentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DepartmentId

string

None.

Body Parameters

Collection of SFE.Common.PublicEntities.DepartmentCapacityVM
NameDescriptionTypeAdditional information
Id

integer

None.

DepartmentId

integer

None.

DepartmentAlphaNumId

string

None.

From

date

None.

To

date

None.

MileStoneId

integer

None.

MileStoneAlphaNumId

string

None.

MileStoneName

string

None.

WeeklySAH

integer

None.

StartFactor

integer

None.

ProjectedSAH

integer

None.

DaysInWeek

integer

None.

ProjectedWeeklySAH

integer

None.

FactorIncrement

integer

None.

NoUsers

integer

None.

ShiftTime

integer

None.

WeekNumbers

integer

None.

WeekIndex

integer

None.

Monday

integer

None.

Tuesday

integer

None.

Wednesday

integer

None.

Thursday

integer

None.

Friday

integer

None.

Saturday

integer

None.

Sunday

integer

None.

OnMonday

boolean

None.

OnTuesday

boolean

None.

OnWednesday

boolean

None.

OnThursday

boolean

None.

OnFriday

boolean

None.

OnSaturday

boolean

None.

OnSunday

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "departmentId": 1,
    "departmentAlphaNumId": "sample string 2",
    "from": "2024-11-15T03:55:08.2817267Z",
    "to": "2024-11-15T03:55:08.2817267Z",
    "mileStoneId": 5,
    "mileStoneAlphaNumId": "sample string 6",
    "mileStoneName": "sample string 7",
    "weeklySAH": 8,
    "startFactor": 9,
    "projectedSAH": 1,
    "daysInWeek": 7,
    "projectedWeeklySAH": 7,
    "factorIncrement": 10,
    "noUsers": 1,
    "shiftTime": 1,
    "weekNumbers": 1,
    "weekIndex": 1,
    "monday": 1,
    "tuesday": 1,
    "wednesday": 1,
    "thursday": 1,
    "friday": 1,
    "saturday": 1,
    "sunday": 1,
    "onMonday": true,
    "onTuesday": true,
    "onWednesday": true,
    "onThursday": true,
    "onFriday": true,
    "onSaturday": true,
    "onSunday": true
  },
  {
    "id": 1,
    "departmentId": 1,
    "departmentAlphaNumId": "sample string 2",
    "from": "2024-11-15T03:55:08.2817267Z",
    "to": "2024-11-15T03:55:08.2817267Z",
    "mileStoneId": 5,
    "mileStoneAlphaNumId": "sample string 6",
    "mileStoneName": "sample string 7",
    "weeklySAH": 8,
    "startFactor": 9,
    "projectedSAH": 1,
    "daysInWeek": 7,
    "projectedWeeklySAH": 7,
    "factorIncrement": 10,
    "noUsers": 1,
    "shiftTime": 1,
    "weekNumbers": 1,
    "weekIndex": 1,
    "monday": 1,
    "tuesday": 1,
    "wednesday": 1,
    "thursday": 1,
    "friday": 1,
    "saturday": 1,
    "sunday": 1,
    "onMonday": true,
    "onTuesday": true,
    "onWednesday": true,
    "onThursday": true,
    "onFriday": true,
    "onSaturday": true,
    "onSunday": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartmentCapacityVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities">
  <DepartmentCapacityVM>
    <DepartmentAlphaNumId>sample string 2</DepartmentAlphaNumId>
    <DepartmentId>1</DepartmentId>
    <FactorIncrement>10</FactorIncrement>
    <Friday>1</Friday>
    <From>2024-11-14T23:55:08.2817267-04:00</From>
    <Id>1</Id>
    <MileStoneAlphaNumId>sample string 6</MileStoneAlphaNumId>
    <MileStoneId>5</MileStoneId>
    <MileStoneName>sample string 7</MileStoneName>
    <Monday>1</Monday>
    <NoUsers>1</NoUsers>
    <OnFriday>true</OnFriday>
    <OnMonday>true</OnMonday>
    <OnSaturday>true</OnSaturday>
    <OnSunday>true</OnSunday>
    <OnThursday>true</OnThursday>
    <OnTuesday>true</OnTuesday>
    <OnWednesday>true</OnWednesday>
    <Saturday>1</Saturday>
    <ShiftTime>1</ShiftTime>
    <StartFactor>9</StartFactor>
    <Sunday>1</Sunday>
    <Thursday>1</Thursday>
    <To>2024-11-14T23:55:08.2817267-04:00</To>
    <Tuesday>1</Tuesday>
    <Wednesday>1</Wednesday>
    <WeekIndex>1</WeekIndex>
    <WeekNumbers>1</WeekNumbers>
    <WeeklySAH>8</WeeklySAH>
  </DepartmentCapacityVM>
  <DepartmentCapacityVM>
    <DepartmentAlphaNumId>sample string 2</DepartmentAlphaNumId>
    <DepartmentId>1</DepartmentId>
    <FactorIncrement>10</FactorIncrement>
    <Friday>1</Friday>
    <From>2024-11-14T23:55:08.2817267-04:00</From>
    <Id>1</Id>
    <MileStoneAlphaNumId>sample string 6</MileStoneAlphaNumId>
    <MileStoneId>5</MileStoneId>
    <MileStoneName>sample string 7</MileStoneName>
    <Monday>1</Monday>
    <NoUsers>1</NoUsers>
    <OnFriday>true</OnFriday>
    <OnMonday>true</OnMonday>
    <OnSaturday>true</OnSaturday>
    <OnSunday>true</OnSunday>
    <OnThursday>true</OnThursday>
    <OnTuesday>true</OnTuesday>
    <OnWednesday>true</OnWednesday>
    <Saturday>1</Saturday>
    <ShiftTime>1</ShiftTime>
    <StartFactor>9</StartFactor>
    <Sunday>1</Sunday>
    <Thursday>1</Thursday>
    <To>2024-11-14T23:55:08.2817267-04:00</To>
    <Tuesday>1</Tuesday>
    <Wednesday>1</Wednesday>
    <WeekIndex>1</WeekIndex>
    <WeekNumbers>1</WeekNumbers>
    <WeeklySAH>8</WeeklySAH>
  </DepartmentCapacityVM>
</ArrayOfDepartmentCapacityVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.