cs.crm.space-forecasts.list.available
分页查询有可分配库存的舱位预报列表
- 请求路由:
cs.crm.space-forecasts.list.available- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "cs.crm.space-forecasts.list.available",
"args" : {
"search" : "搜索参数",
"pg" : "分页参数"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
search | Object | 否 | 搜索参数 |
search.isOccupied | Boolean | 否 | 是否占用 |
search.clientId | String | 否 | 客户id |
search.week | String | 否 | 预报周次 |
search.polId | String | 否 | 起运港 ID |
search.podId | String | 否 | 目的港 ID |
search.por | String | 否 | 收货地(往来单位id) |
search.fnd | String | 否 | 交货地(往来单位id) |
search.salesId | String | 否 | 销售员 ID |
search.operatorId | String | 否 | 操作人id |
search.jobId | String | 否 | 工作单号(精确匹配) |
search.status | String | 否 | 预报状态 |
search.legalEntityIds | String[] | 否 | 法人主体id |
search.customerId | String | 否 | 客户id |
search.keyword | String | 否 | 模糊匹配关键字 |
search.from | String | 否 | 查询起始时间,时间样式为RFC3339格式,如:2019-04-18T00:13:39.649Z |
search.to | String | 否 | 查询终止时间,时间样式为RFC3339格式,如:2019-04-19T00:13:39.649Z |
pg | Object | 否 | 分页参数 |
pg.page | Number | 否 | 页码,首页从0开始 |
pg.size | Number | 否 | 每页记录,默认为10 |
pg.sort | String[] | 否 | 排序字段清单,默认为升序,需要指定降序时在字段名后面添加desc并用分号隔开。 例如:["id", "crDate;desc"] |
返回
还有可分配库存的预报列表
[ ]
返回属性
| 名称 | 类型 | 说明 |
|---|---|---|
forecastId | String | 预报 ID |
shipmentType | String | 业务类型 (整箱/拼箱) |
approvers | Object[] | 商务审核候选列表及最后一次认领标记,由流程维护。 |
approvers.[].user | Object | 候选商务的账号及展示资料。 |
approvers.[].user.username | String | 用户标识 |
approvers.[].user.name | String | 用户名称 |
approvers.[].user.nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
approvers.[].user.mobile | String | 用户手机号 |
approvers.[].user.email | String | 用户邮箱 |
approvers.[].user.position | String | 职位 |
approvers.[].user.contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
approvers.[].claimed | Boolean | 是否为该审核节点最后一次实际认领人。 |
blMode | String | 提单操作模式 |
soNos | String[] | SO单号 |
destinationAgentId | String | 海外代理(往来单位id) |
destinationAgent | Object | 海外代理(往来单位) |
destinationAgent.country | String | 国家 |
destinationAgent.countryEn | String | 国家(英文) |
destinationAgent.abbreviation | String | 名称缩写 |
destinationAgent.address | String | 地址(中文) |
destinationAgent.addressEn | String | 地址(英文) |
destinationAgent.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
destinationAgent.contactPersons.[].username | String | 用户标识 |
destinationAgent.contactPersons.[].name | String | 用户名称 |
destinationAgent.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
destinationAgent.contactPersons.[].mobile | String | 用户手机号 |
destinationAgent.contactPersons.[].email | String | 用户邮箱 |
destinationAgent.contactPersons.[].position | String | 职位 |
destinationAgent.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
destinationAgent.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
destinationAgent.bankAccounts.[].accountName | String | 开户名称 |
destinationAgent.bankAccounts.[].bankName | String | 银行名称 |
destinationAgent.bankAccounts.[].bankCode | String | 联行号 |
destinationAgent.bankAccounts.[].bankAccount | String | 银行账号 |
destinationAgent.bankAccounts.[].currency | String | 币制 |
destinationAgent.bankAccounts.[].swiftCode | String | SWIFT CODE |
destinationAgent.bankAccounts.[].address | String | 地址 |
destinationAgent.bankAccounts.[].isDefault | Boolean | 是否默认 |
destinationAgent.invoiceInfo | Object | 开票信息 |
destinationAgent.invoiceInfo.companyName | String | 公司名称 |
destinationAgent.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
destinationAgent.invoiceInfo.companyAddress | String | 公司地址 |
destinationAgent.invoiceInfo.phone | String | 电话 |
destinationAgent.invoiceInfo.bankAccount | String | 银行账号 |
destinationAgent.invoiceInfo.contact | String | 联系人 |
destinationAgent.invoiceInfo.email | String | 邮箱 |
destinationAgent.extraProps | Object | 扩展信息 |
destinationAgent.relatedCustomers | Object[] | 关联客户列表 |
destinationAgent.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
destinationAgent.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
destinationAgent.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
destinationAgent.relatedCustomers.[].name | String | 名称(中文) |
destinationAgent.relatedCustomers.[].nameEn | String | 名称(英文) |
destinationAgent.unitId | String | 往来单位唯一ID,主键 |
destinationAgent.name | String | 名称(中文) |
destinationAgent.nameEn | String | 名称(英文) |
destinationExchangeAgent | String | 海外换单代理 |
destinationExchangeAgentInfo | Object | 海外换单代理 |
destinationExchangeAgentInfo.country | String | 国家 |
destinationExchangeAgentInfo.countryEn | String | 国家(英文) |
destinationExchangeAgentInfo.abbreviation | String | 名称缩写 |
destinationExchangeAgentInfo.address | String | 地址(中文) |
destinationExchangeAgentInfo.addressEn | String | 地址(英文) |
destinationExchangeAgentInfo.contactPersons | Object[] | 联系人信息列表,支持多个联系人 |
destinationExchangeAgentInfo.contactPersons.[].username | String | 用户标识 |
destinationExchangeAgentInfo.contactPersons.[].name | String | 用户名称 |
destinationExchangeAgentInfo.contactPersons.[].nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
destinationExchangeAgentInfo.contactPersons.[].mobile | String | 用户手机号 |
destinationExchangeAgentInfo.contactPersons.[].email | String | 用户邮箱 |
destinationExchangeAgentInfo.contactPersons.[].position | String | 职位 |
destinationExchangeAgentInfo.contactPersons.[].contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
destinationExchangeAgentInfo.bankAccounts | Object[] | 银行账户列表,支持多个账户 |
destinationExchangeAgentInfo.bankAccounts.[].accountName | String | 开户名称 |
destinationExchangeAgentInfo.bankAccounts.[].bankName | String | 银行名称 |
destinationExchangeAgentInfo.bankAccounts.[].bankCode | String | 联行号 |
destinationExchangeAgentInfo.bankAccounts.[].bankAccount | String | 银行账号 |
destinationExchangeAgentInfo.bankAccounts.[].currency | String | 币制 |
destinationExchangeAgentInfo.bankAccounts.[].swiftCode | String | SWIFT CODE |
destinationExchangeAgentInfo.bankAccounts.[].address | String | 地址 |
destinationExchangeAgentInfo.bankAccounts.[].isDefault | Boolean | 是否默认 |
destinationExchangeAgentInfo.invoiceInfo | Object | 开票信息 |
destinationExchangeAgentInfo.invoiceInfo.companyName | String | 公司名称 |
destinationExchangeAgentInfo.invoiceInfo.taxIdentificationNumber | String | 纳税识别号 |
destinationExchangeAgentInfo.invoiceInfo.companyAddress | String | 公司地址 |
destinationExchangeAgentInfo.invoiceInfo.phone | String | 电话 |
destinationExchangeAgentInfo.invoiceInfo.bankAccount | String | 银行 账号 |
destinationExchangeAgentInfo.invoiceInfo.contact | String | 联系人 |
destinationExchangeAgentInfo.invoiceInfo.email | String | 邮箱 |
destinationExchangeAgentInfo.extraProps | Object | 扩展信息 |
destinationExchangeAgentInfo.relatedCustomers | Object[] | 关联客户列表 |
destinationExchangeAgentInfo.relatedCustomers.[].tags | String[] | 该客户赋予当前往来单位的角色标签列表(如 shipper, consignee, importBuyer 等) |
destinationExchangeAgentInfo.relatedCustomers.[].extraProps | Object | 专属定制扩展属性 (Key 为 tag 比如 "shipper", Value 为特定定制的 Unit 实例) |
destinationExchangeAgentInfo.relatedCustomers.[].unitId | String | 往来单位唯一ID,主键 |
destinationExchangeAgentInfo.relatedCustomers.[].name | String | 名称(中文) |
destinationExchangeAgentInfo.relatedCustomers.[].nameEn | String | 名称(英文) |
destinationExchangeAgentInfo.unitId | String | 往来单位唯一ID,主键 |
destinationExchangeAgentInfo.name | String | 名称(中文) |
destinationExchangeAgentInfo.nameEn | String | 名称(英文) |
status | String | 状态 |
promoter | Object | 发起人 |
promoter.username | String | 用户标识 |
promoter.name | String | 用户名称 |
promoter.nameEn | String | 英文称呼,用于外部联系人的英文通知;缺失时不自动翻译姓名。 |
promoter.mobile | String | 用户手机号 |
promoter.email | String | 用户邮箱 |
promoter.position | String | 职位 |
promoter.contactRoles | String[] | 联系人承担的职责,支持多选;未指定时为空集合 |
week | String | 预报周次 (例如: 2026-WK07) |
voyageId | String | 航次id |
vessel | String | 船名(英文船名,物理船舶 itemId) |
voyageNo | String | 航次号 (如: 045W) |
routingReference | String | 航线代码 |
carrier | String | 船公司(往来单位id) |
carrierInfo | Object | 船公司信息 |
carrierInfo.country | String | 国家 |
carrierInfo.countryEn | String | 国家(英文) |
carrierInfo.abbreviation | String | 名称缩写 |
carrierInfo.address | String |