添加总部出货任务接口,不即时返回处理结果
请求URL:
https://openapi.weixin12315.com/api/sign/md.fc.store/v1/addproductstorageouttask
请求方式:
POST
请求示例:
IAuth auth = new Sign("app_id", "app_secret");
IClient client = new SignClient(auth);
IDictionary<string, object> parameters = new Dictionary<string, object>();
parameters.Add("storagelist", JsonConvert.SerializeObject(new object[] { new { productno= "s3", storageno= "CH201707131019526835", serialnumber= "00220472", dealerno= "q70050", remark= "", deliverytype= "0", storagenotype= "0", sybatchno= "", rkstorageno= "RK201707131019526835", warehouseno= "327" } }));
string result = client.Call("https://openapi.weixin12315.com","md.fc.Store.addproductstorageouttask", "V1", "POST", parameters);请求参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| storagelist | 是 | string | 出货信息 |
storagelist参数:
| 参数名 | 必选 | 类型 | 说明 |
|---|---|---|---|
| productno | 否 | string | 产品编号 |
| storageno | 是 | string | 出货单号 |
| serialnumber | 是 | string | 物流码 |
| dealerno | 是 | string | 经销商编号 |
| remark | 否 | string | 备注 |
| deliverytype | 是 | int | 0快速出货,1已入库产品出货 |
| storagenotype | 是 | int | 0正常出货,1按单出货 |
| sybatchno | 否 | string | 溯源批次编号 |
| rkstorageno | 否 | string | 入库单号 |
| warehouseno | 否 | string | 仓库编号 |
返回示例
{
"return_msg": "success",
"return_code": "0",
"return_data": "47a7d72113034df69025d251cd474a3b"
}返回参数说明
| 参数名 | 类型 | 说明 |
|---|---|---|
| return_code | String | 只有等于0时才有数据返回 |
| return_msg | string | 错误原因 |
| return_data | string | 任务ID |