feat(work): 新增批量导入上下游联系人接口

This commit is contained in:
Fu Diwei
2022-06-23 10:36:05 +08:00
parent 0e6b101f53
commit d95a6f3b05
10 changed files with 328 additions and 3 deletions

View File

@@ -0,0 +1,24 @@
{
"errcode": 0,
"errmsg": "ok",
"status": 3,
"result": {
"chain_id": "xxxx",
"import_status": 2,
"fail_list": [
{
"corp_name": "飞飞培训学校2入2222",
"custom_id": "",
"errcode": 670016,
"errmsg": "invalid contact identity",
"contact_info_list": [
{
"mobile": "13000000001",
"errcode": 670016,
"errmsg": "invalid contact identity"
}
]
}
]
}
}

View File

@@ -0,0 +1,22 @@
{
"chain_id": "xxxxxx",
"contact_list": [
{
"corp_name": "飞飞培训学校",
"group_path": "华北区/北京市/海淀区",
"custom_id": "wof3du51quo5sl1is",
"contact_info_list": [
{
"name": "张三",
"identity_type": 1,
"mobile": "13000000001"
},
{
"name": "李四",
"identity_type": 2,
"mobile": "13000000001"
}
]
}
]
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"jobid": "xxxxx"
}