- EXCEL接口文档下载
- 公司架构
- 产品与工艺工程管理
- 物料类别
- 物料
- BOM
- 工艺路线
- 工艺文件
- 工程变更
- SKU
- 工序
- 分发规则与执行
- 生产管理
- 生产工单
- 查询生产工单 externalGetMo
- 新建生产工单 externalCreateMo
- 更新生产工单 externalUpdateMo
- 新建生产工单组件 externalCreateMoComponent
- 新建生产工单工序 externalCreateMoOperation
- 下发生产工单 externalMoStatus
- 关闭生产工单 externalMoStatus
- 打开生产工单 externalMoStatus
- 强制完成生产工单 externalMoStatus
- 生产工单-提交协同 externalMoStatus
- 修改生产工单组件 externalUpdateMoComponent
- 删除工单组件 externalDeleteMoComponent
- 更新工单工序 externalUpdateMoOperation
- 单件报工
- 工序委外
- 新建工序委外在制发出 Create Outsource Operation Distribute
- 更新工序委外在制发出 Update Outsource Operation Distribute
- 提交工序委外在制发出 Submit Outsource Operation Distribute
- 工序委外送货通知查询 Submit Outsource Operation Distribute
- 新建工序委外完工接收单 Create Outsource Operation Complete Receive
- 更新工序委外完工接收单 Update Outsource Operation Complete Receive
- 提交工序委外完工接收 Submit Outsource Operation Complete Receive
- 新建工序代工完工退回接收单 Create Oeo Complete Return
- 生产采集项
- 工序委外
- 采购管理
- 供应商
- 采购价格协议
- 采购申请
- 采购订单
- 采购订单查询 getPurchaseOrder
- 采购订单提交审批 submitPurchaseOrderForApproval
- 新建采购订单 createPurchaseOrder
- 新建采购订单行&委外组件行 createPurchaseOrderLine
- 新建采购订单委外行 createPurchaseOrderOutsourceLine
- 更新采购订单 updatePurchaseOrder
- 采购订单提交协同 submitPurchaseOrderForCollaboration
- 采购订单变更 changePurchaseOrder
- 采购订单接收关闭 receivingClosePurchaseOrder
- 采购订单行接收关闭 receivingClosePurchaseOrderLine
- 采购订单最终关闭 finalClosePurchaseOrder
- 采购订单行最终关闭 finalClosePurchaseOrderLine
- 采购订单行打开 openPurchaseOrderLine
- 采购订单整单打开 openPurchaseOrder
- 采购订单委外发料挑库
- 采购退货订单
- 采购退货挑库
- 到货预约
- 采购对账
- 销售管理
- 客户
- 需求订单
- 销售订单
- 新建销售订单 createSalesOrder
- 变更销售订单 changeSalesOrder
- 销售订单提交审批 submitSalesOrderForApproval
- 查询销售订单 getSalesOrder
- 销售订单行发货关闭 shippingCloseSalesOrderLine
- 销售订单整单发货关闭 shippingCloseSalesOrder
- 销售订单行打开 openSalesOrderLine
- 销售订单整单打开 openSalesOrder
- 销售订单行最终关闭 finalCloseSalesOrderLine
- 销售订单整单最终关闭 finalCloseSalesOrder
- 销售订单转生产工单 salesOrderLineToManufactureOrder
- 销售退货订单
- 需求发货
- 库存管理
- 财务管理
- 质量管理
- 供应链计划
- 销售预测
- 配额规则
- 新品规划
- 采购预测
- 高级计划属性
- 需求计划
- 设备管理
- 邀请注册
- 企业通讯录
- 企业通讯录-外部新建公司 CreateCompany
- 企业通讯录-外部更新公司 UpdateCompany
- 企业通讯录-外部新建部门 CreateDepartment
- 企业通讯录-外部更新部门 UpdateDepartment
- 企业通讯录-外部新建岗位 CreatePost
- 企业通讯录-外部更新岗位 UpdatePost
- 企业通讯录-外部新建员工 CreateEmployee
- 企业通讯录-外部更新员工 UpdateEmployee
- 企业通讯录-员工分配用户 EmployeeBindUser
- 企业通讯录-员工分配岗位 EmployeeBindPost
- 企业通讯录-员工删除分配用户 EmployeeUnbindUser
- 企业通讯录-员工删除分配岗位 EmployeeUnbindPost
- 发货预约关闭 CloseDeliveryAppointment POST
- 关闭发货预约行 CloseDeliveryAppointmentLine POST
- 发货预约协同确认 DeliveryAppointmentCollaboration POST
- 创建快速编码 createFastCodePOST
- 新建角色 createRoleManagement POST
- 角色权限控制维度启用 enableRoleAuthorityDimension POST
- 角色权限数据分配 distributeRoleAuthorityDataPOST
新建销售预测 createForecast
POST
/hitf/v1/rest/invoke
请求参数
Query 参数
namespace
string
可选
示例值:
HZERO
serverCode
string
可选
示例值:
ZOSC_OPEN_API
interfaceCode
string
可选
示例值:
zosc-open-api.forecast-open-api-controller.createForecast
Body 参数application/json
forecastCode
string
预测编号
remark
string
描述
organizationCode
string
组织编码
organizationName
string
组织名称
forecastDateDimensionCode
string
预测日期维度编码
forecastDateDimensionName
string
预测日期维度名称
dateDimensionNum
string
维度号
historyMatchDays
string
向前匹配天数
futureMatchDays
string
向后匹配天数
soIssueReductionFlag
string
销售发货冲减预测标识
soMatchFlag
string
销售订单匹配预测标识
newProductFlag
string
是否应用新品规划
orderHistoryDaysFrom
string
订单距今天数≥
orderHistoryDaysTo
string
订单距今天数≤
futureForecastDays
string
未来预测天数
enabledFlag
string
是否启用。1启用,0未启用
startReductionDate
string
冲减时间自
createForecastLineOpenRequestDTOList
object
可选
sourceTypeCode
string
来源类型编码
sourceTypeName
string
来源类型名称
itemCode
string
物料编码
itemSkuCode
string
SKU编码
forecastDate
string
预测日期
initForecastQty
string
初始化预测数量
customerCode
string
客户编码
customerName
string
客户名称
示例
{
"headerParamMap": {},
"pathVariableMap": {},
"requestParamMap": {},
"bodyParamMap": {},
"mediaType": null,
"payload": "[{\"forecastCode\":\"FN2023020720002-OPENAPI\",\"remark\":\"open-api测试\",\"organizationCode\":\"test1\",\"organizationName\":\"test1\",\"forecastDateDimensionCode\":\"\",\"forecastDateDimensionName\":\"周\",\"dateDimensionNum\":\"1\",\"historyMatchDays\":\"1\",\"futureMatchDays\":\"30\",\"soIssueReductionFlag\":\"1\",\"soMatchFlag\":\"1\",\"newProductFlag\":\"1\",\"orderHistoryDaysFrom\":\"-30\",\"orderHistoryDaysTo\":\"-1\",\"futureForecastDays\":\"7\",\"enabledFlag\":\"1\",\"startReductionDate\":\"2023-02-0710:51:30\",\"createForecastLineOpenRequestDTOList\":[{\"sourceTypeCode\":\"MANUAL\",\"sourceTypeName\":\"\",\"itemCode\":\"Zone-ALL\",\"itemSkuCode\":\"z-all\",\"forecastDate\":\"2023-02-06 00:00:00\",\"initForecastQty\":\"1\",\"customerCode\":\"tstt\",\"customerName\":\"中国福康兴达药业集团有限公司\"}]}]"
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/hitf/v1/rest/invoke' \
--header 'Content-Type: application/json' \
--data-raw '{
"headerParamMap": {},
"pathVariableMap": {},
"requestParamMap": {},
"bodyParamMap": {},
"mediaType": null,
"payload": "[{\"forecastCode\":\"FN2023020720002-OPENAPI\",\"remark\":\"open-api测试\",\"organizationCode\":\"test1\",\"organizationName\":\"test1\",\"forecastDateDimensionCode\":\"\",\"forecastDateDimensionName\":\"周\",\"dateDimensionNum\":\"1\",\"historyMatchDays\":\"1\",\"futureMatchDays\":\"30\",\"soIssueReductionFlag\":\"1\",\"soMatchFlag\":\"1\",\"newProductFlag\":\"1\",\"orderHistoryDaysFrom\":\"-30\",\"orderHistoryDaysTo\":\"-1\",\"futureForecastDays\":\"7\",\"enabledFlag\":\"1\",\"startReductionDate\":\"2023-02-0710:51:30\",\"createForecastLineOpenRequestDTOList\":[{\"sourceTypeCode\":\"MANUAL\",\"sourceTypeName\":\"\",\"itemCode\":\"Zone-ALL\",\"itemSkuCode\":\"z-all\",\"forecastDate\":\"2023-02-06 00:00:00\",\"initForecastQty\":\"1\",\"customerCode\":\"tstt\",\"customerName\":\"中国福康兴达药业集团有限公司\"}]}]"
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{
"headers": {},
"body": null,
"status": "200",
"message": "OK",
"mediaType": null,
"payload": "{\"result\":true}",
"apiInfo": null,
"targetResponseHeaders": {
"date": "Wed, 15 Feb 2023 05:31:03 GMT",
"expires": "0",
"transfer-encoding": "chunked",
"x-content-type-options": "nosniff",
"x-xss-protection": "1; mode=block",
"connection": "keep-alive",
"content-type": "application/json",
"cache-control": "no-cache, no-store, max-age=0, must-revalidate",
"pragma": "no-cache"
},
"invokeKey": null,
"interfaceContext": null,
"statusCode": "OK",
"statusCodeValue": 200
}
修改于 2023-03-24 07:15:49