POST api/NOrder/PostOrderModule

訂單資料新增


需求參數

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

驗證使用

js_login

Required

dfm01

訂單基本資料

dfm01_9201

Required

dfm02

訂單產品資料

Collection of dfm02_9201

Required

dfm08

訂單預收款

dfm08_9201
dfm09

訂單預收票據明細

Collection of dfm09_9201
dfm10

訂單分批出貨排程

Collection of dfm10_9201

Required

dem03

收/付款方式

dem03_9201
dem04

出貨及送貨地址

dem04_9201
dem05

加扣款項目

Collection of dem05_9201
dem06

條款備註

Collection of dem06_9201
dem12

產品組合關係

Collection of dem12_9201
dem13

產品贈品配件

Collection of dem13_9201
dem14

產品規格描述

Collection of dem14_9201
dem15

產品體積描述

Collection of dem15_9201

需求格式

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"
  },
  "dfm01": {
    "dfa00c": "sample string 1",
    "dfa01c": "sample string 2",
    "dfa02c": "sample string 3",
    "dfa03c": "sample string 4",
    "dfa04c": "sample string 5",
    "dfa05c": "sample string 6",
    "dfa09c": "sample string 7",
    "dfa10c": "sample string 8",
    "dfa11c": "sample string 9",
    "dfa121c": "sample string 10",
    "dfa122f": 1.1,
    "dfa13c": "sample string 11",
    "dfa141f": 1.1,
    "dfa142f": 1.1,
    "dfa143f": 1.1,
    "dfa15c": "sample string 12",
    "dfa16f": 1.1,
    "dfa17f": 1.1,
    "dfa18f": 1.1,
    "dfa19f": 1.1,
    "dfa20f": 1.1,
    "dfa221c": "sample string 13",
    "dfa222c": "sample string 14",
    "dfa231c": "sample string 15",
    "dfa232c": "sample string 16",
    "dfa24c": "sample string 17",
    "dfa26c": "sample string 18",
    "dfa27c": "sample string 19",
    "dfa28c": "sample string 20",
    "dfa29c": "sample string 21",
    "dfa30f": 1.1,
    "dfa31f": 1.1,
    "dfa001c": "sample string 22",
    "dfa002c": "sample string 23",
    "dfa003c": "sample string 24",
    "dfa131f": 1.1,
    "dfa25c": "sample string 25",
    "dfa32c": "sample string 26"
  },
  "dfm02": [
    {
      "dfb00c": "sample string 1",
      "dfb01c": "sample string 2",
      "dfb02f": 3.1,
      "dfb03c": "sample string 4",
      "dfb031c": "sample string 5",
      "dfb032c": "sample string 6",
      "dfb041f": 1.1,
      "dfb042c": "sample string 7",
      "dfb051f": 1.1,
      "dfb052c": "sample string 8",
      "dfb071f": 1.1,
      "dfb09f": 1.1,
      "dfb10f": 1.1,
      "dfb11f": 1.1,
      "dfb122f": 1.1,
      "dfb13f": 1.1,
      "dfb141c": "sample string 9",
      "dfb142f": 1.1,
      "dfb143c": "sample string 10",
      "dfb15c": "sample string 11",
      "dfb18c": "sample string 12",
      "dfb19f": 1.1,
      "dfb20c": "sample string 13",
      "dfb21f": 1.1,
      "dfb22c": "sample string 14",
      "dfb30f": 1.1,
      "dfb31c": "sample string 15",
      "dfb32c": "sample string 16",
      "dfb211f": 1.1
    },
    {
      "dfb00c": "sample string 1",
      "dfb01c": "sample string 2",
      "dfb02f": 3.1,
      "dfb03c": "sample string 4",
      "dfb031c": "sample string 5",
      "dfb032c": "sample string 6",
      "dfb041f": 1.1,
      "dfb042c": "sample string 7",
      "dfb051f": 1.1,
      "dfb052c": "sample string 8",
      "dfb071f": 1.1,
      "dfb09f": 1.1,
      "dfb10f": 1.1,
      "dfb11f": 1.1,
      "dfb122f": 1.1,
      "dfb13f": 1.1,
      "dfb141c": "sample string 9",
      "dfb142f": 1.1,
      "dfb143c": "sample string 10",
      "dfb15c": "sample string 11",
      "dfb18c": "sample string 12",
      "dfb19f": 1.1,
      "dfb20c": "sample string 13",
      "dfb21f": 1.1,
      "dfb22c": "sample string 14",
      "dfb30f": 1.1,
      "dfb31c": "sample string 15",
      "dfb32c": "sample string 16",
      "dfb211f": 1.1
    }
  ],
  "dfm08": {
    "dfh00c": "sample string 1",
    "dfh01c": "sample string 2",
    "dfh02c": "sample string 3",
    "dfh030c": "sample string 4",
    "dfh03c": "sample string 5",
    "dfh041c": "sample string 6",
    "dfh04f": 1.1,
    "dfh05f": 1.1,
    "dfh06c": "sample string 7",
    "dfh07c": "sample string 8",
    "dfh08c": "sample string 9",
    "dfh09c": "sample string 10"
  },
  "dfm09": [
    {
      "dfi00c": "sample string 1",
      "dfi01c": "sample string 2",
      "dfi02c": "sample string 3",
      "dfi03c": "sample string 4",
      "dfi04c": "sample string 5",
      "dfi05c": "sample string 6",
      "dfi061c": "sample string 7",
      "dfi06f": 1.1,
      "dfi07c": "sample string 8",
      "dfi08c": "sample string 9",
      "dfi09c": "sample string 10"
    },
    {
      "dfi00c": "sample string 1",
      "dfi01c": "sample string 2",
      "dfi02c": "sample string 3",
      "dfi03c": "sample string 4",
      "dfi04c": "sample string 5",
      "dfi05c": "sample string 6",
      "dfi061c": "sample string 7",
      "dfi06f": 1.1,
      "dfi07c": "sample string 8",
      "dfi08c": "sample string 9",
      "dfi09c": "sample string 10"
    }
  ],
  "dfm10": [
    {
      "dfj00c": "sample string 1",
      "dfj01c": "sample string 2",
      "dfj03c": "sample string 3",
      "dfj04c": "sample string 4",
      "dfj05f": 1.1,
      "dfj06c": "sample string 5",
      "dfj07f": 1.1,
      "dfj08f": 1.1,
      "dfj09f": 1.1,
      "dfj10c": "sample string 6",
      "dfj11c": "sample string 7"
    },
    {
      "dfj00c": "sample string 1",
      "dfj01c": "sample string 2",
      "dfj03c": "sample string 3",
      "dfj04c": "sample string 4",
      "dfj05f": 1.1,
      "dfj06c": "sample string 5",
      "dfj07f": 1.1,
      "dfj08f": 1.1,
      "dfj09f": 1.1,
      "dfj10c": "sample string 6",
      "dfj11c": "sample string 7"
    }
  ],
  "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"
  },
  "dem04": {
    "ded00c": "sample string 1",
    "ded01c": "sample string 2",
    "ded02c": "sample string 3",
    "ded03c": "sample string 4",
    "ded04c": "sample string 5",
    "ded05c": "sample string 6",
    "ded06c": "sample string 7",
    "ded07c": "sample string 8",
    "ded08f": 1.1,
    "ded09c": "sample string 9",
    "ded10c": "sample string 10",
    "ded11c": "sample string 11",
    "ded12c": "sample string 12",
    "ded13f": 1.1,
    "ded14c": "sample string 13"
  },
  "dem05": [
    {
      "dee00c": "sample string 1",
      "dee01c": "sample string 2",
      "dee02c": "sample string 3",
      "dee03f": 4.1,
      "dee04c": "sample string 5",
      "dee05f": 1.1,
      "dee06f": 1.1,
      "dee07f": 1.1
    },
    {
      "dee00c": "sample string 1",
      "dee01c": "sample string 2",
      "dee02c": "sample string 3",
      "dee03f": 4.1,
      "dee04c": "sample string 5",
      "dee05f": 1.1,
      "dee06f": 1.1,
      "dee07f": 1.1
    }
  ],
  "dem06": [
    {
      "def00c": "sample string 1",
      "def01c": "sample string 2",
      "def02c": "sample string 3",
      "def03c": "sample string 4",
      "def04f": 5.1,
      "def05c": "sample string 6",
      "def06f": 1.1
    },
    {
      "def00c": "sample string 1",
      "def01c": "sample string 2",
      "def02c": "sample string 3",
      "def03c": "sample string 4",
      "def04f": 5.1,
      "def05c": "sample string 6",
      "def06f": 1.1
    }
  ],
  "dem12": [
    {
      "del00c": "sample string 1",
      "del01c": "sample string 2",
      "del02c": "sample string 3",
      "del03f": 4.1,
      "del04c": "sample string 5",
      "del05c": "sample string 6",
      "del06f": 1.1,
      "del07c": "sample string 7",
      "del08f": 1.1,
      "del10c": "sample string 8",
      "del11f": 1.1,
      "del12f": 1.1
    },
    {
      "del00c": "sample string 1",
      "del01c": "sample string 2",
      "del02c": "sample string 3",
      "del03f": 4.1,
      "del04c": "sample string 5",
      "del05c": "sample string 6",
      "del06f": 1.1,
      "del07c": "sample string 7",
      "del08f": 1.1,
      "del10c": "sample string 8",
      "del11f": 1.1,
      "del12f": 1.1
    }
  ],
  "dem13": [
    {
      "dem00c": "sample string 1",
      "dem01c": "sample string 2",
      "dem02c": "sample string 3",
      "dem03f": 4.1,
      "dem04c": "sample string 5",
      "dem05c": "sample string 6",
      "dem06c": "sample string 7",
      "dem07f": 1.1,
      "dem08f": 1.1,
      "dem09c": "sample string 8",
      "dem12c": "sample string 9",
      "dem13f": 1.1,
      "dem14f": 1.1,
      "dem15f": 1.1
    },
    {
      "dem00c": "sample string 1",
      "dem01c": "sample string 2",
      "dem02c": "sample string 3",
      "dem03f": 4.1,
      "dem04c": "sample string 5",
      "dem05c": "sample string 6",
      "dem06c": "sample string 7",
      "dem07f": 1.1,
      "dem08f": 1.1,
      "dem09c": "sample string 8",
      "dem12c": "sample string 9",
      "dem13f": 1.1,
      "dem14f": 1.1,
      "dem15f": 1.1
    }
  ],
  "dem14": [
    {
      "den00c": "sample string 1",
      "den01c": "sample string 2",
      "den02c": "sample string 3",
      "den03f": 4.1,
      "den04c": "sample string 5",
      "den05f": 6.1,
      "den06c": "sample string 7",
      "den07c": "sample string 8",
      "den08f": 1.1
    },
    {
      "den00c": "sample string 1",
      "den01c": "sample string 2",
      "den02c": "sample string 3",
      "den03f": 4.1,
      "den04c": "sample string 5",
      "den05f": 6.1,
      "den06c": "sample string 7",
      "den07c": "sample string 8",
      "den08f": 1.1
    }
  ],
  "dem15": [
    {
      "deo00c": "sample string 1",
      "deo01c": "sample string 2",
      "deo02c": "sample string 3",
      "deo03f": 4.1,
      "deo04c": "sample string 5",
      "deo05f": 1.1,
      "deo06f": 1.1,
      "deo07f": 1.1,
      "deo08c": "sample string 6",
      "deo09f": 1.1,
      "deo10f": 1.1,
      "deo11f": 1.1,
      "deo12f": 1.1
    },
    {
      "deo00c": "sample string 1",
      "deo01c": "sample string 2",
      "deo02c": "sample string 3",
      "deo03f": 4.1,
      "deo04c": "sample string 5",
      "deo05f": 1.1,
      "deo06f": 1.1,
      "deo07f": 1.1,
      "deo08c": "sample string 6",
      "deo09f": 1.1,
      "deo10f": 1.1,
      "deo11f": 1.1,
      "deo12f": 1.1
    }
  ]
}

回覆參數

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

訊息回饋

Message

回覆格式

application/json, text/json

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