POST api/NSales/PostSalesModuleBarcode

銷貨資料新增(Barcode)


需求參數

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

驗證使用

js_login

Required

dim04

銷貨單主檔

dim04_9211b

Required

dim05

銷貨產品資料

Collection of dim05_9211b

Required

dem03

收/付款方式

Collection of dem03_9211b

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"
  },
  "dim04": {
    "did00c": "sample string 1",
    "did01c": "sample string 2",
    "did02c": "sample string 3",
    "did03c": "sample string 4",
    "did05c": "sample string 5",
    "did09c": "sample string 6",
    "did10c": "sample string 7",
    "did11c": "sample string 8",
    "did121c": "sample string 9",
    "did122f": 1.1,
    "did124f": 1.1,
    "did13c": "sample string 10",
    "did141f": 1.1,
    "did142f": 1.1,
    "did143f": 1.1,
    "did16f": 1.1,
    "did17f": 1.1,
    "did18f": 1.1,
    "did19f": 1.1,
    "did20f": 1.1,
    "did221c": "sample string 11",
    "did222c": "sample string 12",
    "did231c": "sample string 13",
    "did232c": "sample string 14",
    "did24c": "sample string 15",
    "did251c": "sample string 16",
    "did252c": "sample string 17",
    "did26c": "sample string 18",
    "did27c": "sample string 19",
    "did28c": "sample string 20",
    "did29f": 1.1,
    "did30f": 1.1,
    "did001c": "sample string 21",
    "did002c": "sample string 22",
    "did003c": "sample string 23",
    "did131f": 1.1
  },
  "dim05": [
    {
      "die00c": "sample string 1",
      "die01c": "sample string 2",
      "die02f": 3.1,
      "die03c": "sample string 4",
      "die031c": "sample string 5",
      "die032c": "sample string 6",
      "die041f": 1.1,
      "die042c": "sample string 7",
      "die051f": 1.1,
      "die052c": "sample string 8",
      "die071f": 1.1,
      "die09f": 1.1,
      "die10f": 1.1,
      "die11f": 1.1,
      "die122f": 1.1,
      "die13f": 1.1,
      "die141c": "sample string 9",
      "die142f": 1.1,
      "die143c": "sample string 10",
      "die21c": "sample string 11",
      "die30f": 1.1,
      "die31c": "sample string 12",
      "die32c": "sample string 13"
    },
    {
      "die00c": "sample string 1",
      "die01c": "sample string 2",
      "die02f": 3.1,
      "die03c": "sample string 4",
      "die031c": "sample string 5",
      "die032c": "sample string 6",
      "die041f": 1.1,
      "die042c": "sample string 7",
      "die051f": 1.1,
      "die052c": "sample string 8",
      "die071f": 1.1,
      "die09f": 1.1,
      "die10f": 1.1,
      "die11f": 1.1,
      "die122f": 1.1,
      "die13f": 1.1,
      "die141c": "sample string 9",
      "die142f": 1.1,
      "die143c": "sample string 10",
      "die21c": "sample string 11",
      "die30f": 1.1,
      "die31c": "sample string 12",
      "die32c": "sample string 13"
    }
  ],
  "dem03": [
    {
      "dec00c": "sample string 1",
      "dec01c": "sample string 2",
      "dec02c": "sample string 3",
      "dec03c": "sample string 4",
      "dec04c": "sample string 5",
      "dec05i": 1,
      "dec051c": "sample string 6",
      "dec052i": 1,
      "dec053i": 1,
      "dec06i": 1,
      "dec07c": "sample string 7",
      "dec08c": "sample string 8",
      "dec09f": 1.1,
      "dec10c": "sample string 9",
      "dec11c": "sample string 10"
    },
    {
      "dec00c": "sample string 1",
      "dec01c": "sample string 2",
      "dec02c": "sample string 3",
      "dec03c": "sample string 4",
      "dec04c": "sample string 5",
      "dec05i": 1,
      "dec051c": "sample string 6",
      "dec052i": 1,
      "dec053i": 1,
      "dec06i": 1,
      "dec07c": "sample string 7",
      "dec08c": "sample string 8",
      "dec09f": 1.1,
      "dec10c": "sample string 9",
      "dec11c": "sample string 10"
    }
  ]
}

回覆參數

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

訊息回饋

Message

回覆格式

application/json, text/json

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