cs.space-inventories.detail.list
分页查询按 SO 批次展开的库存明细。
- 请求路由:
cs.space-inventories.detail.list- 交互模型:
Request Stream- 访问限制: 无
请求
RSocket.rs({
"route" : "cs.space-inventories.detail.list",
"args" : {
"search" : "搜索参数",
"pg" : "分页参数"
}
});
请求参数
| 名称 | 类型 | 必须 | 说明 |
|---|---|---|---|
search | Object | 否 | 搜索参数 |
search.inventoryIds | String[] | 否 | 库存 ID 集合。 |
search.bookingNos | String[] | 否 | 订舱参考号集合。 |
search.contractNos | String[] | 否 | 合约号集合。 |
search.carrierId | String | 否 | 船公司 ID。 |
search.tags | String[] | 否 | 必须包含的标签集合。 |
search.excludeTags | String[] | 否 | 必须排除的标签集合。 |
search.hasTags | Boolean | 否 | 是否仅返回已设置标签的库存。 |
search.soNos | String[] | 否 | SO 单号集合。 |
search.polIds | String[] | 否 | 起运港 ID 集合。 |
search.podIds | String[] | 否 | 目的港 ID 集合。 |
search.voyageIds | String[] | 否 | 航次 ID 集合。 |
search.vessel | String | 否 | 船名或物理船舶 ID。 |
search.week | String | 否 | 业务周次。 |
search.status | String[] | 否 | SO 批次状态集合。 |
search.etdFrom | String | 否 | 预计开船时间下限。 |
search.etdTo | String | 否 | 预计开船时间上限。 |
search.customsReleaseCutoffFrom | String | 否 | 海关放行截止时间下限。 |
search.customsReleaseCutoffTo | 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"] |
返回
扁平化库存明细列表
[ ]