Developer Documentation
Query Inspection War

1.Description

   Query inspection warehouse, currently only Shenzhen warehouse support ISP order. 

2.Scenario

   Query inspection warehouse, currently only Shenzhen warehouse support ISP order.

3.Request Information

URL

http://openapi.winit.com.cn/openapi/service

UAT
Action 
action:baseData.inspWarehouseList

Authentication

Token,md5

Format

json

Protocol

http,post

Rate Limitation

Default 300 requests per minute, can request increase on needs


4.Request Parameter

NameTypeLengthRequiredDescriptionExample
 productCodeString50 Y

Product Code


5、Response Parameter

Name

Type

Length

Description

Example

warehouseCodeString100
Warehouse Code
warehouseIDNumber11Warehouse ID
warehouseNameString100Warehouse Name



6、Request Example

{

    "action": "baseData.inspWarehouseList", 

    "app_key": "rebecca", 

    "data": {

        "productCode": "PPTestProduct"

    }, 

    "format": "json", 

    "language": "zh_CN", 

    "platform": "sw", 

    "sign": "DAB8A784BF8602890350D499FFDCC68B", 

    "sign_method": "md5", 

    "timestamp": "2015-06-16 03:01:36", 

    "version": "1.0"

}



Response Example

{

    "code": "0", 

    "data": [

        {

            "warehouseCode": "SZ0001", 

            "warehouseID": "1000003", 

            "warehouseName": "ShenZhen  Warehouse"

        }

    ], 

    "msg": "OPERATION SUCCESS"

}


Response Description


Success response: Return Warehouse Id,Warehouse Name.

Error response:Error code, Error message