POST api/NStock/PostStockQTY
庫存量查詢
需求參數
| 參數名稱 | 描述 | 內容格式 | 相關資訊 |
|---|---|---|---|
| js_login |
用戶驗證 |
js_login |
Required |
| stock_no |
倉庫編號;*號表示查詢總倉 |
string |
Required |
| tda01c_s |
產品編號(起始);*號表示查詢全部產品 |
string |
Required |
| tda01c_e |
產品編號(結束);*號表示查詢全部產品 |
string |
Required |
| 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",
"tda01c_s": "sample string 2",
"tda01c_e": "sample string 3",
"stock_date": "sample string 4"
}
回覆參數
| 參數名稱 | 描述 | 內容格式 | 相關資訊 |
|---|---|---|---|
| Message |
訊息回饋 |
Message | |
| trans_data |
回傳庫存量 |
Collection of trans_data_9112 |
回覆格式
application/json, text/json
Sample:
{
"Message": {
"msgcode": 1,
"msgdesc": "sample string 2"
},
"trans_data": [
{
"prod_no": "sample string 1",
"prod_name": "sample string 2",
"prod_unit": "sample string 3",
"stock_qty": "sample string 4",
"acct_qty": "sample string 5"
},
{
"prod_no": "sample string 1",
"prod_name": "sample string 2",
"prod_unit": "sample string 3",
"stock_qty": "sample string 4",
"acct_qty": "sample string 5"
}
]
}