POST Pentagon/SaveWarehouse

Request Information

URI Parameters

None.

Body Parameters

XS.CoreApi.Pentagon.Model.WHLIST
NameDescriptionTypeAdditional information
WHCODE

string

None.

NAME

string

None.

ADR1

string

None.

ADR2

string

None.

ADR3

string

None.

CITY

string

None.

STATE

string

None.

LONGITUDE

decimal number

None.

LATITUDE

decimal number

None.

COUNTRY

string

None.

COUNTY

string

None.

REGION

string

None.

ZIP

string

None.

TEL1

string

None.

FAX1

string

None.

CCODE

string

None.

WHTYPE

string

None.

SHIP_CODE

string

None.

SHIPFROM

string

None.

CALC_AVERAGE

string

None.

CALC_AVAILABILITY

string

None.

ECOMMERCE_PUBLISH

string

None.

AUTOMATED_WAREHOUSE

string

None.

ADD_COST_CAP

string

None.

ADD_PO_GL_ACCOUNT

string

None.

PUBLISH

string

None.

INTERNAL_USE

string

None.

DO_NOT_SHOW_IN_PMR

string

None.

OWNER_TYPE

string

None.

OWNER_ACCTNO

string

None.

OWNER_SUBC

string

None.

GL_ACCOUNT

string

None.

GL_DB_CODE

string

None.

GL_CR_CODE

string

None.

DELTA_GL_DEBIT_CODE

string

None.

DELTA_GL_CREDIT_CODE

string

None.

WHTRANSFER_GL_ACCOUNT

string

None.

PO_GL_ACCOUNT

string

None.

COMPANYNO

integer

None.

DIVISION

string

None.

DEPART

string

None.

LOT_TYPE

string

None.

LOT_QUARANTIN

string

None.

LOT_DATE

date

None.

LOT_VALUE

decimal number

None.

LOT_QPARTS

decimal number

None.

LOT_TOTALCOST

decimal number

None.

LOT_TOTALSELL

decimal number

None.

LOT_TOTALSELL_EXCLUDE_TAX

decimal number

None.

C_LOT_TOTALSELL_EXCLUDE_TAX

decimal number

None.

CALC_LOT_BALANCE_INCLUDE_TAX

string

None.

LOT_COSTFROMWH

string

None.

IGNORE_EXPENSED_COST

string

None.

LOT_PERCENT

decimal number

None.

LOT_COST_VALUE

decimal number

None.

LOT_SELL_VALUE

decimal number

None.

LOT_PURCHASE_COST

decimal number

None.

MANUAL_LOT_ADJUSTMENT

decimal number

None.

WH_TRANSFER_ADJUSTMENT

decimal number

None.

ATTACH_MISC_INVOICE

decimal number

None.

PROFIT_NET_GROSS

string

None.

TAX_A_CODE

string

None.

CURENCY_BASE

string

None.

CURENCY_CONV

string

None.

CURENCY_STATE

string

None.

CURENCY_FACTOR

decimal number

None.

CURENCY_DATE

date

None.

C_LOT_VALUE

decimal number

None.

C_LOT_TOTALCOST

decimal number

None.

C_LOT_TOTALSELL

decimal number

None.

C_LOT_COSTFROMWH

string

None.

C_LOT_COST_VALUE

decimal number

None.

C_LOT_SELL_VALUE

decimal number

None.

C_LOT_PURCHASE_COST

decimal number

None.

C_MANUAL_LOT_ADJUSTMENT

decimal number

None.

C_WH_TRANSFER_ADJUSTMENT

decimal number

None.

C_ATTACH_MISC_INVOICE

decimal number

None.

REGISTRATION_NO

string

None.

REGISTRATION_UPD

date

None.

REGISTRATION_VALID

date

None.

HIGHT

decimal number

None.

WIDTH

decimal number

None.

LENGTH

decimal number

None.

UM

string

None.

ADD_TO_PROJECT

string

None.

CITY_CODE

string

None.

ISACTIVE

string

None.

SPEC2000

string

None.

FIRST_ACTION_CODE

string

None.

SECOND_ACTION_CODE

string

None.

THIRD_ACTION_CODE

string

None.

SIS_ACCOUNT

string

None.

SIS_PASSWORD

string

None.

PARTS_COST_PERCENT

decimal number

None.

RECLOCK

string

None.

ADDED_USR

string

None.

ADDED_DTE

date

None.

UPDATED_USR

string

None.

UPDATED_DTE

