API
查询国内验货仓
更新时间: 2019-09-11 18:40:40 访问次数:3041
接口说明

此接口更新为action:baseData.getISPWarehouseList,老接口action:baseData.inspWarehouseList依旧保留但是查询数据会有误,请第三方ISP业务调用新接口,传参不变。

接口英文名称

baseData.inspWarehouseList

使用场景

根据ISP的物流渠道代码(通过接口:winitProduct.list得到出参productCode),查询此ISP物流产品可以使用的验货仓code。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
productCode String(50) Y 物流方式代码
productCatalogName String(20) N 产品分类 默认值是ISP
请求示例
baseData.getISPWarehouseList示例  
	{
    "action":"baseData.getISPWarehouseList",
    "app_key":"rebecca",
    "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
    "client_sign":"73EACF3526EF27BFC05F8089D87572EF",
    "data":{
        "productCode":"PGISPUSPSHK0705"
    },
    "format":"json",
    "language":"zh_CN",
    "platform":"OWNERERP",
    "sign":"80F61B27532625262CC9151F963DDA8D",
    "sign_method":"md5",
    "timestamp":"2015-06-16 03:01:36",
    "version":"1.0"
}
baseData.inspWarehouseList示例 
{
    "action":"baseData.inspWarehouseList",
    "app_key":"rebecca",
    "client_id":"ODJKMDU1YZCTYJQ5YY00ZWZLLTK5N2QTOWY4MZI5OGMWNDG2",
    "client_sign":"C08BF058593D667379B9C2A995CFA08F",
    "data":{
        "productCode":"WP-MYP101"
    },
    "format":"json",
    "language":"zh_CN",
    "platform":"OWNERERP",
    "sign":"16F2D9E010A588545B6CC96D76FB425C",
    "sign_method":"md5",
    "timestamp":"2015-06-16 03:01:36",
    "version":"1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
warehouseCode String(20) Y 仓库Code 0
warehouseID Number(11) Y 仓库ID
warehouseName String(50) Y 仓库名称
warehouseAddress String(255) Y 仓库地址

返回参数说明 正确的返回结果:仓库名称,仓库id,仓库地址。 错误的返回结果:错误码,错误信息

返回示例
示例1  
{
  "code": "0",
  "msg": "操作成功",
  "data": [
    {
      "warehouseAddress": "深圳市福田区金地工业区129栋1楼",
      "warehouseID": "1000191",
      "warehouseName": "深圳e仓",
      "warehouseCode": "CPSZS"
    }
  ]
}
示例2  
{
  "code": "0",
  "msg": "操作成功",
  "data": [
    {
      "warehouseAddress": "成都市新都工业东区黄鹤路388号(晨明汽车总部港)17栋1楼",
      "warehouseID": "1034210",
      "warehouseName": "成都ISP仓",
      "warehouseCode": "YW10000029"
    },
    {
      "warehouseAddress": "南京市雨花台区花神庙10号花神科技园03幢B座2楼105室",
      "warehouseID": "1013192",
      "warehouseName": "南京ISP仓",
      "warehouseCode": "YW10000020"
    },
    {
      "warehouseAddress": "无锡市慧山经济开发区智慧路21号高楼1层",
      "warehouseID": "1013193",
      "warehouseName": "无锡ISP仓",
      "warehouseCode": "YW10000021"
    },
    {
      "warehouseAddress": "郑州市经开区第十九大街与经南七路北竹林松大东一厂房一楼西侧燕文物流",
      "warehouseID": "1013197",
      "warehouseName": "郑州ISP仓",
      "warehouseCode": "YW10000023"
    },
    {
      "warehouseAddress": "深圳市宝安区西乡街道水库路111号星宏科技园D栋一层",
      "warehouseID": "1013191",
      "warehouseName": "东莞ISP仓",
      "warehouseCode": "YW10000019"
    },
    {
      "warehouseAddress": "佛山市南海区桂城街道平州三山西桥脚普洛斯物流园区A5库",
      "warehouseID": "1013196",
      "warehouseName": "佛山ISP仓",
      "warehouseCode": "YW10000022"
    },
    {
      "warehouseAddress": "武汉市东西湖区高桥二路特1号武汉自贸城C区4单元1层1-8号",
      "warehouseID": "1016192",
      "warehouseName": "武汉ISP仓",
      "warehouseCode": "YW10000026"
    },
    {
      "warehouseAddress": "泉州晋江市池店镇凤池西路茂厝村324复线门牌号1205茂盛企业负一楼燕文物流",
      "warehouseID": "1016191",
      "warehouseName": "泉州ISP仓",
      "warehouseCode": "YW10000025"
    },
    {
      "warehouseAddress": "安徽省合肥市蜀山区仰桥路381号向东50米5号仓",
      "warehouseID": "1041191",
      "warehouseName": "合肥ISP仓",
      "warehouseCode": "YW10000032"
    },
    {
      "warehouseAddress": "青岛市城阳区流亭社区天河路70号3号库4号门",
      "warehouseID": "1047192",
      "warehouseName": "青岛ISP仓",
      "warehouseCode": "YW10000035"
    },
    {
      "warehouseAddress": "天津市东丽区一经路信通路天津市永珍电子厂院内",
      "warehouseID": "1047191",
      "warehouseName": "天津ISP仓",
      "warehouseCode": "YW10000034"
    },
    {
      "warehouseAddress": "温州市龙湾区滨海园区3道4299号一号楼1楼 燕文物流",
      "warehouseID": "1011190",
      "warehouseName": "温州ISP仓",
      "warehouseCode": "YW10000018"
    },
    {
      "warehouseAddress": "长沙市望城区普瑞大道永旺仓储物流园13栋1层103室",
      "warehouseID": "1050193",
      "warehouseName": "长沙ISP仓",
      "warehouseCode": "YW10000039"
    },
    {
      "warehouseAddress": "福州市仓山区城门镇东塔路志禾楼104-40号",
      "warehouseID": "1050192",
      "warehouseName": "福州ISP仓",
      "warehouseCode": "YW10000038"
    },
    {
      "warehouseAddress": "福建省厦门市集美区杏滨街道杏前路205号3号库1楼",
      "warehouseID": "1050191",
      "warehouseName": "厦门ISP仓",
      "warehouseCode": "YW10000037"
    },
    {
      "warehouseAddress": "重庆市九龙坡区二郎凯邦支路16号惠凌实业仓库大楼6楼14号",
      "warehouseID": "1047193",
      "warehouseName": "重庆ISP仓",
      "warehouseCode": "YW10000036"
    },
    {
      "warehouseAddress": "杭州市萧山区保税物流园8号仓",
      "warehouseID": "1004194",
      "warehouseName": "杭州ISP仓",
      "warehouseCode": "YW10000010"
    },
    {
      "warehouseAddress": "义乌市龙海路825号普洛斯义乌物流园B1库2F4单元2-3号门",
      "warehouseID": "1004191",
      "warehouseName": "义乌ISP仓",
      "warehouseCode": "YW10000007"
    },
    {
      "warehouseAddress": "南昌市南昌县创新二路1001号 (北大荒集团江西办事处)燕文物流",
      "warehouseID": "1045191",
      "warehouseName": "南昌ISP仓",
      "warehouseCode": "YW10000033"
    },
    {
      "warehouseAddress": "江苏昆山市花桥镇花集路668号宝湾物流1号库6号门",
      "warehouseID": "1004190",
      "warehouseName": "上海ISP仓",
      "warehouseCode": "YW10000006"
    },
    {
      "warehouseAddress": "深圳市宝安区西乡街道水库路111号星宏科技园D栋一层",
      "warehouseID": "1004192",
      "warehouseName": "深圳ISP仓",
      "warehouseCode": "YW10000008"
    },
    {
      "warehouseAddress": "北京市朝阳区万红路5号蓝涛中心北京燕文物流库房操作A区",
      "warehouseID": "1004189",
      "warehouseName": "北京ISP仓",
      "warehouseCode": "YW10000005"
    },
    {
      "warehouseAddress": "佛山市南海区桂城街道平州三山西桥脚普洛斯物流园区A5库",
      "warehouseID": "1004193",
      "warehouseName": "广州ISP仓",
      "warehouseCode": "YW10000009"
    },
    {
      "warehouseAddress": "宁波市北仑区坝头西路268号(北仑电商园)2号楼1楼",
      "warehouseID": "1006191",
      "warehouseName": "宁波ISP仓",
      "warehouseCode": "YW10000013"
    },
    {
      "warehouseAddress": "义乌市北苑雪峰东路6号",
      "warehouseID": "1006190",
      "warehouseName": "金华ISP仓",
      "warehouseCode": "YW10000012"
    },
    {
      "warehouseAddress": "苏州市吴中区兴吴路58号",
      "warehouseID": "1006189",
      "warehouseName": "苏州ISP仓",
      "warehouseCode": "YW10000011"
    }
  ]
}