API Version Auth Token Data Sources Server Time
AP Check Update AP Invoice Entry
AR Invoice Entry AR Remittance Entry
GL Account
Adjustments Entry Backflush Kit Issue Issues Entry Part Physical Count Entry
Stock Status
Stores Transfer
Serial Number Cross Reference WIP Completions Entry
Lot
Multiple Location
Bill of Material
Purchase Order PO Receipts Entry Receipt Transaction Vendor Vendor Contact Vendor Part
Customer Customer Contact Customer Part Product Price Sales Order Serial Number Shipments Entry Shipment Transaction




Stock Status, Create

Creates a new Stock Status using the supplied data and returns the details of the created Stock Status.

URL
/api/stock-status-create
Request Method
POST
Expandable Program
Stock Status Editor (ICESS)
Required Fields
STORES_CODE
PART_ID
STOCK_LOCATION
AUTH_TOKEN
Auth Token
This API call requires an Authentication Token ("Auth Token") for the required field AUTH_TOKEN. Auth Tokens are obtained from Auth Token, Get.
Example Request JSON
{
  "STORES_CODE": "MS",
  "PART_ID": "MOTOR003",
  "STOCK_LOCATION": "ISLE 3/SHELF 19",
  "AUTH_TOKEN": ""
}
Full Request JSON
{
  "STORES_CODE": "",
  "PART_ID": "",
  "STOCK_LOCATION": "",
  "MULTI_LOC": "",
  "SAFETY_STOCK": "",
  "COUNT_DAYS": "",
  "KANBAN_FREQ": "",
  "KANBAN_QTY": "",
  "ICFSS_USER_1": "",
  "ICFSS_USER_2": "",
  "ICFSS_USER_3": "",
  "ICFSS_USER_4": "",
  "ICFSS_USER_5": "",
  "ICFSS_USER_6": "",
  "ICFSS_USER_7": "",
  "ICFSS_USER_8": "",
  "ICFSS_USER_9": "",
  "ICFSS_USER_10": "",
  "ICFSS_USER_11": "",
  "ICFSS_USER_12": "",
  "AUTH_TOKEN": ""
}
Success Response
Returned HTTP status indicates success:

200/OK

Returned JSON contains the successfully created Stock Status:
{
  "STORES_CODE": "",
  "PART_ID": "",
  "STOCK_LOCATION": "",
  "MULTI_LOC": "",
  "SAFETY_STOCK": "",
  "COUNT_DAYS": "",
  "MO_BEG_QTY": "",
  "YEAR_BEG_QTY": "",
  "RECEIPTS_MTD": "",
  "DATE_LAST_RECPT": "",
  "RECEIPTS_YTD": "",
  "ISSUES_MTD": "",
  "DATE_LAST_ISSUE": "",
  "ISSUES_YTD": "",
  "PREV_YR_ISSUES": "",
  "ADJUSTMTS_MTD": "",
  "ADJUSTMTS_YTD": "",
  "ON_HAND_QTY": "",
  "DATE_LAST_ACT": "",
  "BOOK_QTY": "",
  "PHYSICAL_QTY": "",
  "BATCH_NUMBER": "",
  "DATE_LAST_PHY": "",
  "DATE_LAST_PRINT": "",
  "TXNS_ACCEPTED": "",
  "KANBAN_FREQ": "",
  "KANBAN_QTY": "",
  "ICFSS_USER_1": "",
  "ICFSS_USER_2": "",
  "ICFSS_USER_3": "",
  "ICFSS_USER_4": "",
  "ICFSS_USER_5": "",
  "ICFSS_USER_6": "",
  "ICFSS_USER_7": "",
  "ICFSS_USER_8": "",
  "ICFSS_USER_9": "",
  "ICFSS_USER_10": "",
  "ICFSS_USER_11": "",
  "ICFSS_USER_12": "",
  "CREATED_BY": "",
  "DATE_CREATED": "",
  "MODIFIED_BY": "",
  "DATE_MODIFIED": "",
  "OPERATOR_ID": "",
  "DATE_LAST_UPDT": "",
  "TIME_LAST_UPDT": ""
}
Failure Response
Returned HTTP status indicates failure:

400/Request JSON is invalid.
401/Auth Token was not provided.
401/Auth Token is malformed.
401/Auth Token login failure.
405/Request method must be POST.
500/(Error Message)

Returned JSON contains error information for the failed Stock Status creation:
{
  "MESSAGE": "",
  "MESSAGE_CODE": ""
}
Try the API