Skip to content

获取商机列表 API

PathMethodCreated At
/api/business/opportunities/paginatePOST2025-11-29 00:39:11

Request

KeyRuleDescription
pageinteger,min:1,max:100页码错误
page_sizeinteger,min:5,max:1000每页数量错误
customer_idstring,size:24trans:validate.CUSTOMER_NOT_FOUND
is_archivedApp\Rules\BoolRule是否归档字段错误
conditionsarray查询条件错误
sortsarray排序字段不正确

Response

KeyTypeExampleComment
idint1商机编号
boNostring32acd商机编号
namestring智慧城市大数据平台项目商机名称
customerIdstring32ac32客户编号
customerNamestring金华公安局客户名称
industryIdint1行业编号
industryPatharray["政府", "气象"]行业名称
agentIdstring89abc23渠道ID
totalAmountstring123456789总价
projectTypeint2项目类型编号
projectTypeNamestring服务器项目类型名称
projectLevelint3项目等级编号
projectLevelNamestring公司级项目项目等级名称
createdByint1负责人ID
createdByNamestring张三负责人姓名
currentStagestringpromote_bidding_process项目阶段名称
currentStageTextstring招投标 > 推进招标流程项目阶段名称
areaCodestring330203区域
estimatedSigningDatestring2021-08-01 12:00:00预计签约时间
createdAtstring2021-08-01 12:00:00创建时间
techLeadIdint11技术负责人编号
techLeadNamestring周伯通技术负责人名称
projectJoinMethodint1项目参与方式
salesLeadIdint12销售负责人编号
salesLeadNamestring老顽童销售负责人名字
bidTimestring2024-12-18投标时间
archivedAtstring2025-01-02 11:08:00归档时间
archivedByNamestring郭靖归档人
isDirectContractbooltrue是否直签
reportStatusstring已报备报备情况
projectCertaintyint1项目把握度
projectCertaintyNamestring2项目把握度

TypeScript Result Example:

TypeScript
interface Result {
  /** 商机编号 */
  id: number;
  /** 商机编号 */
  boNo: string;
  /** 商机名称 */
  name: string;
  /** 客户编号 */
  customerId: string;
  /** 客户名称 */
  customerName: string;
  /** 行业编号 */
  industryId: number;
  /** 行业名称 */
  industryPath: any;
  /** 渠道ID */
  agentId: string;
  /** 总价 */
  totalAmount: string;
  /** 项目类型编号 */
  projectType: number;
  /** 项目类型名称 */
  projectTypeName: string;
  /** 项目等级编号 */
  projectLevel: number;
  /** 项目等级名称 */
  projectLevelName: string;
  /** 负责人ID */
  createdBy: number;
  /** 负责人姓名 */
  createdByName: string;
  /** 项目阶段名称 */
  currentStage: string;
  /** 项目阶段名称 */
  currentStageText: string;
  /** 区域 */
  areaCode: string;
  /** 预计签约时间 */
  estimatedSigningDate: string;
  /** 创建时间 */
  createdAt: string;
  /** 技术负责人编号 */
  techLeadId: number;
  /** 技术负责人名称 */
  techLeadName: string;
  /** 项目参与方式 */
  projectJoinMethod: number;
  /** 销售负责人编号 */
  salesLeadId: number;
  /** 销售负责人名字 */
  salesLeadName: string;
  /** 投标时间 */
  bidTime: string;
  /** 归档时间 */
  archivedAt: string;
  /** 归档人 */
  archivedByName: string;
  /** 是否直签 */
  isDirectContract: any;
  /** 报备情况 */
  reportStatus: string;
  /** 项目把握度 */
  projectCertainty: number;
  /** 项目把握度 */
  projectCertaintyName: string;
}