date

None.

Request Formats

application/json, text/json

Sample:
{
  "WHCODE": "sample string 1",
  "NAME": "sample string 2",
  "ADR1": "sample string 3",
  "ADR2": "sample string 4",
  "ADR3": "sample string 5",
  "CITY": "sample string 6",
  "STATE": "sample string 7",
  "LONGITUDE": 1.0,
  "LATITUDE": 1.0,
  "COUNTRY": "sample string 8",
  "COUNTY": "sample string 9",
  "REGION": "sample string 10",
  "ZIP": "sample string 11",
  "TEL1": "sample string 12",
  "FAX1": "sample string 13",
  "CCODE": "sample string 14",
  "WHTYPE": "sample string 15",
  "SHIP_CODE": "sample string 16",
  "SHIPFROM": "sample string 17",
  "CALC_AVERAGE": "sample string 18",
  "CALC_AVAILABILITY": "sample string 19",
  "ECOMMERCE_PUBLISH": "sample string 20",
  "AUTOMATED_WAREHOUSE": "sample string 21",
  "ADD_COST_CAP": "sample string 22",
  "ADD_PO_GL_ACCOUNT": "sample string 23",
  "PUBLISH": "sample string 24",
  "INTERNAL_USE": "sample string 25",
  "DO_NOT_SHOW_IN_PMR": "sample string 26",
  "OWNER_TYPE": "sample string 27",
  "OWNER_ACCTNO": "sample string 28",
  "OWNER_SUBC": "sample string 29",
  "GL_ACCOUNT": "sample string 30",
  "GL_DB_CODE": "sample string 31",
  "GL_CR_CODE": "sample string 32",
  "DELTA_GL_DEBIT_CODE": "sample string 33",
  "DELTA_GL_CREDIT_CODE": "sample string 34",
  "WHTRANSFER_GL_ACCOUNT": "sample string 35",
  "PO_GL_ACCOUNT": "sample string 36",
  "COMPANYNO": 1,
  "DIVISION": "sample string 37",
  "DEPART": "sample string 38",
  "LOT_TYPE": "sample string 39",
  "LOT_QUARANTIN": "sample string 40",
  "LOT_DATE": "2026-04-03T08:46:28.5511297-04:00",
  "LOT_VALUE": 1.0,
  "LOT_QPARTS": 1.0,
  "LOT_TOTALCOST": 1.0,
  "LOT_TOTALSELL": 1.0,
  "LOT_TOTALSELL_EXCLUDE_TAX": 1.0,
  "C_LOT_TOTALSELL_EXCLUDE_TAX": 1.0,
  "CALC_LOT_BALANCE_INCLUDE_TAX": "sample string 41",
  "LOT_COSTFROMWH": "sample string 42",
  "IGNORE_EXPENSED_COST": "sample string 43",
  "LOT_PERCENT": 1.0,
  "LOT_COST_VALUE": 1.0,
  "LOT_SELL_VALUE": 1.0,
  "LOT_PURCHASE_COST": 1.0,
  "MANUAL_LOT_ADJUSTMENT": 1.0,
  "WH_TRANSFER_ADJUSTMENT": 1.0,
  "ATTACH_MISC_INVOICE": 1.0,
  "PROFIT_NET_GROSS": "sample string 44",
  "TAX_A_CODE": "sample string 45",
  "CURENCY_BASE": "sample string 46",
  "CURENCY_CONV": "sample string 47",
  "CURENCY_STATE": "sample string 48",
  "CURENCY_FACTOR": 1.0,
  "CURENCY_DATE": "2026-04-03T08:46:28.552129-04:00",
  "C_LOT_VALUE": 1.0,
  "C_LOT_TOTALCOST": 1.0,
  "C_LOT_TOTALSELL": 1.0,
  "C_LOT_COSTFROMWH": "sample string 49",
  "C_LOT_COST_VALUE": 1.0,
  "C_LOT_SELL_VALUE": 1.0,
  "C_LOT_PURCHASE_COST": 1.0,
  "C_MANUAL_LOT_ADJUSTMENT": 1.0,
  "C_WH_TRANSFER_ADJUSTMENT": 1.0,
  "C_ATTACH_MISC_INVOICE": 1.0,
  "REGISTRATION_NO": "sample string 50",
  "REGISTRATION_UPD": "2026-04-03T08:46:28.5531282-04:00",
  "REGISTRATION_VALID": "2026-04-03T08:46:28.5531282-04:00",
  "HIGHT": 1.0,
  "WIDTH": 1.0,
  "LENGTH": 1.0,
  "UM": "sample string 51",
  "ADD_TO_PROJECT": "sample string 52",
  "CITY_CODE": "sample string 53",
  "ISACTIVE": "sample string 54",
  "SPEC2000": "sample string 55",
  "FIRST_ACTION_CODE": "sample string 56",
  "SECOND_ACTION_CODE": "sample string 57",
  "THIRD_ACTION_CODE": "sample string 58",
  "SIS_ACCOUNT": "sample string 59",
  "SIS_PASSWORD": "sample string 60",
  "PARTS_COST_PERCENT": 1.0,
  "RECLOCK": "sample string 61",
  "ADDED_USR": "sample string 62",
  "ADDED_DTE": "2026-04-03T08:46:28.5541286-04:00",
  "UPDATED_USR": "sample string 63",
  "UPDATED_DTE": "2026-04-03T08:46:28.5541286-04:00"
}

