POST api/InternalStockpiles/Update

Request Information

URI Parameters

None.

Body Parameters

StockpileDetailVM
NameDescriptionTypeAdditional information
GRADE_NAME

string

Required

String length: inclusive between 0 and 3

STOCKPILE_DIRECTION

string

Required

String length: inclusive between 0 and 1

LINE_NAME

string

Required

String length: inclusive between 0 and 1

CREATION_DATE

date

None.

MAXIMUM_CAPACITY

decimal number

Range: inclusive between 0 and 1,79769313486232E+308

CURRENT_TONS

decimal number

None.

USER_NAME

string

None.

FLAG_LOCK

string

String length: inclusive between 0 and 3

RESTRICTION_CODE

integer

Range: inclusive between 0 and 2147483647

RESTRICTION_DESCRIPTION

string

None.

STOCKPILE_STATUS_CODE

string

String length: inclusive between 0 and 6

STATUS

string

None.

REMARKS

string

None.

AGE

decimal number

Range: inclusive between 0 and 1,79769313486232E+308

CRITICAL_TEMPERATURE

decimal number

Range: inclusive between 0 and 1,79769313486232E+308

WARNING_TEMPERATURE

decimal number

Range: inclusive between 0 and 1,79769313486232E+308

MAXIMUM_TEMPERATURE

decimal number

Range: inclusive between 0 and 1,79769313486232E+308

CONDITION

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GRADE_NAME": "sample string 1",
  "STOCKPILE_DIRECTION": "sample string 2",
  "LINE_NAME": "sample string 3",
  "CREATION_DATE": "2026-02-12T19:45:16.0483827+02:00",
  "MAXIMUM_CAPACITY": 1.0,
  "CURRENT_TONS": 1.0,
  "USER_NAME": "sample string 5",
  "FLAG_LOCK": "sample string 6",
  "RESTRICTION_CODE": 1,
  "RESTRICTION_DESCRIPTION": "sample string 7",
  "STOCKPILE_STATUS_CODE": "sample string 8",
  "STATUS": "sample string 9",
  "REMARKS": "sample string 10",
  "AGE": 1.0,
  "CRITICAL_TEMPERATURE": 1.0,
  "WARNING_TEMPERATURE": 1.0,
  "MAXIMUM_TEMPERATURE": 1.0,
  "CONDITION": "sample string 11"
}

application/xml, text/xml

Sample:
<StockpileDetailVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels">
  <AGE>1</AGE>
  <CONDITION>sample string 11</CONDITION>
  <CREATION_DATE>2026-02-12T19:45:16.0483827+02:00</CREATION_DATE>
  <CRITICAL_TEMPERATURE>1</CRITICAL_TEMPERATURE>
  <CURRENT_TONS>1</CURRENT_TONS>
  <FLAG_LOCK>sample string 6</FLAG_LOCK>
  <GRADE_NAME>sample string 1</GRADE_NAME>
  <LINE_NAME>sample string 3</LINE_NAME>
  <MAXIMUM_CAPACITY>1</MAXIMUM_CAPACITY>
  <MAXIMUM_TEMPERATURE>1</MAXIMUM_TEMPERATURE>
  <REMARKS>sample string 10</REMARKS>
  <RESTRICTION_CODE>1</RESTRICTION_CODE>
  <RESTRICTION_DESCRIPTION>sample string 7</RESTRICTION_DESCRIPTION>
  <STATUS>sample string 9</STATUS>
  <STOCKPILE_DIRECTION>sample string 2</STOCKPILE_DIRECTION>
  <STOCKPILE_STATUS_CODE>sample string 8</STOCKPILE_STATUS_CODE>
  <USER_NAME>sample string 5</USER_NAME>
  <WARNING_TEMPERATURE>1</WARNING_TEMPERATURE>
</StockpileDetailVM>

multipart/form-data

Sample:
<StockpileDetailVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RBCT.Core.ViewModels"><AGE>1</AGE><CONDITION>sample string 11</CONDITION><CREATION_DATE>2026-02-12T19:45:16.0483827+02:00</CREATION_DATE><CRITICAL_TEMPERATURE>1</CRITICAL_TEMPERATURE><CURRENT_TONS>1</CURRENT_TONS><FLAG_LOCK>sample string 6</FLAG_LOCK><GRADE_NAME>sample string 1</GRADE_NAME><LINE_NAME>sample string 3</LINE_NAME><MAXIMUM_CAPACITY>1</MAXIMUM_CAPACITY><MAXIMUM_TEMPERATURE>1</MAXIMUM_TEMPERATURE><REMARKS>sample string 10</REMARKS><RESTRICTION_CODE>1</RESTRICTION_CODE><RESTRICTION_DESCRIPTION>sample string 7</RESTRICTION_DESCRIPTION><STATUS>sample string 9</STATUS><STOCKPILE_DIRECTION>sample string 2</STOCKPILE_DIRECTION><STOCKPILE_STATUS_CODE>sample string 8</STOCKPILE_STATUS_CODE><USER_NAME>sample string 5</USER_NAME><WARNING_TEMPERATURE>1</WARNING_TEMPERATURE></StockpileDetailVM>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.