getShipsList:获取出库/发货单列表
入参
参数名称 |
是否必须 |
类型 |
描述 |
sKey |
Y |
String |
令牌 |
page |
N |
String |
页数,默认1 |
page_size |
N |
String |
每页数量,最大1000,默认100 |
status |
N |
String |
状态筛选,多选用英文逗号隔开。 shipped:待发货; receivedin:待收货; received:已收货; cancelled:已取消; 默认所有 |
is_api |
N |
String |
下载状态筛选,多选用英文逗号隔开。 F:未下载; T:已下载; 默认F |
type_id |
N |
String |
出库类型筛选,多选用英文逗号隔开。 -2:采购退货; 10:销售出库; 11:盘亏出库; 17:其他出库; 18:调拨出库; 19:联营出库; 默认所有 |
create_date_egt |
N |
String |
单据创建开始时间 |
create_date_elt |
N |
String |
单据创建结束时间 |
update_date_egt |
N |
String |
单据更新开始时间 |
update_date_elt |
N |
String |
单据更新结束时间 |
client_num |
N |
String |
单据关联的客户编号 |
stock_id |
N |
String |
订货宝系统的仓库ID,支持多个,英文逗号(,)分割 |
stock_num |
N |
String |
订货宝系统的仓库编码,支持多个,英文逗号(,)分割 |
入参示例
{
"f": "getShipsList",
"v": {
"sKey": "289bdaf05b36b231542eb5c8a1ae64e1",
"page": 1,
"page_size": 2,
"status": "received,shipped",
"is_api": "T,F",
"create_date_egt": "2019-01-01 00:00:00",
"create_date_elt": "2022-10-16 18:10:13",
"update_date_egt": "2019-01-01 00:00:00",
"update_date_elt": "2022-10-16 18:10:13"
}
}
返参
参数名称 |
类型 |
描述、 返回字段 |
rStatus |
Int |
100:正常;其他:异常 |
message |
string |
信息描述 |
rData |
Object |
具体返回信息 |
rData:
参数名称 |
类型 |
描述、 返回字段 |
page_size |
Int |
每页条数 |
page |
Int |
当前页数 |
total_page |
Int |
总页数 |
total |
Int |
数据总数 |
data |
Object |
本页具体数据信息 |
data:
参数名称 |
类型 |
描述、 返回字段 |
ships_id |
Int |
单据主键ID |
client_id |
Int |
单据关联客户ID |
client_num |
string |
单据关联客户编号 |
client_name |
string |
单据关联客户名称 |
client_guid |
string |
单据关联客户外码 |
type_id |
Int |
出库类型ID |
type_name |
string |
出库类型名称 |
stock_id |
Int |
出库仓库ID |
stock_num |
string |
出库仓库编号 |
stock_name |
string |
出库仓库名称 |
stock_guid |
string |
出库仓库外码 |
ships_num |
string |
单据编号 |
orders_id |
Int |
单据关联订单ID |
orders_num |
string |
单据关联订单编号 |
status |
string |
单据状态,shipped:待发货;receivedin:待收货;received:已收货;cancelled:已取消; |
status_name |
string |
单据状态的中文名称 |
ships_date |
string |
发货时间 |
logistics_id |
Int |
物流公司ID |
logistics_name |
string |
物流公司名称 |
express_num |
string |
物流编号 |
remark |
string |
备注 |
update_date |
string |
更新时间 |
create_date |
string |
创建时间 |
internal_comtion |
string |
内部沟通 |
is_api |
string |
下载状态,F:未下载;T:已下载; |
返参示例
{
"rStatus": 100,
"message": "success",
"rData": {
"page_size": 2,
"page": 1,
"total_page": 65,
"total": 129,
"data": [
{
"ships_id": 3537,
"client_id": 24672,
"client_num": "11111115",
"client_name": "测试5",
"client_guid": "GUID15599",
"type_id": 10,
"type_name": "销售出库",
"stock_id": 3706,
"stock_num": "xxxx",
"stock_name": "测试仓库",
"stock_guid": "0001",
"ships_num": "FH.20190215.0001",
"orders_id": 1459861,
"orders_num": "DH.20190215.0001",
"status": "received",
"ships_date": "2019-02-15 19:04:00",
"logistics_id": 0,
"logistics_name": "",
"express_num": "444",
"remark": "543",
"update_date": "2019-02-15 19:05:08",
"create_date": "2019-02-15 19:04:05",
"internal_comtion": "",
"is_api": "F"
},
{
"ships_id": 3784,
"client_id": 24672,
"client_num": "11111115",
"client_name": "测试5",
"client_guid": "GUID15599",
"type_id": 10,
"type_name": "销售出库",
"stock_id": 37997,
"stock_num": "zds001",
"stock_name": "佐大狮-华北(北京)物流中心",
"stock_guid": "HOLYCK1",
"ships_num": "FH.20190523.0001",
"orders_id": 1460511,
"orders_num": "DH.20190523.0001",
"status": "received",
"ships_date": "2019-05-23 11:18:00",
"logistics_id": 0,
"logistics_name": "",
"express_num": "",
"remark": "",
"update_date": "2019-05-23 11:18:59",
"create_date": "2019-05-23 11:18:26",
"internal_comtion": "",
"is_api": "F"
}
]
}
}