GET /v1/documents/acquire/{document_number}

Acquire document


Parameters

+ document_number (string, required) - document identifier

Request

application/json
TS-Apikey: api_key
{}

Response

application/json
HTTP 200
{
    "item":{
        "batch_settings":{
            "allowed_directions":[
                "I",
                "O"
            ],
            "allowed_types":[
                "R",
                "V"
            ]
        },







            {
                "amount_delivered":0.55,
                "amount_ordered":15,
                "direction":"I",
                "document_item_id":17,
                "document_number":"DOC05",
                "lot":"55",
                "product_code":"MUT",
                "wplace":[
                    "a1",
                    "b5"
                ]
            },
            {
                "amount_delivered":0,
                "amount_ordered":3000,
                "direction":"I",
                "document_item_id":18,
                "document_number":"DOC05",
                "lot":"",
                "product_code":"MUT",
                "wplace":[
                    "a1",
                    "b5"
                ]
            },
            {
                "amount_delivered":8,
                "amount_ordered":8,
                "direction":"O",
                "document_item_id":19,
                "document_number":"DOC05",
                "lot":"66",
                "product_code":"MUT",
                "wplace":[
                    "a1",
                    "b5"
                ]
            },
            {
                "amount_delivered":393.25,
                "amount_ordered":0,
                "direction":"I",
                "document_item_id":36,
                "document_number":"DOC05",
                "lot":"123",
                "product_code":"MUT",
                "wplace":[
                    ""
                ]
            },
            {
                "amount_delivered":18.25,
                "amount_ordered":0,
                "direction":"I",
                "document_item_id":37,
                "document_number":"DOC05",
                "lot":"456",
                "product_code":"MUT",
                "wplace":[
                    ""
                ]
            },
            {
                "amount_delivered":161.92,
                "amount_ordered":0,
                "direction":"I",
                "document_item_id":58,
                "document_number":"DOC05",
                "lot":"182",
                "product_code":"MUT",
                "wplace":[
                    ""
                ]
            }