GET /v1/stocktakings/diff?date={date}&id_warehouse={id_warehouse}&nonzero={nonzero}

List of stocktaking diff items


Parameters

+ date (string, required) - date of stocktaking (in format yyyy-MM-dd)
+ id_warehouse (number, required) - identifier of stocktaking's warehouse

Request

application/json
TS-Apikey: api_key
{}

Response

application/json
HTTP 200
{
    "list":[
        {
            "product_code":"baldovskacitron",
            "lot":"190726",
            "date_exp":"2019-07-26",
            "name":"Baldovska citron",
            "amount_snap":9.0,
            "amount_real":9.0,
            "amount_diff":0.0,
            "unit":"liter"
        },
        {
            "product_code":"baldovskaorange",
            "lot":"190724",
            "date_exp":"2019-07-24",
            "name":"Baldovska pomaranc",
            "amount_snap":7.5,
            "amount_real":5.0,
            "amount_diff":-2.5,
            "unit":"liter"
        },
        {
            "product_code":"gemerkajemnep",
            "lot":"190619",
            "date_exp":"2021-07-06",
            "name":"Gemerka jemne perliva",
            "amount_snap":2.0,
            "amount_real":4.0,
            "amount_diff":2.0,
            "unit":"liter"
        }
    ]
}