POST api/NSales/QuerySales

銷貨資料查詢


需求參數

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

驗證使用

js_login

Required

did05c

客戶編號

string
did01c_b

銷貨單號(起)

string
did01c_e

銷貨單號(迄)

string
did02c_b

銷貨日期(起)

string
did02c_e

銷貨日期(迄)

string

需求格式

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"
  },
  "did05c": "sample string 1",
  "did01c_b": "sample string 2",
  "did01c_e": "sample string 3",
  "did02c_b": "sample string 4",
  "did02c_e": "sample string 5"
}

回覆參數

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

訊息回饋

Message
dim04

銷貨單主檔

Collection of dim04_9217
dim05

銷貨產品資料

Collection of dim05_9217

回覆格式

application/json, text/json

Sample:
{
  "Message": {
    "msgcode": 1,
    "msgdesc": "sample string 2"
  },
  "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,
      "did21f": 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,
      "did501c": "sample string 24",
      "did32c": "sample string 25",
      "did33c": "sample string 26",
      "did34c": "sample string 27",
      "did35c": "sample string 28",
      "did36c": "sample string 29",
      "tba04c": "sample string 30"
    },
    {
      "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,
      "did21f": 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,
      "did501c": "sample string 24",
      "did32c": "sample string 25",
      "did33c": "sample string 26",
      "did34c": "sample string 27",
      "did35c": "sample string 28",
      "did36c": "sample string 29",
      "tba04c": "sample string 30"
    }
  ],
  "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,
      "die08c": "sample string 9",
      "die09f": 1.1,
      "die10f": 1.1,
      "die11f": 1.1,
      "die122f": 1.1,
      "die13f": 1.1,
      "die141c": "sample string 10",
      "die142f": "sample string 11",
      "die143c": "sample string 12",
      "die21c": "sample string 13",
      "die30f": "sample string 14",
      "die31c": "sample string 15",
      "die32c": "sample string 16",
      "die22c": "sample string 17"
    },
    {
      "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,
      "die08c": "sample string 9",
      "die09f": 1.1,
      "die10f": 1.1,
      "die11f": 1.1,
      "die122f": 1.1,
      "die13f": 1.1,
      "die141c": "sample string 10",
      "die142f": "sample string 11",
      "die143c": "sample string 12",
      "die21c": "sample string 13",
      "die30f": "sample string 14",
      "die31c": "sample string 15",
      "die32c": "sample string 16",
      "die22c": "sample string 17"
    }
  ]
}