GET /v1/stocktakings/list?headers={headers}

List of stocktakings


Parameters

None.


Request

application/json
TS-Apikey: api_key
{}

Response

application/json
HTTP 200
{
    "list":[
        {
            "id_warehouse":5,
            "date":"2018-11-23",
            "status":0,
            "in_doc":1805000004,
            "out_doc":1805000005,
            "in_ufid":"I/2018/5/4",
            "out_ufid":"O/2018/5/5",
            "stocktaking_items":[
                {
                    "id_warehouse":5,
                    "date":"2018-11-29",
                    "product_code":"baldovskacitron",
                    "lot":"190726",
                    "date_exp":"2019-07-26",
                    "name":"Baldovska citron",
                    "amount_real":9,
                    "amount_snap":9,
                    "amount_diff":0
                }
            ]
        },
        {
            "id_warehouse":5,
            "date":"2018-11-26",
            "status":0,
            "in_doc":1805000015,
            "out_doc":1805000016,
            "in_ufid":"I/2018/5/15",
            "out_ufid":"O/2018/5/16",
            "stocktaking_items":[]
        }
    ]
}