container-product-transaction

URI:  http://test.birdsystem.com/client/Container-Product-Transaction

Only Support GET

Column

FieldUsageType

product_id

Product ID

INT(10)

quantity

Quantity

INT(10)

consignment_id

Consignment ID

BIGINT(16)

client_dispatch_id

Client dispatch ID

INT(10)

update_timeLast update timeTIMESTAMP
typeType'ADJUSTMENT','CONSIGNMENT','WAREHOUSE_DISPATCH'

GET Url Param

FieldUsageExample

product_id

Product ID

product_id=1
sortSortsort=[{"property":"update_time","direction":"DESC"}]
limitGet how many recordslimit=50

GET Response

{
    "total":2,
    "data":[
        {
            "total":null,
            "quantity_left":null,
            "id":49,
            "container_id":2,
            "product_id":1,
            "quantity":1,
            "consignment_id":1707170020000020,
            "warehouse_dispatch_id":null,
            "client_dispatch_id":null,
            "warehouse_transfer_id":null,
            "company_user_id":null,
            "note":null,
            "update_time":"2017-07-18 07:37:46",
            "type":"CONSIGNMENT",
            "primary_keys":[
                "id"
            ],
            "container-reference":2001
        },
        {
            "total":null,
            "quantity_left":null,
            "id":53,
            "container_id":2,
            "product_id":1,
            "quantity":1,
            "consignment_id":1707170020000023,
            "warehouse_dispatch_id":null,
            "client_dispatch_id":null,
            "warehouse_transfer_id":null,
            "company_user_id":null,
            "note":null,
            "update_time":"2017-07-18 07:38:31",
            "type":"CONSIGNMENT",
            "primary_keys":[
                "id"
            ],
            "container-reference":2001
        }
    ],
    "success":true,
    "moduleName":"client"
}