POST api/NSales/PostSalesPP
銷貨產品單價查詢
需求參數
| 參數名稱 | 描述 | 內容格式 | 相關資訊 |
|---|---|---|---|
| js_login |
驗證使用 |
js_login | |
| npcust_no |
客戶編號 |
string | |
| tax_type |
稅別 0:內含 1:外加 2:免稅 3:零稅 |
string | |
| trans_type |
需要查詢的產品編號明細 |
Collection of trans_type |
需求格式
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"
},
"npcust_no": "sample string 1",
"tax_type": "sample string 2",
"trans_type": [
{
"prod_no": "sample string 1",
"prod_qty": 2.1
},
{
"prod_no": "sample string 1",
"prod_qty": 2.1
}
]
}
回覆參數
| 參數名稱 | 描述 | 內容格式 | 相關資訊 |
|---|---|---|---|
| Message |
訊息回饋 |
Message | |
| trans_data |
銷貨單價 |
Collection of trans_data |
回覆格式
application/json, text/json
Sample:
{
"Message": {
"msgcode": 1,
"msgdesc": "sample string 2"
},
"trans_data": [
{
"prod_no": "sample string 1",
"unit_price": 2.1
},
{
"prod_no": "sample string 1",
"unit_price": 2.1
}
]
}