Exemplu 1: Calcul Simplu (1 articol) Request: [ { "IDArticol": "TABLA_01", "D1": "2.5", "D2": "1.2", "D3": "0", "CantUM1": "10" } ] Response: { "result": "ok", "Cantitati": [ { "IDArticol": "TABLA_01", "D1": "2.5", "D2": "1.2", "D3": "0", "RelatieUM1": "1", "CantUM1": "10", "CantUM": "30.0" } ], "ErrorList": [] } Exemplu 2: Multiple Articole Request: [ { "IDArticol": "TEAVA_01", "D1": "6", "D2": "0", "D3": "0", "CantUM1": "100" }, { "IDArticol": "PLACA_01", "D1": "3", "D2": "2", "D3": "0.5", "CantUM1": "5" } ] Response: { "result": "ok", "Cantitati": [ { "IDArticol": "TEAVA_01", "D1": "6", "D2": "0", "D3": "0", "RelatieUM1": "1", "CantUM1": "100", "CantUM": "600.0" }, { "IDArticol": "PLACA_01", "D1": "3", "D2": "2", "D3": "0.5", "RelatieUM1": "3", "CantUM1": "5", "CantUM": "15.0" } ], "ErrorList": [] } Exemplu 3: Eroare - Lipsă Dimensiuni Request: [ { "IDArticol": "ART001", "D1": "0", "D2": "0", "D3": "0", "CantUM1": "10" } ] Response: { "result": "error", "ErrorList": [ "Nu ai precizat nici o dimensiune" ] }