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.
 
 
 
 
 

678 lines
16 KiB

{
"POST /api/customer/assign": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": null
}
},
"GET /api/customer/transfer/preview": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": [
{
"customerId": "750844484425613312",
"customerName": "e2c-交割-甲",
"customerNo": "KH202609030017",
"customerStarLevel": 3,
"customerStage": 1
},
{
"customerId": "750844485444829184",
"customerName": "e2c-交割-乙",
"customerNo": "KH202609030018",
"customerStarLevel": 3,
"customerStage": 1
},
{
"customerId": "750844486468239360",
"customerName": "e2c-交割-丙",
"customerNo": "KH202609030019",
"customerStarLevel": 3,
"customerStage": 1
}
]
}
},
"POST /api/customer/transfer/initiate": {
"request": {
"contentType": "application/json",
"body": {}
},
"response": {
"code": 67011,
"success": false,
"message": "交接原因必填",
"data": null
}
},
"GET /api/customer/transfer/{id}": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"id": "750875407179317248",
"transferNo": "JG202609040003",
"fromUserName": "曾偲青",
"toDirectorName": "罗伟健",
"reason": "resign",
"remark": "e2e 票05",
"totalCount": 3,
"assignedCount": 0,
"status": 0,
"createTime": "2026-09-04 00:30:47",
"details": [
{
"id": "750875407271591936",
"customerId": "750844484425613312",
"customerName": "e2c-交割-甲",
"assignStatus": 0,
"assignUserName": null,
"assignTime": null
},
{
"id": "750875407451947008",
"customerId": "750844485444829184",
"customerName": "e2c-交割-乙",
"assignStatus": 0,
"assignUserName": null,
"assignTime": null
},
{
"id": "750875407632302080",
"customerId": "750844486468239360",
"customerName": "e2c-交割-丙",
"assignStatus": 0,
"assignUserName": null,
"assignTime": null
}
]
}
}
},
"POST /api/customer/transfer/{id}/assign": {
"request": {
"contentType": "application/json",
"body": [
[
"customerIds",
"750844484425613312"
],
[
"assignUserId",
"760000000000000001"
]
]
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"total": 1,
"successCount": 1,
"failCount": 0,
"failures": []
}
}
},
"GET /api/customer/transfer/page": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"content": [
{
"id": "750875407179317248",
"transferNo": "JG202609040003",
"fromUserName": "曾偲青",
"toDirectorName": "罗伟健",
"reason": "resign",
"remark": "e2e 票05",
"totalCount": 3,
"assignedCount": 3,
"status": 1,
"createTime": "2026-09-04 00:30:47",
"details": [
{
"id": "750875407271591936",
"customerId": "750844484425613312",
"customerName": "e2c-交割-甲",
"assignStatus": 1,
"assignUserName": "e2c-销售甲",
"assignTime": "2026-09-04 00:31:53"
},
{
"id": "750875407451947008",
"customerId": "750844485444829184",
"customerName": "e2c-交割-乙",
"assignStatus": 1,
"assignUserName": "e2c-销售甲",
"assignTime": "2026-09-04 00:31:54"
},
{
"id": "750875407632302080",
"customerId": "750844486468239360",
"customerName": "e2c-交割-丙",
"assignStatus": 1,
"assignUserName": "e2c-销售甲",
"assignTime": "2026-09-04 00:31:54"
}
]
}
],
"total": "1",
"size": "10",
"current": "1",
"pages": "1",
"empty": false
}
}
},
"POST /api/customer/import/upload": {
"request": {
"contentType": "application/json",
"body": {
"importMode": "BAD_MODE"
}
},
"response": {
"code": 67013,
"success": false,
"message": "导入方式非法(仅新增/仅更新/新增或更新)",
"data": null
}
},
"POST /api/customer/import/{id}/confirm": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": "750875703951491072"
}
},
"GET /api/customer/import/{id}": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"taskId": "750875703951491072",
"importMode": "APPEND_ONLY",
"templateVersion": "V1",
"status": 3,
"totalCount": 7,
"insertCount": 1,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 5,
"suspectCount": 1,
"failReason": "导入执行异常,请联系管理员",
"creatorName": null,
"createTime": "2026-09-04 00:31:58",
"finishTime": "2026-09-04 00:32:00"
}
}
},
"GET /api/customer/import/{id}/failures": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": []
}
},
"GET /api/customer/import/page": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"content": [
{
"taskId": "750875706673594368",
"importMode": "UPSERT",
"templateVersion": "V1",
"status": 0,
"totalCount": 1,
"insertCount": 0,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 0,
"suspectCount": 1,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:31:59",
"finishTime": null
},
{
"taskId": "750875705138479104",
"importMode": "UPDATE_ONLY",
"templateVersion": "V1",
"status": 0,
"totalCount": 7,
"insertCount": 0,
"updateCount": 1,
"unchangedCount": 0,
"failCount": 6,
"suspectCount": 0,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:31:58",
"finishTime": null
},
{
"taskId": "750875703951491072",
"importMode": "APPEND_ONLY",
"templateVersion": "V1",
"status": 3,
"totalCount": 7,
"insertCount": 1,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 5,
"suspectCount": 1,
"failReason": "导入执行异常,请联系管理员",
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:31:58",
"finishTime": "2026-09-04 00:32:00"
},
{
"taskId": "750873052698378240",
"importMode": "UPSERT",
"templateVersion": "V1",
"status": 0,
"totalCount": 1,
"insertCount": 0,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 0,
"suspectCount": 1,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:21:26",
"finishTime": null
},
{
"taskId": "750873051335229440",
"importMode": "UPDATE_ONLY",
"templateVersion": "V1",
"status": 0,
"totalCount": 7,
"insertCount": 0,
"updateCount": 1,
"unchangedCount": 0,
"failCount": 6,
"suspectCount": 0,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:21:25",
"finishTime": null
},
{
"taskId": "750873050265681920",
"importMode": "APPEND_ONLY",
"templateVersion": "V1",
"status": 3,
"totalCount": 7,
"insertCount": 1,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 5,
"suspectCount": 1,
"failReason": "导入执行异常,请联系管理员",
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:21:25",
"finishTime": "2026-09-04 00:21:27"
},
{
"taskId": "750870576813309952",
"importMode": "UPSERT",
"templateVersion": "V1",
"status": 0,
"totalCount": 1,
"insertCount": 0,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 0,
"suspectCount": 1,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:11:36",
"finishTime": null
},
{
"taskId": "750870575257223168",
"importMode": "UPDATE_ONLY",
"templateVersion": "V1",
"status": 0,
"totalCount": 7,
"insertCount": 0,
"updateCount": 1,
"unchangedCount": 0,
"failCount": 6,
"suspectCount": 0,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:11:35",
"finishTime": null
},
{
"taskId": "750870574112178176",
"importMode": "APPEND_ONLY",
"templateVersion": "V1",
"status": 3,
"totalCount": 7,
"insertCount": 1,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 5,
"suspectCount": 1,
"failReason": "导入执行异常,请联系管理员",
"creatorName": "罗伟健",
"createTime": "2026-09-04 00:11:35",
"finishTime": "2026-09-04 00:11:37"
},
{
"taskId": "750866546473041920",
"importMode": "UPSERT",
"templateVersion": "V1",
"status": 0,
"totalCount": 1,
"insertCount": 0,
"updateCount": 0,
"unchangedCount": 0,
"failCount": 0,
"suspectCount": 1,
"failReason": null,
"creatorName": "罗伟健",
"createTime": "2026-09-03 23:55:35",
"finishTime": null
}
],
"total": "15",
"size": "10",
"current": "1",
"pages": "2",
"empty": false
}
}
},
"GET /api/rule/customer/reminder": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"id": "1",
"masterEnabled": 1,
"firstTriggerEnabled": 1,
"firstTriggerDays": 1,
"secondIntervalEnabled": 1,
"secondIntervalDays": 1,
"updateTime": "2026-09-04 00:21:28"
}
}
},
"PUT /api/rule/customer/reminder": {
"request": {
"contentType": "application/json",
"body": {
"masterEnabled": 1,
"firstTriggerEnabled": 1,
"firstTriggerDays": 1,
"secondIntervalEnabled": 1,
"secondIntervalDays": 1
}
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"id": "1",
"masterEnabled": 1,
"firstTriggerEnabled": 1,
"firstTriggerDays": 1,
"secondIntervalEnabled": 1,
"secondIntervalDays": 1,
"updateTime": "2026-09-04 00:32:01"
}
}
},
"POST /api/customer/{id}/follow": {
"request": {
"contentType": "application/json",
"body": {
"followWay": "follow_way_01",
"followContent": "票05 锚点刷新 003045"
}
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": "750876454840958976"
}
},
"POST /api/customer/workspace/pool/page": {
"request": {
"contentType": "application/json",
"body": {
"current": 1,
"size": 1
}
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"content": [
{
"id": "750844487390986240",
"customerNo": "KH202609030020",
"customerName": "e2c-公海-甲",
"customerType": "customer_type_01",
"provinceCode": "440000",
"cityCode": "440100",
"districtCode": "440103",
"industryCode": "gov",
"industryChildCode": "gov_1",
"customerStage": 1,
"customerStarLevel": 3,
"relationStarLevel": 3,
"strategicAgreementLevel": null,
"vipCustomerLevel": null,
"opportunityCount": "0",
"projectCount": "0",
"lastValidFollowTime": "2026-09-03 22:55:18",
"ownerUserId": null,
"ownerUserNameSnapshot": null,
"ownerDeptId": "744841292348915712",
"ownerDeptNameSnapshot": "广东保伦电子股份有限公司",
"enterPoolTime": "2026-09-03 23:07:29",
"archiveStatus": 1,
"lastViewTime": null
}
],
"total": "2",
"size": "1",
"current": "1",
"pages": "2",
"empty": false
}
}
},
"GET /api/customer/check-credit-code": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": {
"exists": true,
"masked": false,
"customerId": "750844478243209216",
"customerName": "e2c-恒信达科技有限公司",
"customerNo": "KH202609030011",
"ownerName": "罗伟健"
}
}
},
"POST /api/customer": {
"request": {
"contentType": "application/json",
"body": {
"customerName": "e2c-查重-撞码-003045",
"customerType": "customer_type_01",
"unifiedCreditCode": "91440101E2CHXDA001",
"provinceCode": "440000",
"cityCode": "440100",
"districtCode": "440103",
"industryCode": "gov",
"customerStarLevel": 3,
"relationStarLevel": 3,
"isBizNegotiated": "0",
"isChild": "0",
"ownerUserId": "739564171091247104"
}
},
"response": {
"code": 67003,
"success": false,
"message": "统一社会信用代码已被占用:系统已存在该企业",
"data": null
}
},
"GET /api/customer/check-name": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": [
{
"customerId": "750844478243209216",
"customerName": "e2c-恒信达科技有限公司",
"ownerName": "罗伟健",
"customerStage": 1,
"archiveStatus": 1,
"masked": false
},
{
"customerId": "750844479312756736",
"customerName": "e2c-恒信达科技有限责任公司",
"ownerName": "罗伟健",
"customerStage": 1,
"archiveStatus": 1,
"masked": false
},
{
"customerId": "750853174964781056",
"customerName": "e2c-恒信达科技有限公司",
"ownerName": "罗伟健",
"customerStage": 1,
"archiveStatus": 1,
"masked": false
},
{
"customerId": "750854055667957760",
"customerName": "e2c-恒信达科技有限公司",
"ownerName": "罗伟健",
"customerStage": 1,
"archiveStatus": 1,
"masked": false
},
{
"customerId": "750854377022947328",
"customerName": "e2c-恒信达科技有限公司",
"ownerName": "罗伟健",
"customerStage": 1,
"archiveStatus": 1,
"masked": false
}
]
}
},
"GET /api/customer/contact/check-phone": {
"request": {
"contentType": "application/x-www-form-urlencoded",
"body": null
},
"response": {
"code": 0,
"success": true,
"message": "success",
"data": [
{
"contactId": "750844500171030528",
"contactName": "张关键",
"jobTitleName": "采购总监(已更新)",
"customerId": "750844477165273088",
"customerName": "e2c-全字段-科技",
"masked": false,
"ownerUserId": "739564171091247104",
"ownerDeptId": "744841292348915712"
},
{
"contactId": "750844501387378688",
"contactName": "王重复",
"jobTitleName": "副总",
"customerId": "750844477165273088",
"customerName": "e2c-全字段-科技",
"masked": false,
"ownerUserId": "739564171091247104",
"ownerDeptId": "744841292348915712"
}
]
}
}
}