POST api/NStock/PostSafetyStock

庫存低於最高安全存量查詢


需求參數

參數名稱描述內容格式相關資訊
js_login

用戶驗證

js_login

Required

stock_no

倉庫編號;*號或空值表示查詢全部倉庫庫存

string
stock_date

庫存基準日

string

Required

需求格式

application/json, text/json

Sample:
{
  "js_login": {
    "cust_no": "sample string 1",
    "user_no": "sample string 2",
    "user_pass": "sample string 3",
    "sys_id": "sample string 4",
    "lang": "sample string 5",
    "app_token": "sample string 6"
  },
  "stock_no": "sample string 1",
  "stock_date": "sample string 2"
}

回覆參數

參數名稱描述內容格式相關資訊
Message

訊息回饋

Message
trans_data

回傳最高安全存量

Collection of trans_data_9117

回覆格式

application/json, text/json

Sample:
{
  "Message": {
    "msgcode": 1,
    "msgdesc": "sample string 2"
  },
  "trans_data": [
    {
      "stock_no": {},
      "prod_no": {},
      "prod_name": {},
      "prod_unit": {},
      "stock_qty": {},
      "acct_qty": {},
      "max_safety": 7.1,
      "diff_qty": 8.1
    },
    {
      "stock_no": {},
      "prod_no": {},
      "prod_name": {},
      "prod_unit": {},
      "stock_qty": {},
      "acct_qty": {},
      "max_safety": 7.1,
      "diff_qty": 8.1
    }
  ]
}