POST api/HCS_SkuExplorer/AddUpdateForecast

Request Information

URI Parameters

None.

Body Parameters

HCSForecast
NameDescriptionTypeAdditional information
ItemNmbr

string

None.

MonthName

string

None.

MonthNmbr

integer

None.

Year1

integer

None.

Year1Qty

decimal number

None.

Year1QtyOrdered

decimal number

None.

Year1QtyActual

decimal number

None.

Year1QtyRemaining

decimal number

None.

Year2

integer

None.

Year2Qty

decimal number

None.

Year2QtyActual

decimal number

None.

Year2QtyRemaining

decimal number

None.

Year3

integer

None.

Year3Qty

decimal number

None.

Year3QtyActual

decimal number

None.

Year3QtyRemaining

decimal number

None.

CustNmbr

string

None.

ForecastRowID

integer

None.

ForecastDate

date

None.

ForecastQty

decimal number

None.

ForecastComments

string

None.

DeleteIt

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemNmbr": "sample string 1",
  "MonthName": "sample string 2",
  "MonthNmbr": 3,
  "Year1": 4,
  "Year1Qty": 5.1,
  "Year1QtyOrdered": 6.1,
  "Year1QtyActual": 7.1,
  "Year1QtyRemaining": 0.0,
  "Year2": 9,
  "Year2Qty": 10.1,
  "Year2QtyActual": 11.1,
  "Year2QtyRemaining": 0.0,
  "Year3": 13,
  "Year3Qty": 14.1,
  "Year3QtyActual": 15.1,
  "Year3QtyRemaining": 0.0,
  "CustNmbr": "sample string 17",
  "ForecastRowID": 1,
  "ForecastDate": "2025-05-15T12:55:13.0374997+00:00",
  "ForecastQty": 19.1,
  "ForecastComments": "sample string 20",
  "DeleteIt": true
}

application/xml, text/xml

Sample:
<HCSForecast xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HCSAPI.DTOs">
  <CustNmbr>sample string 17</CustNmbr>
  <DeleteIt>true</DeleteIt>
  <ForecastComments>sample string 20</ForecastComments>
  <ForecastDate>2025-05-15T12:55:13.0374997+00:00</ForecastDate>
  <ForecastQty>19.1</ForecastQty>
  <ForecastRowID>1</ForecastRowID>
  <ItemNmbr>sample string 1</ItemNmbr>
  <MonthName>sample string 2</MonthName>
  <MonthNmbr>3</MonthNmbr>
  <Year1>4</Year1>
  <Year1Qty>5.1</Year1Qty>
  <Year1QtyActual>7.1</Year1QtyActual>
  <Year1QtyOrdered>6.1</Year1QtyOrdered>
  <Year1QtyRemaining>0</Year1QtyRemaining>
  <Year2>9</Year2>
  <Year2Qty>10.1</Year2Qty>
  <Year2QtyActual>11.1</Year2QtyActual>
  <Year2QtyRemaining>0</Year2QtyRemaining>
  <Year3>13</Year3>
  <Year3Qty>14.1</Year3Qty>
  <Year3QtyActual>15.1</Year3QtyActual>
  <Year3QtyRemaining>0</Year3QtyRemaining>
</HCSForecast>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

integer

Response Formats

application/json, text/json

Sample:
1

application/xml, text/xml

Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>