You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
471 lines
11 KiB
471 lines
11 KiB
|
17 hours ago
|
{
|
||
|
|
"POST /api/customer/create": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"customerName": "e2c-r2i-A-660049",
|
||
|
|
"customerType": "customer_type_01",
|
||
|
|
"provinceCode": "440000",
|
||
|
|
"cityCode": "440100",
|
||
|
|
"districtCode": "440103",
|
||
|
|
"industryCode": "gov",
|
||
|
|
"customerStarLevel": 3,
|
||
|
|
"relationStarLevel": 3,
|
||
|
|
"isBizNegotiated": 0,
|
||
|
|
"isChild": 0,
|
||
|
|
"ownerUserId": "739564171091247104"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"id": "751743636604977152",
|
||
|
|
"needConfirm": null,
|
||
|
|
"similarHits": null,
|
||
|
|
"customerNo": "KH202609060005",
|
||
|
|
"customerName": "e2c-r2i-A-660049"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/customer/agreement/list": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": []
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/agreement/create": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"agreementLevel": 2
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 67001,
|
||
|
|
"success": false,
|
||
|
|
"message": "所属客户必填",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/customer/agreement/detail": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"id": "751743642858684416",
|
||
|
|
"createTime": "2026-09-06 10:00:51",
|
||
|
|
"updateTime": "2026-09-06 10:00:51",
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"agreementLevel": 2,
|
||
|
|
"amount": "128000",
|
||
|
|
"remark": "r2 增量全链",
|
||
|
|
"fileFileId": null,
|
||
|
|
"customerName": "e2c-r2i-A-660049"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/agreement/edit": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"agreementLevel": 3,
|
||
|
|
"amount": "256000"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/agreement/delete": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 67017,
|
||
|
|
"success": false,
|
||
|
|
"message": "协议不存在或无权访问",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/customer/oplog/page": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"content": [
|
||
|
|
{
|
||
|
|
"id": "751743651851272192",
|
||
|
|
"creatorId": "739564171091247104",
|
||
|
|
"createTime": "2026-09-06 10:00:53",
|
||
|
|
"updaterId": "739564171091247104",
|
||
|
|
"updateTime": "2026-09-06 10:00:53",
|
||
|
|
"deleted": false,
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"action": "AGREEMENT_DELETE",
|
||
|
|
"detail": "删除战略协议【三级】",
|
||
|
|
"operatorId": "739564171091247104",
|
||
|
|
"operatorName": "罗伟健",
|
||
|
|
"operatorDeptName": "广东保伦电子股份有限公司"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "751743647921209344",
|
||
|
|
"creatorId": "739564171091247104",
|
||
|
|
"createTime": "2026-09-06 10:00:52",
|
||
|
|
"updaterId": "739564171091247104",
|
||
|
|
"updateTime": "2026-09-06 10:00:52",
|
||
|
|
"deleted": false,
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"action": "AGREEMENT_EDIT",
|
||
|
|
"detail": "修改战略协议【三级】",
|
||
|
|
"operatorId": "739564171091247104",
|
||
|
|
"operatorName": "罗伟健",
|
||
|
|
"operatorDeptName": "广东保伦电子股份有限公司"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "751743646126047232",
|
||
|
|
"creatorId": "739564171091247104",
|
||
|
|
"createTime": "2026-09-06 10:00:51",
|
||
|
|
"updaterId": "739564171091247104",
|
||
|
|
"updateTime": "2026-09-06 10:00:51",
|
||
|
|
"deleted": false,
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"action": "AGREEMENT_EDIT",
|
||
|
|
"detail": "修改战略协议【三级】",
|
||
|
|
"operatorId": "739564171091247104",
|
||
|
|
"operatorName": "罗伟健",
|
||
|
|
"operatorDeptName": "广东保伦电子股份有限公司"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "751743643173257216",
|
||
|
|
"creatorId": "739564171091247104",
|
||
|
|
"createTime": "2026-09-06 10:00:51",
|
||
|
|
"updaterId": "739564171091247104",
|
||
|
|
"updateTime": "2026-09-06 10:00:51",
|
||
|
|
"deleted": false,
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"action": "AGREEMENT_ADD",
|
||
|
|
"detail": "新增战略协议【二级】",
|
||
|
|
"operatorId": "739564171091247104",
|
||
|
|
"operatorName": "罗伟健",
|
||
|
|
"operatorDeptName": "广东保伦电子股份有限公司"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"id": "751743636789526528",
|
||
|
|
"creatorId": "739564171091247104",
|
||
|
|
"createTime": "2026-09-06 10:00:49",
|
||
|
|
"updaterId": "739564171091247104",
|
||
|
|
"updateTime": "2026-09-06 10:00:49",
|
||
|
|
"deleted": false,
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"action": "CREATE",
|
||
|
|
"detail": "新增客户【e2c-r2i-A-660049】",
|
||
|
|
"operatorId": "739564171091247104",
|
||
|
|
"operatorName": "罗伟健",
|
||
|
|
"operatorDeptName": "广东保伦电子股份有限公司"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"total": "5",
|
||
|
|
"size": "50",
|
||
|
|
"current": "1",
|
||
|
|
"pages": "1",
|
||
|
|
"empty": false
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/contact/create": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"name": "r2i联系人-660049",
|
||
|
|
"jobTitleName": "项目经理",
|
||
|
|
"phone": "13800007701"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": "751743654447546368"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/contact/edit": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"name": "r2i联系人改-660049",
|
||
|
|
"jobTitleName": "项目经理",
|
||
|
|
"phone": "13800007701"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/contact/delete": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/rule/customer/dedup": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"id": "1",
|
||
|
|
"masterEnabled": 1,
|
||
|
|
"nameEnabled": 1,
|
||
|
|
"nameMatchMode": 2,
|
||
|
|
"similarityThreshold": 80,
|
||
|
|
"phoneEnabled": 1,
|
||
|
|
"updateTime": "2026-09-06 09:43:43"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/rule/customer/dedup/save": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"masterEnabled": 1,
|
||
|
|
"nameEnabled": 1,
|
||
|
|
"nameMatchMode": 1,
|
||
|
|
"similarityThreshold": 60,
|
||
|
|
"phoneEnabled": 1
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"id": "1",
|
||
|
|
"masterEnabled": 1,
|
||
|
|
"nameEnabled": 1,
|
||
|
|
"nameMatchMode": 1,
|
||
|
|
"similarityThreshold": 60,
|
||
|
|
"phoneEnabled": 1,
|
||
|
|
"updateTime": "2026-09-06 10:00:54"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/company-lookup/batch-update": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": [
|
||
|
|
{
|
||
|
|
"customerId": "751743636604977152",
|
||
|
|
"customerName": "e2c-r2i-A-660049",
|
||
|
|
"status": "NO_HIT",
|
||
|
|
"filledFields": 0,
|
||
|
|
"message": "工商源未查询到匹配企业"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"customerId": "751743638148481024",
|
||
|
|
"customerName": "e2c-r2i-B-660049",
|
||
|
|
"status": "NO_HIT",
|
||
|
|
"filledFields": 0,
|
||
|
|
"message": "工商源未查询到匹配企业"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/customer/detail-head": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"id": "751743636604977152",
|
||
|
|
"customerNo": "KH202609060005",
|
||
|
|
"customerName": "e2c-r2i-A-660049",
|
||
|
|
"customerStage": 1,
|
||
|
|
"customerStageName": "潜在客户",
|
||
|
|
"customerStarLevel": 3,
|
||
|
|
"relationStarLevel": 3,
|
||
|
|
"strategicAgreementLevel": null,
|
||
|
|
"vipCustomerLevel": null,
|
||
|
|
"archiveStatus": 1,
|
||
|
|
"ownerUserId": "739564171091247104",
|
||
|
|
"ownerUserNameSnapshot": "罗伟健",
|
||
|
|
"ownerDeptNameSnapshot": "广东保伦电子股份有限公司",
|
||
|
|
"lastFollowSummary": null,
|
||
|
|
"lastFollowTime": null,
|
||
|
|
"nextFollowTime": null,
|
||
|
|
"opportunityCount": "0",
|
||
|
|
"projectCount": null,
|
||
|
|
"wonProjectAmount": null,
|
||
|
|
"planEstimateAmount": null,
|
||
|
|
"ongoingOpportunityAmount": null,
|
||
|
|
"contractAmount": null,
|
||
|
|
"paidAmount": null
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/preference/view-form/get": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": "list"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/preference/view-form/save": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"scopeKey": "customer.mine",
|
||
|
|
"viewForm": "split"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/import/upload": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/json",
|
||
|
|
"body": {
|
||
|
|
"importMode": "UPDATE_ONLY",
|
||
|
|
"duplicateStrategy": "SKIP"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"taskId": "751743692309528576",
|
||
|
|
"importMode": "UPDATE_ONLY",
|
||
|
|
"duplicateStrategy": "SKIP",
|
||
|
|
"totalCount": 2,
|
||
|
|
"insertCount": 0,
|
||
|
|
"updateCount": 0,
|
||
|
|
"failCount": 2,
|
||
|
|
"suspectCount": 0,
|
||
|
|
"contactCount": 0,
|
||
|
|
"rows": [
|
||
|
|
{
|
||
|
|
"sheetName": "客户",
|
||
|
|
"rowNum": 1,
|
||
|
|
"identity": "KH202609060006",
|
||
|
|
"verdict": "FAIL",
|
||
|
|
"reason": "文件内多行匹配同一客户(重复时不导入),请合并为单行"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"sheetName": "客户",
|
||
|
|
"rowNum": 2,
|
||
|
|
"identity": "KH202609060006",
|
||
|
|
"verdict": "FAIL",
|
||
|
|
"reason": "文件内多行匹配同一客户(重复时不导入),请合并为单行"
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/import/confirm": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": "751743692309528576"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"GET /api/customer/import/result": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": {
|
||
|
|
"taskId": "751743692309528576",
|
||
|
|
"importMode": "UPDATE_ONLY",
|
||
|
|
"templateVersion": "V1",
|
||
|
|
"status": 2,
|
||
|
|
"totalCount": 2,
|
||
|
|
"insertCount": 0,
|
||
|
|
"updateCount": 0,
|
||
|
|
"unchangedCount": 0,
|
||
|
|
"failCount": 2,
|
||
|
|
"suspectCount": 0,
|
||
|
|
"failReason": null,
|
||
|
|
"creatorName": null,
|
||
|
|
"createTime": "2026-09-06 10:01:02",
|
||
|
|
"finishTime": "2026-09-06 10:01:04"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"POST /api/customer/archive": {
|
||
|
|
"request": {
|
||
|
|
"contentType": "application/x-www-form-urlencoded",
|
||
|
|
"body": null
|
||
|
|
},
|
||
|
|
"response": {
|
||
|
|
"code": 0,
|
||
|
|
"success": true,
|
||
|
|
"message": "success",
|
||
|
|
"data": null
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|