Appearance
获取商机详情 API
| Path | Method | Created At |
|---|---|---|
| /api/business/opportunities/{id}/detail | GET | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| id | string,size:24 | trans:validate.BO_NOT_FOUND |
Response
| Key | Type | Example | Comment |
|---|---|---|---|
| id | string | 675143aea72eba31e807f9d2 | 编号 |
| boNo | string | 32ade | 商机编号 |
| name | string | 浙江省JW监委外网项目 | 标题 |
| customerId | string | 2 | 客户编号 |
| customerName | string | 襄阳城坊 | 客户名称 |
| industryId | int | 3 | 行业ID |
| industryPath | array | ["政府", "公安", "司法"] | 行业 |
| projectLevel | int | 4 | 项目等级编号 |
| projectLevelName | string | 公司级项目 | 项目级别名称 |
| projectType | int | 5 | 项目类型编号 |
| projectTypeName | string | 服务器 | 项目类型名称 |
| currentStage | string | promote_bidding_process | 项目阶段名称 |
| currentStageText | string | 招投标 > 推进招标流程 | 项目阶段名称 |
| projectCertainty | int | 7 | 项目把握度编号 |
| projectCertaintyName | string | 有把握 | 项目把握度 |
| totalAmount | string | 300000 | 项目金额 |
| projectJoinMethod | int | 8 | 项目参与方式编号 |
| estimatedSigningDate | string | 2006-07-08 09:10:11 | 预计签约时间 |
| agentId | string | 67c266000 | 代理编号 |
| createdAt | string | 2025-01-08 15:30:00 | 创建时间 |
| createdBy | int | 10 | 创建人编号 |
| createdByName | string | 张三 | 创建人姓名 |
| techLeadId | int | 11 | 技术负责人编号 |
| techLeadName | string | 周伯通 | 技术负责人名称 |
| salesLeadId | int | 12 | 销售负责人编号 |
| salesLeadName | string | 老顽童 | 销售负责人名字 |
| bidTime | string | 2024-12-18 | 投标时间 |
| isAwarded | bool | true | 是否中标 |
| isLoseTag | bool | true | 是否丢单 |
| isDirectContract | bool | true | 是否直签 |
| reportStatus | string | 已报备 | 报备情况 |
TypeScript Result Example:
TypeScript
interface Result {
/** 编号 */
id: string;
/** 商机编号 */
boNo: string;
/** 标题 */
name: string;
/** 客户编号 */
customerId: string;
/** 客户名称 */
customerName: string;
/** 行业ID */
industryId: number;
/** 行业 */
industryPath: any;
/** 项目等级编号 */
projectLevel: number;
/** 项目级别名称 */
projectLevelName: string;
/** 项目类型编号 */
projectType: number;
/** 项目类型名称 */
projectTypeName: string;
/** 项目阶段名称 */
currentStage: string;
/** 项目阶段名称 */
currentStageText: string;
/** 项目把握度编号 */
projectCertainty: number;
/** 项目把握度 */
projectCertaintyName: string;
/** 项目金额 */
totalAmount: string;
/** 项目参与方式编号 */
projectJoinMethod: number;
/** 预计签约时间 */
estimatedSigningDate: string;
/** 代理编号 */
agentId: string;
/** 创建时间 */
createdAt: string;
/** 创建人编号 */
createdBy: number;
/** 创建人姓名 */
createdByName: string;
/** 技术负责人编号 */
techLeadId: number;
/** 技术负责人名称 */
techLeadName: string;
/** 销售负责人编号 */
salesLeadId: number;
/** 销售负责人名字 */
salesLeadName: string;
/** 投标时间 */
bidTime: string;
/** 是否中标 */
isAwarded: any;
/** 是否丢单 */
isLoseTag: any;
/** 是否直签 */
isDirectContract: any;
/** 报备情况 */
reportStatus: string;
}