warehouse-dispatch-freight/get-closest-freight

URI:http://test.birdsystem.com/client/warehouse-dispatch-freight/get-closest-freight

This API End Point is Read Only

GET Url Param

FieldUsageMandatory

final_freight_method

Freight methodYES'EXPRESS','AIR','SEA','AIR_MAIL','EXPRESS_LINE','OTHER'

delivery_time

Dispatch timeYESTIMESTAMP

warehouse_id_origination

Origination Warehouse ID

YES

INT(10)

warehouse_id_destination

Destination Warehouse ID

YES

INT(10)

is_use_whole_freight

Whether use whole freightYES1,0

type

Dispatch typeYES'NORMAL','TRANSFER','SPONTANEOUS'

Response

FieldUsageData Type

id

ID

INT(10)

warehouse_id_origination

Origination Warehouse ID

INT(10)

warehouse_id_destination

Destination Warehouse ID

INT(10)

reference

Reference


warehouse_name_origination

Origination Warehouse Name


warehouse_name_destination

Destination Warehouse Name


status

Status

'PREPARING'

{
    "success":true,
    "data":{
        "warehouse_id":null,
        "warehouse_id_list":null,
        "origination_warehouse_id":null,
        "destination_warehouse_id":null,
        "specific_client_id":1,
        "id":4,
        "create_company_user_id":1,
        "airport_id":null,
        "method":"SEA",
        "reference":"GBS-20170423002",
        "transmit_warehouse":null,
        "latest_order_time":"2017-04-20 04:08:55",
        "latest_receive_time":"2017-04-21 04:08:55",
        "dispatch_time":"2017-04-23 00:00:00",
        "estimate_arrive_time":"2017-04-24 00:00:00",
        "create_time":"2017-04-19 16:08:54",
        "note":null,
        "note_internal":"Minus ullam aut soluta qui fugiat qui. Ea distinctio earum voluptas sapiente cum. Sed cumque et quis aut. Ut ut iste qui debitis.",
        "status":"PREPARING",
        "primary_keys":[
            "id"
        ],
        "warehouse_id_origination":12,
        "warehouse_id_destination":2,
        "warehouse_name_origination":"Warehouse voluptatum enim id",
        "warehouse_name_destination":"CN1.03(FBA-FBB始发仓)"
    },
    "moduleName":"client"
}