API
WI01.查询WINIT产品
更新时间: 2017-11-22 16:40:51 访问次数:891
接口说明

卖家或第三方通过该接口查询Winit服务产品。

使用场景

卖家或第三方通过该接口查询Winit服务产品。

备注

请求说明
URL http://openapi.winit.com.cn/openapi/service
接口测试 http://openapi.sandbox.winit.com.cn/openapi/service
验证方法 Token,md5
格式 json
字符编码 UTF-8
http请求方式 http
请求数限制 默认每分钟1000,有需要可申请加大。
请求入参
名称 类型 必填 说明 示例
productType String(20) Y 产品类型:
  • OW0101-标准海外仓入库
  • OW0102-直发国内验入库
  • OW0103-直发海外验入库
  • SSW11-标准存储仓入库
  • SSW12-直发存储仓
OW0101
请求示例
{
      "action": "winit.wh.pms.getWinitProducts",
      "app_key": "rebecca",
      "data": {
          "productType": "OW0101"
      },
      "format": "json",
      "language": "zh_CN",
      "platform": "sw",
      "sign": "00000000000000000000000000000000",
      "sign_method": "md5",
    "timestamp": "2016-09-09   10:08:14",
      "version": "1.0"
}

                            
返回出参
名称 类型 必填 说明 示例
productCode String(10) Y Winit产品编码
productName String(60) Y Winit产品名称
description String(255) Y Winit产品描述
返回示例
{
      "code": "0",
      "data": [
          {
              "description": "",
              "productCode": "OW01010390",
              "productName": "经济型快递-英国"
          },
          {
              "description": "",
              "productCode": "OW01010391",
              "productName": "经济型快递-德国"
          },
          {
              "description": "空运普货-YCS",
              "productCode": "OW01010364",
              "productName": "空运普货-YCS"
          },
          {
              "description": "",
              "productCode": "OW01010349",
              "productName": "空运-内置电池"
          },
          {
              "description": "",
              "productCode": "OW01010374",
              "productName": "海运电池"
          },
          {
              "description": "",
              "productCode": "OW01010382",
              "productName": "海运整柜散装-40HQ"
          },
          {
              "description": "",
              "productCode": "OW01010378",
              "productName": "海运整柜散装-40GP"
          },
          {
              "description": "",
              "productCode": "OW01010360",
              "productName": "海运整柜-40HQ"
          },
          {
              "description": "",
              "productCode": "OW01010357",
              "productName": "海运整柜-40GP"
          },
          {
              "description": "",
              "productCode": "OW01010341",
              "productName": "海运整柜-20GP"
          },
          {
              "description": "",
              "productCode": "OW01010339",
              "productName": "海运散货-经济型"
          },
          {
              "description": "",
              "productCode": "OW01010334",
              "productName": "海运散货-标准型"
          },
          {
              "description": "",
              "productCode": "OW01010375",
              "productName": "海运-内置电池"
          },
          {
              "description": "",
              "productCode": "OW01010345",
              "productName": "海运整柜散装-20GP"
          }
      ],
      "msg": "操作成功"
}