POST api/NSales/PostSalesReturnModule

銷退資料新增


需求參數

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

驗證使用

js_login

Required

dmm04

銷退單主檔

dmm04_9221

Required

dmm05

銷退產品資料

Collection of dmm05_9221

Required

dim10

發票明細資料

Collection of dim10_9221
dem03

收/付款方式

dem03_9221
dem04

出貨及送貨地址

dem04_9221
dem05

加扣款項目

Collection of dem05_9221
dem06

條款備註

Collection of dem06_9221
dem12

產品組合關係

Collection of dem12_9221
dem13

產品贈品配件

Collection of dem13_9221
dem14

產品規格描述

Collection of dem14_9221
dem15

產品體積描述

Collection of dem15_9221
dem11

產品S/N NO及批號

Collection of dem11_9221
dem17

贈/配S/N NO及批號

Collection of dem17_9221
dem18

組合關係S/N NO及批號

Collection of dem18_9221

需求格式

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"
  },
  "dmm04": {
    "dmd00c": "sample string 1",
    "dmd01c": "sample string 2",
    "dmd02c": "sample string 3",
    "dmd03c": "sample string 4",
    "dmd05c": "sample string 5",
    "dmd06c": "sample string 6",
    "dmd09c": "sample string 7",
    "dmd10c": "sample string 8",
    "dmd11c": "sample string 9",
    "dmd121c": "sample string 10",
    "dmd122f": 1.1,
    "dmd123c": "sample string 11",
    "dmd124f": 1.1,
    "dmd13c": "sample string 12",
    "dmd141f": 1.1,
    "dmd142f": 1.1,
    "dmd143f": 1.1,
    "dmd16f": 1.1,
    "dmd17f": 1.1,
    "dmd18f": 1.1,
    "dmd19f": 1.1,
    "dmd20f": 1.1,
    "dmd21f": 1.1,
    "dmd221c": "sample string 13",
    "dmd222c": "sample string 14",
    "dmd231c": "sample string 15",
    "dmd232c": "sample string 16",
    "dmd24c": "sample string 17",
    "dmd251c": "sample string 18",
    "dmd252c": "sample string 19",
    "dmd26c": "sample string 20",
    "dmd27c": "sample string 21",
    "dmd28c": "sample string 22",
    "dmd29f": 1.1,
    "dmd30f": 1.1,
    "dmd001c": "sample string 23",
    "dmd002c": "sample string 24",
    "dmd003c": "sample string 25",
    "dmd131f": 1.1,
    "dmd501c": "sample string 26",
    "dmd32c": "sample string 27",
    "dmd33c": "sample string 28",
    "dmd34c": "sample string 29",
    "dmd35c": "sample string 30",
    "dmd36c": "sample string 31"
  },
  "dmm05": [
    {
      "dme00c": "sample string 1",
      "dme01c": "sample string 2",
      "dme02f": 3.1,
      "dme03c": "sample string 4",
      "dme031c": "sample string 5",
      "dme032c": "sample string 6",
      "dme041f": 1.1,
      "dme042c": "sample string 7",
      "dme051f": 1.1,
      "dme052c": "sample string 8",
      "dme071f": 1.1,
      "dme08c": "sample string 9",
      "dme09f": 1.1,
      "dme10f": 1.1,
      "dme11f": 1.1,
      "dme121c": "sample string 10",
      "dme122f": 1.1,
      "dme13f": 1.1,
      "dme15c": "sample string 11",
      "dme16c": "sample string 12",
      "dme17f": 1.1,
      "dme18f": 1.1,
      "dme19c": "sample string 13",
      "dme20c": "sample string 14",
      "dme141c": "sample string 15",
      "dme142f": 1.1,
      "dme143c": "sample string 16",
      "dme21c": "sample string 17",
      "dme30f": 1.1,
      "dme31c": "sample string 18",
      "dme32c": "sample string 19"
    },
    {
      "dme00c": "sample string 1",
      "dme01c": "sample string 2",
      "dme02f": 3.1,
      "dme03c": "sample string 4",
      "dme031c": "sample string 5",
      "dme032c": "sample string 6",
      "dme041f": 1.1,
      "dme042c": "sample string 7",
      "dme051f": 1.1,
      "dme052c": "sample string 8",
      "dme071f": 1.1,
      "dme08c": "sample string 9",
      "dme09f": 1.1,
      "dme10f": 1.1,
      "dme11f": 1.1,
      "dme121c": "sample string 10",
      "dme122f": 1.1,
      "dme13f": 1.1,
      "dme15c": "sample string 11",
      "dme16c": "sample string 12",
      "dme17f": 1.1,
      "dme18f": 1.1,
      "dme19c": "sample string 13",
      "dme20c": "sample string 14",
      "dme141c": "sample string 15",
      "dme142f": 1.1,
      "dme143c": "sample string 16",
      "dme21c": "sample string 17",
      "dme30f": 1.1,
      "dme31c": "sample string 18",
      "dme32c": "sample string 19"
    }
  ],
  "dim10": [
    {
      "dij00c": "sample string 1",
      "dij01c": "sample string 2",
      "dij02c": "sample string 3",
      "dij03c": "sample string 4",
      "dij04c": "sample string 5",
      "dij05f": 1.1,
      "dij06c": "sample string 6",
      "dij07c": "sample string 7",
      "dij08c": "sample string 8",
      "dij09c": "sample string 9",
      "dij10c": "sample string 10",
      "dij101c": "sample string 11",
      "dij102c": "sample string 12",
      "dij11f": 1.1
    },
    {
      "dij00c": "sample string 1",
      "dij01c": "sample string 2",
      "dij02c": "sample string 3",
      "dij03c": "sample string 4",
      "dij04c": "sample string 5",
      "dij05f": 1.1,
      "dij06c": "sample string 6",
      "dij07c": "sample string 7",
      "dij08c": "sample string 8",
      "dij09c": "sample string 9",
      "dij10c": "sample string 10",
      "dij101c": "sample string 11",
      "dij102c": "sample string 12",
      "dij11f": 1.1
    }
  ],
  "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,
      "del09c": "sample string 8",
      "del10c": "sample string 9",
      "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,
      "del09c": "sample string 8",
      "del10c": "sample string 9",
      "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",
      "dem10n": 1.1,
      "dem11c": "sample string 9",
      "dem12c": "sample string 10",
      "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",
      "dem10n": 1.1,
      "dem11c": "sample string 9",
      "dem12c": "sample string 10",
      "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
    }
  ],
  "dem11": [
    {
      "dek00c": "sample string 1",
      "dek01c": "sample string 2",
      "dek02c": "sample string 3",
      "dek03f": 4.1,
      "dek04c": "sample string 5",
      "dek05c": "sample string 6",
      "dek06f": 1.1,
      "dek07c": "sample string 7"
    },
    {
      "dek00c": "sample string 1",
      "dek01c": "sample string 2",
      "dek02c": "sample string 3",
      "dek03f": 4.1,
      "dek04c": "sample string 5",
      "dek05c": "sample string 6",
      "dek06f": 1.1,
      "dek07c": "sample string 7"
    }
  ],
  "dem17": [
    {
      "deq00c": "sample string 1",
      "deq01c": "sample string 2",
      "deq02c": "sample string 3",
      "deq03f": 4.1,
      "deq04c": "sample string 5",
      "deq08c": "sample string 6",
      "deq05c": "sample string 7",
      "deq06f": 1.1,
      "deq07c": "sample string 8"
    },
    {
      "deq00c": "sample string 1",
      "deq01c": "sample string 2",
      "deq02c": "sample string 3",
      "deq03f": 4.1,
      "deq04c": "sample string 5",
      "deq08c": "sample string 6",
      "deq05c": "sample string 7",
      "deq06f": 1.1,
      "deq07c": "sample string 8"
    }
  ],
  "dem18": [
    {
      "der00c": "sample string 1",
      "der01c": "sample string 2",
      "der02c": "sample string 3",
      "der03f": 4.1,
      "der04c": "sample string 5",
      "der05c": "sample string 6",
      "der06c": "sample string 7",
      "der07f": 1.1,
      "der08c": "sample string 8"
    },
    {
      "der00c": "sample string 1",
      "der01c": "sample string 2",
      "der02c": "sample string 3",
      "der03f": 4.1,
      "der04c": "sample string 5",
      "der05c": "sample string 6",
      "der06c": "sample string 7",
      "der07f": 1.1,
      "der08c": "sample string 8"
    }
  ]
}

回覆參數

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

訊息回饋

Message

回覆格式

application/json, text/json

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