GET /v1/docs/{doc_number}
View a warehouse document by ID
Parameters
+ doc_number (number, required) - warehouse document identifier
Request
application/json
TS-Apikey: api-key
{}
Response
application/json
HTTP 200
{ "item": { "batch_number": -1, "date": "2018-01-01", "direction": "O", "doc_number": 1800000001, "doc_created_date": "2018-10-21", "id_customer": 0, "id_warehouse": 1, "wh_doc_items": [ { "amount_base_unit": 14.6, "date_exp": "2018-11-08", "doc_number": 1800000001, "doc_created_date": "2018-10-11", "item_number": 1, "lot": "5683377", "name": "Müsli testovacie - ovocné", "product_code": "MUT", "timestamp_from_client": "1970-01-01T01:00:00.000+0100", "user_visible_item_number": 1 } ] }