application/xml, text/xml

Sample:
<WHLIST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XS.CoreApi.Pentagon.Model">
  <ADDED_DTE>2026-04-03T08:46:28.5541286-04:00</ADDED_DTE>
  <ADDED_USR>sample string 62</ADDED_USR>
  <ADD_COST_CAP>sample string 22</ADD_COST_CAP>
  <ADD_PO_GL_ACCOUNT>sample string 23</ADD_PO_GL_ACCOUNT>
  <ADD_TO_PROJECT>sample string 52</ADD_TO_PROJECT>
  <ADR1>sample string 3</ADR1>
  <ADR2>sample string 4</ADR2>
  <ADR3>sample string 5</ADR3>
  <ATTACH_MISC_INVOICE>1</ATTACH_MISC_INVOICE>
  <AUTOMATED_WAREHOUSE>sample string 21</AUTOMATED_WAREHOUSE>
  <CALC_AVAILABILITY>sample string 19</CALC_AVAILABILITY>
  <CALC_AVERAGE>sample string 18</CALC_AVERAGE>
  <CALC_LOT_BALANCE_INCLUDE_TAX>sample string 41</CALC_LOT_BALANCE_INCLUDE_TAX>
  <CCODE>sample string 14</CCODE>
  <CITY>sample string 6</CITY>
  <CITY_CODE>sample string 53</CITY_CODE>
  <COMPANYNO>1</COMPANYNO>
  <COUNTRY>sample string 8</COUNTRY>
  <COUNTY>sample string 9</COUNTY>
  <CURENCY_BASE>sample string 46</CURENCY_BASE>
  <CURENCY_CONV>sample string 47</CURENCY_CONV>
  <CURENCY_DATE>2026-04-03T08:46:28.552129-04:00</CURENCY_DATE>
  <CURENCY_FACTOR>1</CURENCY_FACTOR>
  <CURENCY_STATE>sample string 48</CURENCY_STATE>
  <C_ATTACH_MISC_INVOICE>1</C_ATTACH_MISC_INVOICE>
  <C_LOT_COSTFROMWH>sample string 49</C_LOT_COSTFROMWH>
  <C_LOT_COST_VALUE>1</C_LOT_COST_VALUE>
  <C_LOT_PURCHASE_COST>1</C_LOT_PURCHASE_COST>
  <C_LOT_SELL_VALUE>1</C_LOT_SELL_VALUE>
  <C_LOT_TOTALCOST>1</C_LOT_TOTALCOST>
  <C_LOT_TOTALSELL>1</C_LOT_TOTALSELL>
  <C_LOT_TOTALSELL_EXCLUDE_TAX>1</C_LOT_TOTALSELL_EXCLUDE_TAX>
  <C_LOT_VALUE>1</C_LOT_VALUE>
  <C_MANUAL_LOT_ADJUSTMENT>1</C_MANUAL_LOT_ADJUSTMENT>
  <C_WH_TRANSFER_ADJUSTMENT>1</C_WH_TRANSFER_ADJUSTMENT>
  <DELTA_GL_CREDIT_CODE>sample string 34</DELTA_GL_CREDIT_CODE>
  <DELTA_GL_DEBIT_CODE>sample string 33</DELTA_GL_DEBIT_CODE>
  <DEPART>sample string 38</DEPART>
  <DIVISION>sample string 37</DIVISION>
  <DO_NOT_SHOW_IN_PMR>sample string 26</DO_NOT_SHOW_IN_PMR>
  <ECOMMERCE_PUBLISH>sample string 20</ECOMMERCE_PUBLISH>
  <FAX1>sample string 13</FAX1>
  <FIRST_ACTION_CODE>sample string 56</FIRST_ACTION_CODE>
  <GL_ACCOUNT>sample string 30</GL_ACCOUNT>
  <GL_CR_CODE>sample string 32</GL_CR_CODE>
  <GL_DB_CODE>sample string 31</GL_DB_CODE>
  <HIGHT>1</HIGHT>
  <IGNORE_EXPENSED_COST>sample string 43</IGNORE_EXPENSED_COST>
  <INTERNAL_USE>sample string 25</INTERNAL_USE>
  <ISACTIVE>sample string 54</ISACTIVE>
  <LATITUDE>1</LATITUDE>
  <LENGTH>1</LENGTH>
  <LONGITUDE>1</LONGITUDE>
  <LOT_COSTFROMWH>sample string 42</LOT_COSTFROMWH>
  <LOT_COST_VALUE>1</LOT_COST_VALUE>
  <LOT_DATE>2026-04-03T08:46:28.5511297-04:00</LOT_DATE>
  <LOT_PERCENT>1</LOT_PERCENT>
  <LOT_PURCHASE_COST>1</LOT_PURCHASE_COST>
  <LOT_QPARTS>1</LOT_QPARTS>
  <LOT_QUARANTIN>sample string 40</LOT_QUARANTIN>
  <LOT_SELL_VALUE>1</LOT_SELL_VALUE>
  <LOT_TOTALCOST>1</LOT_TOTALCOST>
  <LOT_TOTALSELL>1</LOT_TOTALSELL>
  <LOT_TOTALSELL_EXCLUDE_TAX>1</LOT_TOTALSELL_EXCLUDE_TAX>
  <LOT_TYPE>sample string 39</LOT_TYPE>
  <LOT_VALUE>1</LOT_VALUE>
  <MANUAL_LOT_ADJUSTMENT>1</MANUAL_LOT_ADJUSTMENT>
  <NAME>sample string 2</NAME>
  <OWNER_ACCTNO>sample string 28</OWNER_ACCTNO>
  <OWNER_SUBC>sample string 29</OWNER_SUBC>
  <OWNER_TYPE>sample string 27</OWNER_TYPE>
  <PARTS_COST_PERCENT>1</PARTS_COST_PERCENT>
  <PO_GL_ACCOUNT>sample string 36</PO_GL_ACCOUNT>
  <PROFIT_NET_GROSS>sample string 44</PROFIT_NET_GROSS>
  <PUBLISH>sample string 24</PUBLISH>
  <RECLOCK>sample string 61</RECLOCK>
  <REGION>sample string 10</REGION>
  <REGISTRATION_NO>sample string 50</REGISTRATION_NO>
  <REGISTRATION_UPD>2026-04-03T08:46:28.5531282-04:00</REGISTRATION_UPD>
  <REGISTRATION_VALID>2026-04-03T08:46:28.5531282-04:00</REGISTRATION_VALID>
  <SECOND_ACTION_CODE>sample string 57</SECOND_ACTION_CODE>
  <SHIPFROM>sample string 17</SHIPFROM>
  <SHIP_CODE>sample string 16</SHIP_CODE>
  <SIS_ACCOUNT>sample string 59</SIS_ACCOUNT>
  <SIS_PASSWORD>sample string 60</SIS_PASSWORD>
  <SPEC2000>sample string 55</SPEC2000>
  <STATE>sample string 7</STATE>
  <TAX_A_CODE>sample string 45</TAX_A_CODE>
  <TEL1>sample string 12</TEL1>
  <THIRD_ACTION_CODE>sample string 58</THIRD_ACTION_CODE>
  <UM>sample string 51</UM>
  <UPDATED_DTE>2026-04-03T08:46:28.5541286-04:00</UPDATED_DTE>
  <UPDATED_USR>sample string 63</UPDATED_USR>
  <WHCODE>sample string 1</WHCODE>
  <WHTRANSFER_GL_ACCOUNT>sample string 35</WHTRANSFER_GL_ACCOUNT>
  <WHTYPE>sample string 15</WHTYPE>
  <WH_TRANSFER_ADJUSTMENT>1</WH_TRANSFER_ADJUSTMENT>
  <WIDTH>1</WIDTH>
  <ZIP>sample string 11</ZIP>
</WHLIST>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.