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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DepartmentId

string

None.

Body Parameters

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

integer

None.

DepartmentId

integer

None.

DepartmentAlphaNumId

string

None.

From

date

None.

To

date

None.

Monday

integer

None.

Tuesday

integer

None.

Wednesday

integer

None.

Thursday

integer

None.

Friday

integer

None.

Saturday

integer

None.

Sunday

integer

None.

ProductCategoryAlphaNumId

string

None.

ProductCategoryName

string

None.

ProductCategoryId

integer

None.

StyleChangingBonus

decimal number

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "departmentId": 1,
    "departmentAlphaNumId": "sample string 2",
    "from": "2024-11-14T15:30:24.0133087Z",
    "to": "2024-11-14T15:30:24.0133087Z",
    "monday": 5,
    "tuesday": 6,
    "wednesday": 7,
    "thursday": 8,
    "friday": 9,
    "saturday": 10,
    "sunday": 11,
    "productCategoryAlphaNumId": "sample string 12",
    "productCategoryName": "sample string 13",
    "productCategoryId": 14,
    "styleChangingBonus": 15.0
  },
  {
    "id": 1,
    "departmentId": 1,
    "departmentAlphaNumId": "sample string 2",
    "from": "2024-11-14T15:30:24.0133087Z",
    "to": "2024-11-14T15:30:24.0133087Z",
    "monday": 5,
    "tuesday": 6,
    "wednesday": 7,
    "thursday": 8,
    "friday": 9,
    "saturday": 10,
    "sunday": 11,
    "productCategoryAlphaNumId": "sample string 12",
    "productCategoryName": "sample string 13",
    "productCategoryId": 14,
    "styleChangingBonus": 15.0
  }
]

application/xml, text/xml

Sample:
<ArrayOfDepartmentGoalsVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SFE.Common.PublicEntities">
  <DepartmentGoalsVM>
    <DepartmentAlphaNumId>sample string 2</DepartmentAlphaNumId>
    <DepartmentId>1</DepartmentId>
    <Friday>9</Friday>
    <From>2024-11-14T11:30:24.0133087-04:00</From>
    <Id>1</Id>
    <Monday>5</Monday>
    <ProductCategoryAlphaNumId>sample string 12</ProductCategoryAlphaNumId>
    <ProductCategoryId>14</ProductCategoryId>
    <ProductCategoryName>sample string 13</ProductCategoryName>
    <Saturday>10</Saturday>
    <StyleChangingBonus>15</StyleChangingBonus>
    <Sunday>11</Sunday>
    <Thursday>8</Thursday>
    <To>2024-11-14T11:30:24.0133087-04:00</To>
    <Tuesday>6</Tuesday>
    <Wednesday>7</Wednesday>
  </DepartmentGoalsVM>
  <DepartmentGoalsVM>
    <DepartmentAlphaNumId>sample string 2</DepartmentAlphaNumId>
    <DepartmentId>1</DepartmentId>
    <Friday>9</Friday>
    <From>2024-11-14T11:30:24.0133087-04:00</From>
    <Id>1</Id>
    <Monday>5</Monday>
    <ProductCategoryAlphaNumId>sample string 12</ProductCategoryAlphaNumId>
    <ProductCategoryId>14</ProductCategoryId>
    <ProductCategoryName>sample string 13</ProductCategoryName>
    <Saturday>10</Saturday>
    <StyleChangingBonus>15</StyleChangingBonus>
    <Sunday>11</Sunday>
    <Thursday>8</Thursday>
    <To>2024-11-14T11:30:24.0133087-04:00</To>
    <Tuesday>6</Tuesday>
    <Wednesday>7</Wednesday>
  </DepartmentGoalsVM>
</ArrayOfDepartmentGoalsVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.