POST api/NCustomer/PostCustModule
客戶資料新增
需求參數
參數名稱 | 描述 | 內容格式 | 相關資訊 |
---|---|---|---|
js_login |
驗證使用 |
js_login |
Required |
tbm01 |
客戶基本資料主檔 |
tbm01_9101 |
Required |
tbm02 |
客戶聯絡人資料 |
Collection of tbm02_9101 | |
tbm04 |
客戶備註檔 |
Collection of tbm04_9101 | |
tbm05 |
客戶經營產品檔 |
Collection of tbm05_9101 | |
tbm06 |
客戶推銷產品檔 |
Collection of tbm06_9101 | |
tbm07 |
競爭對手產品檔 |
Collection of tbm07_9101 | |
tbm08 |
業務洽談 |
Collection of tbm08_9101 | |
tbm09 |
客戶送貨地址 |
Collection of tbm09_9101 | |
tbm10 |
客戶負責業務 |
Collection of tbm10_9101 | |
tbm11 |
業務洽談詳細訪談內容※tbm11為tbm08的詳細內容,故tbm08有填入資料,方可填入本物件 |
Collection of tbm11_9101 | |
tbm14 |
客戶發票資料 |
Collection of tbm14_9101 | |
tbm15 |
客戶收款方式 |
tbm15_9101 | |
tbm16 |
客戶原有產品檔 |
Collection of tbm16_9101 | |
tbm19 |
客戶自定義欄位 |
Collection of tbm19 |
需求格式
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" } ], "tbm04": [ { "tbd00c": "sample string 1", "tbd010c": "sample string 2", "tbd011c": "sample string 3", "tbd02f": 4.1, "tbd03c": "sample string 5", "tbd04c": "sample string 6" }, { "tbd00c": "sample string 1", "tbd010c": "sample string 2", "tbd011c": "sample string 3", "tbd02f": 4.1, "tbd03c": "sample string 5", "tbd04c": "sample string 6" } ], "tbm05": [ { "tbe00c": "sample string 1", "tbe010c": "sample string 2", "tbe011c": "sample string 3", "tbe02f": 4.1, "tbe03c": "sample string 5" }, { "tbe00c": "sample string 1", "tbe010c": "sample string 2", "tbe011c": "sample string 3", "tbe02f": 4.1, "tbe03c": "sample string 5" } ], "tbm06": [ { "tbf00c": "sample string 1", "tbf010c": "sample string 2", "tbf011c": "sample string 3", "tbf02f": 4.1, "tbf03c": "sample string 5", "tbf04c": "sample string 6", "tbf05c": "sample string 7" }, { "tbf00c": "sample string 1", "tbf010c": "sample string 2", "tbf011c": "sample string 3", "tbf02f": 4.1, "tbf03c": "sample string 5", "tbf04c": "sample string 6", "tbf05c": "sample string 7" } ], "tbm07": [ { "tbg00c": "sample string 1", "tbg010c": "sample string 2", "tbg011c": "sample string 3", "tbg02f": 4.1, "tbg03c": "sample string 5", "tbg04c": "sample string 6", "tbg05c": "sample string 7" }, { "tbg00c": "sample string 1", "tbg010c": "sample string 2", "tbg011c": "sample string 3", "tbg02f": 4.1, "tbg03c": "sample string 5", "tbg04c": "sample string 6", "tbg05c": "sample string 7" } ], "tbm08": [ { "tbh00c": "sample string 1", "tbh010c": "sample string 2", "tbh011c": "sample string 3", "tbh02f": 4.1, "tbh03c": "sample string 5", "tbh04c": "sample string 6", "tbh05c": "sample string 7", "tbh06c": "sample string 8", "tbh07t": "sample string 9", "tbh08c": "sample string 10" }, { "tbh00c": "sample string 1", "tbh010c": "sample string 2", "tbh011c": "sample string 3", "tbh02f": 4.1, "tbh03c": "sample string 5", "tbh04c": "sample string 6", "tbh05c": "sample string 7", "tbh06c": "sample string 8", "tbh07t": "sample string 9", "tbh08c": "sample string 10" } ], "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" } ], "tbm11": [ { "tbk00c": "sample string 1", "tbk010c": "sample string 2", "tbk011c": "sample string 3", "tbk02c": "sample string 4", "tbk03c": "sample string 5", "tbk04f": 6.1, "tbk05c": "sample string 7" }, { "tbk00c": "sample string 1", "tbk010c": "sample string 2", "tbk011c": "sample string 3", "tbk02c": "sample string 4", "tbk03c": "sample string 5", "tbk04f": 6.1, "tbk05c": "sample string 7" } ], "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" } ], "tbm15": { "tbo00c": "sample string 1", "tbo010c": "sample string 2", "tbo011c": "sample string 3", "tbo02c": "sample string 4", "tbo03c": "sample string 5", "tbo04i": 1, "tbo05i": 1, "tbo06c": "sample string 6" }, "tbm16": [ { "tbp00c": "sample string 1", "tbp010c": "sample string 2", "tbp011c": "sample string 3", "tbp02f": 4.1, "tbp03c": "sample string 5", "tbp04c": "sample string 6", "tbp05c": "sample string 7" }, { "tbp00c": "sample string 1", "tbp010c": "sample string 2", "tbp011c": "sample string 3", "tbp02f": 4.1, "tbp03c": "sample string 5", "tbp04c": "sample string 6", "tbp05c": "sample string 7" } ], "tbm19": [ { "tbs00c": "sample string 1", "tbs010c": "sample string 2", "tbs011c": "sample string 3", "tbs02f": 4.1, "tbs03c": "sample string 5", "tbs04c": "sample string 6" }, { "tbs00c": "sample string 1", "tbs010c": "sample string 2", "tbs011c": "sample string 3", "tbs02f": 4.1, "tbs03c": "sample string 5", "tbs04c": "sample string 6" } ] }
回覆參數
參數名稱 | 描述 | 內容格式 | 相關資訊 |
---|---|---|---|
Message |
訊息回饋 |
Message |
回覆格式
application/json, text/json
Sample:
{ "Message": { "msgcode": 1, "msgdesc": "sample string 2" } }