获取客户可用仓库

地址: http://test.birdsystem.com/client/warehouse/client-use-warehouse

GET

urlhttp://test.birdsystem.com/client/warehouse/client-use-warehouse
接口功能获取客户可用仓库
支持格式JSON开发人员
请求方式GET发布日期

请求示例:

http://test.birdsystem.com/client/warehouse/client-use-warehouse?api_key=a0366845436b4775e6c5caef5ebc0d0d&company_id=36

返回示例:

{
    "total": 5,
    "data": [
        {
            "country_iso": null,
            "company_name_with_warehouse_name": "36 - DG4",
            "site_name": null,
            "id": 83,
            "company_id": 36,
            "name": "DG4",
            "is_dynamic_warehouse_origin": "0",
            "is_dynamic_warehouse_destination": "0",
            "is_client_dispatch_origination": "1",
            "is_client_dispatch_destination": "1",
            "status": "ACTIVE",
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_iso": null,
            "company_name_with_warehouse_name": "36 - DG5",
            "site_name": null,
            "id": 80,
            "company_id": 36,
            "name": "DG5",
            "is_dynamic_warehouse_origin": "0",
            "is_dynamic_warehouse_destination": "0",
            "is_client_dispatch_origination": "1",
            "is_client_dispatch_destination": "1",
            "status": "ACTIVE",
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_iso": null,
            "company_name_with_warehouse_name": "36 - DG6",
            "site_name": null,
            "id": 105,
            "company_id": 36,
            "name": "DG6",
            "is_dynamic_warehouse_origin": "0",
            "is_dynamic_warehouse_destination": "0",
            "is_client_dispatch_origination": "1",
            "is_client_dispatch_destination": "1",
            "status": "ACTIVE",
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_iso": null,
            "company_name_with_warehouse_name": "36 - 6d77591659347a0b4ed3",
            "site_name": null,
            "id": 54,
            "company_id": 36,
            "name": "6d77591659347a0b4ed3",
            "is_dynamic_warehouse_origin": "0",
            "is_dynamic_warehouse_destination": "0",
            "is_client_dispatch_origination": "1",
            "is_client_dispatch_destination": "0",
            "status": "ACTIVE",
            "primary_keys": [
                "id"
            ]
        },
        {
            "country_iso": null,
            "company_name_with_warehouse_name": "36 - 81ea53d159347a0b4ed3",
            "site_name": null,
            "id": 96,
            "company_id": 36,
            "name": "81ea53d159347a0b4ed3",
            "is_dynamic_warehouse_origin": "0",
            "is_dynamic_warehouse_destination": "0",
            "is_client_dispatch_origination": "1",
            "is_client_dispatch_destination": "0",
            "status": "ACTIVE",
            "primary_keys": [
                "id"
            ]
        }
    ],
    "success": true,
    "refresh": false,
    "moduleName": "client"
}


id

系统ID

INT(10)

company_id

站点ID

INT(10)

name

名称

VARCHAR(10)

company_name_with_warehouse_name

站点名+仓库名

VARCHAR

status

状态

ENUM('INACTIVE','ACTIVE')

is_dynamic_warehouse_origin是否动态仓起始仓0/1(1代表是动态仓起始仓)
is_dynamic_warehouse_destination是否动态仓终点仓0/1
is_client_dispatch_origination

是否发货单起始仓

0/1
is_client_dispatch_destination是否发货单终点仓0/1