POST api/NProduct/PostProdModule

產品資料新增


需求參數

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

驗證使用

js_login

Required

tdm01

產品基本主檔

tdm01_9111

Required

tdm02

產品規格描述

tdm02_9111
tdm03

產品供應廠商資料

tdm03_9111
tdm04

產品組合關係

tdm04_9111
tdm05

產品贈品配件

tdm05_9111
tdm06

產品價格等級

tdm06_9111
tdm07

產品自定義欄位

tdm07_9111
tdm08

產品價格批量

tdm08_9111
tdm09

採購批量

tdm09_9111
tdm13

客戶產品/廠商產品檔

tdm13_9111
tdm15

產品備註檔

tdm15_9111
tdm21

產品S/N NO及批號

tdm21_9111
tdm22

產品S/N批號現量表

tdm22_9111
tdm23

產品儲位資料

tdm23_9111
tdm10

產品期初庫存資料(數量)

tdm10_9111
tdm11

產品期初庫存資料(金額)

tdm11_9111
tdm14

S/N批號庫存數量開帳(期初庫存數量)

tdm14_9111
tdm12

產品基本檔-2

tdm12_9111

需求格式

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"
  },
  "tdm01": {
    "tda00c": "sample string 1",
    "tda01c": "sample string 2",
    "tda02c": "sample string 3",
    "tda03c": "sample string 4",
    "tda04c": "sample string 5",
    "tda05c": "sample string 6",
    "tda06c": "sample string 7",
    "tda061c": "sample string 8",
    "tda062c": "sample string 9",
    "tda07c": "sample string 10",
    "tda08c": "sample string 11",
    "tda091c": "sample string 12",
    "tda092f": 1.1,
    "tda101c": "sample string 13",
    "tda102f": 1.1,
    "tda181c": "sample string 14",
    "tda182f": 1.1,
    "tda183c": "sample string 15",
    "tda184f": 1.1,
    "tda21f": 1.1,
    "tda22f": 1.1,
    "tda20c": "sample string 16",
    "tda23c": "sample string 17",
    "tda24c": "sample string 18",
    "tda25i": 1,
    "tda26f": 1.1,
    "tda27c": "sample string 19",
    "tda30c": "sample string 20",
    "tda31c": "sample string 21",
    "tda32c": "sample string 22",
    "tda33c": "sample string 23",
    "tda34f": 1.1,
    "tda35f": 1.1,
    "tda36c": "sample string 24",
    "tda37c": "sample string 25",
    "tda38f": 1.1,
    "tda39c": "sample string 26",
    "tda40f": 1.1,
    "tda41c": "sample string 27",
    "tda42c": "sample string 28",
    "tda43c": "sample string 29"
  },
  "tdm02": {
    "tdb00c": "sample string 1",
    "tdb01c": "sample string 2",
    "tdb02f": 3.1,
    "tdb03c": "sample string 4",
    "tdb04c": "sample string 5",
    "tdb05f": 1.1
  },
  "tdm03": {
    "tdc00c": "sample string 1",
    "tdc01c": "sample string 2",
    "tdc02c": "sample string 3",
    "tdc03c": "sample string 4",
    "tdc04f": 5.1,
    "tdc05c": "sample string 6",
    "tdc07c": "sample string 7",
    "tdc08c": "sample string 8",
    "tdc09f": 1.1,
    "tdc10c": "sample string 9",
    "tdc11c": "sample string 10",
    "tdc13c": "sample string 11",
    "tdc14c": "sample string 12",
    "tdc15c": "sample string 13",
    "tdc16c": "sample string 14",
    "tdc17c": "sample string 15"
  },
  "tdm04": {
    "tdd00c": "sample string 1",
    "tdd01c": "sample string 2",
    "tdd02c": "sample string 3",
    "tdd031f": 1.1,
    "tdd032c": "sample string 4",
    "tdd041f": 1.1,
    "tdd07c": "sample string 5",
    "tdd08f": 1.1,
    "tdd021f": 1.1
  },
  "tdm05": {
    "tde00c": "sample string 1",
    "tde01c": "sample string 2",
    "tde02c": "sample string 3",
    "tde03c": "sample string 4",
    "tde051f": 1.1,
    "tde052c": "sample string 5"
  },
  "tdm06": {
    "tdf00c": "sample string 1",
    "tdf01c": "sample string 2",
    "tdf011c": "sample string 3",
    "tdf03f": 1.1,
    "tdf04f": 1.1,
    "tdf05c": "sample string 4"
  },
  "tdm07": {
    "tdg00c": "sample string 1",
    "tdg01c": "sample string 2",
    "tdg02f": 3.1,
    "tdg03c": "sample string 4",
    "tdg04c": "sample string 5",
    "tdg05c": "sample string 6"
  },
  "tdm08": {
    "tdh00c": "sample string 1",
    "tdh01c": "sample string 2",
    "tdh021f": 3.1,
    "tdh022f": 4.1,
    "tdh04f": 1.1,
    "tdh05f": 1.1,
    "tdh06c": "sample string 5"
  },
  "tdm09": {
    "tdi00c": "sample string 1",
    "tdi01c": "sample string 2",
    "tdi021f": 3.1,
    "tdi022f": 4.1,
    "tdi04f": 1.1,
    "tdi05f": 1.1,
    "tdi06c": "sample string 5"
  },
  "tdm13": {
    "tdm00c": "sample string 1",
    "tdm01c": "sample string 2",
    "tdm02c": "sample string 3",
    "tdm03c": "sample string 4",
    "tdm04c": "sample string 5",
    "tdm05c": "sample string 6",
    "tdm06c": "sample string 7",
    "tdm07f": 1.1,
    "tdm08f": 1.1,
    "tdm09f": 1.1,
    "tdm10f": 1.1,
    "tdm11f": 1.1,
    "tdm12c": "sample string 8",
    "tdm13c": "sample string 9",
    "tdm14c": "sample string 10",
    "tdm15c": "sample string 11",
    "tdm16f": 1.1,
    "tdm18c": "sample string 12",
    "tdm19f": 1.1,
    "tdm20f": 1.1,
    "tdm21f": 1.1,
    "tdm22c": "sample string 13",
    "tdm23c": "sample string 14",
    "tdm24c": "sample string 15"
  },
  "tdm15": {
    "tdo00c": "sample string 1",
    "tdo01c": "sample string 2",
    "tdo02f": 3.1,
    "tdo03c": "sample string 4"
  },
  "tdm21": {
    "tdu00c": "sample string 1",
    "tdu01c": "sample string 2",
    "tdu02c": "sample string 3",
    "tdu03f": 1.1,
    "tdu04c": "sample string 4"
  },
  "tdm22": {
    "tdv00c": "sample string 1",
    "tdv01c": "sample string 2",
    "tdv02c": "sample string 3",
    "tdv03c": "sample string 4",
    "tdv04f": 1.1,
    "tdv05c": "sample string 5"
  },
  "tdm23": {
    "tdw00c": "sample string 1",
    "tdw01c": "sample string 2",
    "tdw02c": "sample string 3",
    "tdw03c": "sample string 4"
  },
  "tdm10": {
    "tdj00c": "sample string 1",
    "tdj01c": "sample string 2",
    "tdj02c": "sample string 3",
    "tdj03f": 1.1
  },
  "tdm11": {
    "tdk00c": "sample string 1",
    "tdk01c": "sample string 2",
    "tdk02f": 1.1,
    "tdk03f": 1.1
  },
  "tdm14": {
    "tdl00c": "sample string 1",
    "tdl01c": "sample string 2",
    "tdl02c": "sample string 3",
    "tdl03c": "sample string 4",
    "tdl04f": 1.1
  },
  "tdm12": {
    "tdl00c": "sample string 1",
    "tdl01c": "sample string 2",
    "tdl111c": "sample string 3",
    "tdl112f": 1.1,
    "tdl113f": 1.1,
    "tdl114f": 1.1,
    "tdl115f": 1.1,
    "tdl116f": 1.1,
    "tdl121c": "sample string 4",
    "tdl122f": 1.1,
    "tdl123f": 1.1,
    "tdl124f": 1.1,
    "tdl125f": 1.1,
    "tdl126f": 1.1,
    "tdl131c": "sample string 5",
    "tdl132f": 1.1,
    "tdl133f": 1.1,
    "tdl134f": 1.1,
    "tdl135f": 1.1,
    "tdl136f": 1.1,
    "tdl14f": 1.1,
    "tdl15f": 1.1,
    "tdl16f": 1.1,
    "tdl171f": 1.1,
    "tdl172f": 1.1,
    "tdl241f": 1.1,
    "tdl242f": 1.1,
    "tdl243f": 1.1,
    "tdl244c": "sample string 6",
    "tdl306c": "sample string 7",
    "tdl307c": "sample string 8",
    "tdl304c": "sample string 9",
    "tdl310f": 1.1
  }
}

回覆參數

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

訊息回饋

Message

回覆格式

application/json, text/json

Sample:
{
  "Message": {
    "msgcode": 1,
    "msgdesc": "sample string 2"
  }
}