POST api/NCustomer/cePostCustModule

客戶資料新增


需求參數

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

驗證使用

js_login

Required

tbm01

客戶基本資料主檔

tbm01_9101ce

Required

tbm02

客戶聯絡人資料

Collection of tbm02_9101ce
tbm09

客戶送貨地址

Collection of tbm09_9101ce
tbm10

客戶負責業務

Collection of tbm10_9101ce
tbm14

客戶發票資料

Collection of tbm14_9101ce

需求格式

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"
  },
  "tbm01": {
    "tba00c": "sample string 1",
    "tba010c": "sample string 2",
    "tba011c": "sample string 3",
    "tba02c": "sample string 4",
    "tba03c": "sample string 5",
    "tba04c": "sample string 6",
    "tba05c": "sample string 7",
    "tba06c": "sample string 8",
    "tba07c": "sample string 9",
    "tba08c": "sample string 10",
    "tba09c": "sample string 11",
    "tba10c": "sample string 12",
    "tba11c": "sample string 13",
    "tba12c": "sample string 14",
    "tba13c": "sample string 15",
    "tba14c": "sample string 16",
    "tba15c": "sample string 17",
    "tba16c": "sample string 18",
    "tba17c": "sample string 19",
    "tba181c": "sample string 20",
    "tba183c": "sample string 21",
    "tba19c": "sample string 22",
    "tba20c": "sample string 23",
    "tba22c": "sample string 24",
    "tba23f": 1.1,
    "tba24f": 1.1,
    "tba25c": "sample string 25",
    "tba261c": "sample string 26",
    "tba30c": "sample string 27",
    "tba31c": "sample string 28",
    "tba32c": "sample string 29",
    "tba33c": "sample string 30",
    "tba34c": "sample string 31",
    "tba37c": "sample string 32",
    "tba38c": "sample string 33",
    "tba39c": "sample string 34",
    "tba40c": "sample string 35",
    "tba41c": "sample string 36",
    "tba43f": 1.1,
    "tba44f": 1.1,
    "tba45c": "sample string 37",
    "tba461f": 1.1,
    "tba47i": 1
  },
  "tbm02": [
    {
      "tbb00c": "sample string 1",
      "tbb010c": "sample string 2",
      "tbb011c": "sample string 3",
      "tbb02f": 4.1,
      "tbb03c": "sample string 5",
      "tbb04c": "sample string 6",
      "tbb05c": "sample string 7",
      "tbb06c": "sample string 8",
      "tbb07c": "sample string 9",
      "tbb09c": "sample string 10",
      "tbb10c": "sample string 11",
      "tbb11c": "sample string 12",
      "tbb12c": "sample string 13",
      "tbb13c": "sample string 14"
    },
    {
      "tbb00c": "sample string 1",
      "tbb010c": "sample string 2",
      "tbb011c": "sample string 3",
      "tbb02f": 4.1,
      "tbb03c": "sample string 5",
      "tbb04c": "sample string 6",
      "tbb05c": "sample string 7",
      "tbb06c": "sample string 8",
      "tbb07c": "sample string 9",
      "tbb09c": "sample string 10",
      "tbb10c": "sample string 11",
      "tbb11c": "sample string 12",
      "tbb12c": "sample string 13",
      "tbb13c": "sample string 14"
    }
  ],
  "tbm09": [
    {
      "tbi00c": "sample string 1",
      "tbi010c": "sample string 2",
      "tbi011c": "sample string 3",
      "tbi02f": 4.1,
      "tbi03c": "sample string 5",
      "tbi041c": "sample string 6",
      "tbi05c": "sample string 7",
      "tbi06c": "sample string 8",
      "tbi07c": "sample string 9",
      "tbi08c": "sample string 10",
      "tbi031c": "sample string 11",
      "tbi061c": "sample string 12"
    },
    {
      "tbi00c": "sample string 1",
      "tbi010c": "sample string 2",
      "tbi011c": "sample string 3",
      "tbi02f": 4.1,
      "tbi03c": "sample string 5",
      "tbi041c": "sample string 6",
      "tbi05c": "sample string 7",
      "tbi06c": "sample string 8",
      "tbi07c": "sample string 9",
      "tbi08c": "sample string 10",
      "tbi031c": "sample string 11",
      "tbi061c": "sample string 12"
    }
  ],
  "tbm10": [
    {
      "tbj00c": "sample string 1",
      "tbj010c": "sample string 2",
      "tbj011c": "sample string 3",
      "tbj02c": "sample string 4",
      "tbj03c": "sample string 5",
      "tbj04c": "sample string 6"
    },
    {
      "tbj00c": "sample string 1",
      "tbj010c": "sample string 2",
      "tbj011c": "sample string 3",
      "tbj02c": "sample string 4",
      "tbj03c": "sample string 5",
      "tbj04c": "sample string 6"
    }
  ],
  "tbm14": [
    {
      "tbn00c": "sample string 1",
      "tbn010c": "sample string 2",
      "tbn011c": "sample string 3",
      "tbn02f": 4.1,
      "tbn031c": "sample string 5",
      "tbn041c": "sample string 6",
      "tbn05c": "sample string 7",
      "tbn06c": "sample string 8",
      "tbn07c": "sample string 9"
    },
    {
      "tbn00c": "sample string 1",
      "tbn010c": "sample string 2",
      "tbn011c": "sample string 3",
      "tbn02f": 4.1,
      "tbn031c": "sample string 5",
      "tbn041c": "sample string 6",
      "tbn05c": "sample string 7",
      "tbn06c": "sample string 8",
      "tbn07c": "sample string 9"
    }
  ]
}

回覆參數

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

訊息回饋

Message

回覆格式

application/json, text/json

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