根据API网关获取需求计划接口
| 名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
|---|---|---|---|---|---|
| bizId | Number | 可选 | 257000 | 苏泊尔账套 | |
| entityId | String | 可选 | 615433483 | 实体ID | |
| areaCodes | String | 可选 | 仓code以逗号分隔 | 仓库列表 | |
| entityOwnerId | Number | 可选 | 实体拥有人ID | 实体拥有人 | |
| areaDimType | Number | 可选 | 5 country, 2 store | 空间维度 | |
| dateDimType | Number | 可选 | 1日,2周,3月,6年 | 时间维度 | |
| startDate | String | 可选 | yyyymmdd | 查询开始时间 | |
| dateLength | Number | 可选 | 查询时间长度 | 与时间维度决定最终的时长 | |
| tenantCode | String | 可选 | 租户编码 | 租户编码 |
| 名称 | 类型 | 示例值 | 描述 |
|---|---|---|---|
| result | Result | 租户code | 返回结果 |
|
{"bizId":257000,"entityOwnerId":0,"entityId":"615433483","areaCodes":"仓code以逗号分隔","dateDimType":0,"dateLength":0,"tenantCode":"租户编码","startDate":"yyyymmdd","areaDimType":0}
{
"result":{
"success":true,
"errorCode":"错误code",
"errorMessage":"错误信息",
"data":[
{
"tenantCode":"租户编码",
"bizId":账套,
"bizMode":业务模式,
"entityId":"实体ID",
"entityName":"实体名称",
"areaCode":"空间code",
"areaDimType":空间维度,
"forecastQty":销量预测值,
"confirmQty":销量计划值,
"recommendQty":销量商家推荐值,
"statDateDimType":时间维度,
"statDate":"具体时间"
}
]
}
}
{"result":{"success":"false","errorMessage":"Illegal request","errorCode":"sign-check-failure"}}
| 错误码 | 错误描述 | 解决方案 |
|---|