wiki 富文本接口格式
2018-05-02 本文已影响1人
Stilwell
- 接口地址:
v1/Customer/importData
- 负责人:
Stilwell
- 接口描述:
客户Excel导入
- 参数字典:
字段名 | 字段类型 | 是否必传 | 说明 |
---|---|---|---|
foo | int | N |
- 返回结果
{
"code": 0,
"msg": "success",
"data": {
"countNumber": 3,
"succeedNumber": 0,
"errorNumber": 3,
"errorList": [
{
"key": 0,
"data": {
"name": "你好",
"tcid": "1",
"vocation": "1",
"nature": "2",
"staff_size": "2",
"turnover": "3",
"finance_system": "1",
"erp_system": "1",
"document_system": "1",
"product_system": "",
"storage_system": "",
"networks": "",
"other_system": "",
"client_background": "",
"provintce": "",
"city": "",
"county": "",
"zipcode": "",
"phone": "",
"fax": "",
"url": "",
"address": "",
"pc_users": "",
"scanner_num": "",
"fax_num": "",
"printer_num": "",
"copy_machine_num": "",
"yield": "",
"copy_volume": "",
"inventory_cost": "",
"total_output": "",
"single_cost": "",
"project_type": "",
"sales_stage": ""
},
"errmsg": "验证字段错误!",
"errcode": "客户名称已存在"
},
{
"key": 1,
"data": {
"name": "大家好",
"tcid": "2",
"vocation": "3",
"nature": "4",
"staff_size": "5",
"turnover": "6",
"finance_system": "",
"erp_system": "",
"document_system": "",
"product_system": "",
"storage_system": "",
"networks": "",
"other_system": "",
"client_background": "",
"provintce": "",
"city": "",
"county": "",
"zipcode": "",
"phone": "",
"fax": "",
"url": "",
"address": "",
"pc_users": "",
"scanner_num": "",
"fax_num": "",
"printer_num": "",
"copy_machine_num": "",
"yield": "",
"copy_volume": "",
"inventory_cost": "",
"total_output": "",
"single_cost": "",
"project_type": "",
"sales_stage": ""
},
"errmsg": "验证字段错误!",
"errcode": "客户名称已存在"
},
{
"key": 2,
"data": {
"name": "上大112",
"tcid": "222",
"vocation": "333",
"nature": "333",
"staff_size": "",
"turnover": "",
"finance_system": "",
"erp_system": "",
"document_system": "",
"product_system": "",
"storage_system": "",
"networks": "",
"other_system": "",
"client_background": "",
"provintce": "",
"city": "",
"county": "",
"zipcode": "",
"phone": "",
"fax": "",
"url": "",
"address": "",
"pc_users": "",
"scanner_num": "",
"fax_num": "",
"printer_num": "",
"copy_machine_num": "",
"yield": "",
"copy_volume": "",
"inventory_cost": "",
"total_output": "",
"single_cost": "",
"project_type": "",
"sales_stage": ""
},
"errmsg": "验证字段错误!",
"errcode": "客户名称已存在"
}
]
}
}