Ruby / EDS API / Dokuments "Alkoholisko dzērienu akcīzes nodokļa deklarācija".
Back to Collection Items
require 'chilkat'
# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
http = Chilkat::CkHttp.new()
http.SetRequestHeader("Accept","application/json")
sbResponseBody = Chilkat::CkStringBuilder.new()
success = http.QuickGetSb("https://eds.vid.gov.lv/api/doc/anav3/:id",sbResponseBody)
if (success == false)
print http.lastErrorText() + "\n";
exit
end
jResp = Chilkat::CkJsonObject.new()
jResp.LoadSb(sbResponseBody)
jResp.put_EmitCompact(false)
print "Response Body:" + "\n";
print jResp.emit() + "\n";
respStatusCode = http.get_LastStatus()
print "Response Status Code = " + respStatusCode.to_s() + "\n";
if (respStatusCode >= 400)
print "Response Header:" + "\n";
print http.lastHeader() + "\n";
print "Failed." + "\n";
exit
end
# Sample JSON response:
# (Sample code for parsing the JSON response is shown below)
# {
# "Epasts": "sit consectetur proiden",
# "Talrunis": "exercitatio",
# "Gads": 41525966,
# "Menesis": 1,
# "Datums": "2000-01-31T00:00:00",
# "Statuss": "irure Excepteur cillum est",
# "R09": "esse irure eiusmod dolore",
# "R10": "et",
# "Sagatavotajs": "commodo sunt ad dolore ut",
# "SamTermins": "2000-01-31T00:00:00",
# "R11": {
# "K1": 39654307.9794763,
# "K2": 95206489.76173073,
# "K3": 69621562.03778541,
# "K4": -43473445.81098142,
# "K5": 3734292.3273079097,
# "K6": 22944168.154526472,
# "K7": 52977048.93355891,
# "K8": -40245628.25442129,
# "K9": -50505683.995016605,
# "K10": -41242641.96773098,
# "K11": -7595874.8109074235
# },
# "R12": {
# "K1": -51818471.414243296,
# "K2": -60649497.202963464,
# "K3": -3679732.075939238,
# "K4": -81767325.89610443,
# "K5": 6512977.492256939,
# "K6": 44516819.91345316,
# "K7": 86683756.16726193,
# "K8": -5085291.953524828,
# "K9": 42965992.07206637,
# "K10": 75565044.39499044,
# "K11": 88333519.18947959
# },
# "R13": {
# "K1": 85378319.58924028,
# "K2": 69049741.28540203,
# "K3": -85930423.57675488,
# "K4": 96557267.4267995,
# "K5": 35586091.18758938,
# "K6": 4415807.7766118795,
# "K7": 85872095.70702115,
# "K8": -34265144.59995822,
# "K9": 41175518.75610381,
# "K10": 41738542.70197573,
# "K11": -24045516.04998742
# },
# "R14": {
# "K1": -88527111.8945882,
# "K2": -36106576.919619694,
# "K3": -86993298.25289856,
# "K4": 2507310.8521988243,
# "K5": -70948918.3523953,
# "K6": 72921344.85359329,
# "K7": -46022763.14603264,
# "K8": 40703562.46330893,
# "K9": -95983475.19361585,
# "K10": 73478198.95637825,
# "K11": 68333497.69419277
# },
# "R15": {
# "K1": 49799217.73455027,
# "K2": -81973465.45824589,
# "K3": 26443730.69187163,
# "K4": 11561396.059545934,
# "K5": -35205927.15265187,
# "K6": -63246201.49032185,
# "K7": -86836814.91046071,
# "K8": 54004956.73262754,
# "K9": -39924968.9437799,
# "K10": -53986230.12526356,
# "K11": -71925242.13591085
# },
# "R16": {
# "K1": -52679977.89026087,
# "K2": -77236582.92503108,
# "K3": 51708017.62352905,
# "K4": 17554016.65212792,
# "K5": 31819451.05470319,
# "K6": 5946866.696746692,
# "K7": 53501704.237122715,
# "K8": -54811508.80492649,
# "K9": -55637865.57962156,
# "K10": -25186232.520846948,
# "K11": 37941603.2986792
# },
# "R17": {
# "K1": 85692483.17169079,
# "K2": -45357519.01086358,
# "K3": -1289375.4376874715,
# "K4": 97699645.20378852,
# "K5": -82297765.67567657,
# "K6": 18170007.240818366,
# "K7": -66480653.38381097,
# "K8": 31963728.153270006,
# "K9": 12415954.664070308,
# "K10": 24711130.61581485,
# "K11": 80466533.28773373
# },
# "R18": {
# "K1": 98281241.87529373,
# "K2": 57591909.24584225,
# "K3": -36557051.927430354,
# "K4": -65959092.90755051,
# "K5": -25176714.44804193,
# "K6": -71010973.62023205,
# "K7": 54650025.60613659,
# "K8": 79261452.45337185,
# "K9": -80114161.1437464,
# "K10": -71001338.85447599,
# "K11": -2501161.776873946
# },
# "R19": {
# "K1": -10055210.696588323,
# "K2": 60872558.24988711,
# "K3": -61925049.61258529,
# "K4": 27871624.263147384,
# "K5": 87297020.39378232,
# "K6": -21848897.73363255,
# "K7": 30405908.47939484,
# "K8": 79091344.99215776,
# "K9": -29582126.991014943,
# "K10": -3549288.3930006623,
# "K11": -86291271.18866836
# },
# "R20": {
# "K1": -46429293.03945129,
# "K2": 97361131.3384259,
# "K3": 5052296.768175468,
# "K4": 83498083.74292973,
# "K5": 67187.85843795538,
# "K6": 98529859.18834385,
# "K7": -91286470.54033361,
# "K8": -22017052.01711692,
# "K9": 43722533.055188596,
# "K10": 89495989.5657503,
# "K11": -67683636.5283108
# },
# "R21": {
# "K1": 97965687.44835654,
# "K2": -13080119.139022365,
# "K3": -64248865.534758836,
# "K4": -39218405.37977244,
# "K5": 42108585.0351865,
# "K6": 63488436.2716845,
# "K7": 26628119.43172972,
# "K8": 35341300.9166666,
# "K9": -8835523.193584204,
# "K10": -25413350.05131127,
# "K11": 82609455.16005117
# },
# "R22": {
# "K1": 98362843.47706878,
# "K2": -57001999.48947882,
# "K3": -53303999.43238091,
# "K4": 64053102.41426751,
# "K5": -46204049.95878182,
# "K6": 23920089.43234618,
# "K7": 67843658.7652064,
# "K8": 76063664.05061245,
# "K9": -49295436.248785675,
# "K10": -87431456.85206324,
# "K11": 38660874.90612745
# },
# "R24": {
# "K1": 38613053.291586876,
# "K2": -6393679.874609277,
# "K3": -67329283.8564341,
# "K4": 18023349.977757215,
# "K5": 77112121.31141755,
# "K6": -14659732.198149025,
# "K7": 93320025.85989559,
# "K8": 40621210.62665334,
# "K9": -59883657.39969938,
# "K10": 65776247.93971893,
# "K11": 91863478.54787269
# },
# "R25": {
# "K1": -53816529.85383356,
# "K2": -58056817.08157091,
# "K3": 598287.4282322973,
# "K4": -79898779.966212,
# "K5": 94668785.22133628,
# "K6": 62981267.966917485,
# "K7": 76858300.85728523,
# "K8": 70836591.66180766,
# "K9": -3313831.4919922203,
# "K10": -40499597.69367053,
# "K11": -19706371.445279464
# },
# "R26": {
# "K1": -12541161.497555375,
# "K2": 51057250.24075261,
# "K3": 16103676.302845657,
# "K4": 78376045.82477638,
# "K5": -6888716.070834771,
# "K6": -83785609.10945278,
# "K7": 57028380.863610536,
# "K8": -62322716.54864259,
# "K9": -76414180.86863378,
# "K10": -64547700.606662594,
# "K11": -31602627.68384397
# },
# "R27": {
# "K1": 96735931.65937439,
# "K2": -24868491.554228634,
# "K3": -17127790.038373813,
# "K4": 52400117.43919876,
# "K5": -96378581.34590557,
# "K6": 36162584.9898538,
# "K7": -33004774.320016846,
# "K8": 15441502.7158961,
# "K9": -26487729.17961386,
# "K10": -13711977.692142248,
# "K11": -67484139.79037759
# },
# "R28": {
# "K1": 19694221.016647533,
# "K2": -63240691.32161165,
# "K3": 76074916.31896642,
# "K4": 59027469.392128915,
# "K5": 29541325.482785523,
# "K6": -51079419.84838944,
# "K7": 85571750.36816517,
# "K8": -78535835.9653812,
# "K9": 1783468.0940441042,
# "K10": -80472961.08738093,
# "K11": 27657198.82747422
# },
# "R29": {
# "K1": -26461709.035757825,
# "K2": -93170454.29183465,
# "K3": -80103108.2655387,
# "K4": -34389401.46855116,
# "K5": -12926858.673646405,
# "K6": 20992692.14812383,
# "K7": -3501149.7462073267,
# "K8": 10157711.04871361,
# "K9": 62579198.51477575,
# "K10": -35638161.49865344,
# "K11": 93800943.99387842
# },
# "R30": {
# "K1": 41416012.88009289,
# "K2": 31349122.414954692,
# "K3": -51372727.92430338,
# "K4": 1340475.2782042474,
# "K5": 10886357.968213513,
# "K6": -79677417.62510201,
# "K7": 38428837.750784874,
# "K8": 15187164.38060683,
# "K9": -73884772.07190096,
# "K10": 41360368.7987465,
# "K11": 94106196.91157073
# },
# "R32": {
# "K1": -16207683.372665465,
# "K2": -8288134.354124039,
# "K3": -35730883.88498373,
# "K4": -5167797.610396534,
# "K5": 21761529.885333747,
# "K6": -30283190.84153916,
# "K7": -82342223.86810078,
# "K8": 44670904.63185039,
# "K9": -8978826.487487137,
# "K10": 74171165.79581293,
# "K11": 34228335.408802
# },
# "R33": {
# "K1": 24856374.583259284,
# "K2": 37110434.08636287,
# "K3": 69951513.43977764,
# "K4": -88593914.80340251,
# "K5": 25089492.933927238,
# "K6": -67752527.8529064,
# "K7": 1523257.4943851382,
# "K8": 11709955.694153205,
# "K9": 9869232.394000083,
# "K10": 83057146.68841356,
# "K11": -72530455.50253426
# },
# "R34": {
# "K1": 81819076.44745126,
# "K2": -93398324.30597585,
# "K3": 32770172.875583634,
# "K4": -10925128.140863687,
# "K5": -26971964.958718702,
# "K6": 44641324.11573753,
# "K7": 76978418.24389881,
# "K8": -27667452.7337009,
# "K9": 4201459.761636883,
# "K10": -36132006.69965004,
# "K11": -56026889.810518466
# },
# "R36": {
# "K1": -70551114.9679849,
# "K2": -48746814.688053906,
# "K3": -66930419.536378995,
# "K4": -12864315.78212808,
# "K5": -78049251.3509607,
# "K6": -52801459.5868405,
# "K7": 35056949.13558623,
# "K8": 94724470.29424581,
# "K9": -54259090.46380908,
# "K10": 54164272.897994846,
# "K11": 17347389.279971242
# },
# "R37": {
# "K1": 60616477.89978027,
# "K2": 60921455.5621365,
# "K3": 97984917.70165959,
# "K4": 30659900.694031656,
# "K5": -61290366.87423097,
# "K6": 70238381.20333114,
# "K7": -92883010.84694171,
# "K8": 15664587.736070022,
# "K9": 91489345.32286042,
# "K10": -69517505.83468787,
# "K11": 86169958.04588306
# },
# "R38": {
# "K1": 12655190.76549837,
# "K2": -97471284.8095395,
# "K3": 29051098.28418885,
# "K4": -56773842.61848504,
# "K5": 2755746.0532120764,
# "K6": -70423770.88355139,
# "K7": -4673772.050939366,
# "K8": 56557830.48760462,
# "K9": 77764332.06276444,
# "K10": -6352483.197574317,
# "K11": 74693144.34386697
# },
# "R39": {
# "K1": 31428751.82803859,
# "K2": -14604272.678600833,
# "K3": 17809876.176148936,
# "K4": 83743793.05690134,
# "K5": -491415.13068664074,
# "K6": -71260949.43784116,
# "K7": -32956109.65280655,
# "K8": -76901706.26390645,
# "K9": 52055159.02655336,
# "K10": -29257344.367688283,
# "K11": -42806429.82910146
# },
# "R40": {
# "K1": -85210557.18747456,
# "K2": 36760147.779381424,
# "K3": -83519304.3860357,
# "K4": -6562013.343732342,
# "K5": 51065220.703496724,
# "K6": -11942299.802671343,
# "K7": 32545079.068491846,
# "K8": 43416244.452961236,
# "K9": -37799668.02102268,
# "K10": 52814275.62232074,
# "K11": 1391988.0810652375
# },
# "R41": {
# "K1": 26791706.04249443,
# "K2": -22518616.05569859,
# "K3": -70613348.72540255,
# "K4": -90238441.11778012,
# "K5": 78411487.88779503,
# "K6": -28255055.234634608,
# "K7": -43688887.324217476,
# "K8": -24436213.330500677,
# "K9": -88499813.70245157,
# "K10": 85864471.83740336,
# "K11": -44438412.46404619
# },
# "Pielikumi": {
# "PielikumsRindai18": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "PielikumsRindai19": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "PielikumsRindai20": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "PielikumsRindai21": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "PielikumsRindai22": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "PielikumsRindai40": {
# "Fails": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# "Komentars": {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# },
# "CitiDokumenti": [
# {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# },
# {
# "value": "<Error: Too many levels of nesting to fake this schema>"
# }
# ]
# },
# "Id": 48659465,
# "UID": "eu voluptate laborum",
# "NmrKods": "",
# "Precizejums": true,
# "PrecizejamaisDokuments": -13962072,
# "PrecizejumaPamatojums": "nisi ea velit"
# }
# Sample code for parsing the JSON response...
# Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
Epasts = jResp.stringOf("Epasts")
Talrunis = jResp.stringOf("Talrunis")
Gads = jResp.IntOf("Gads")
Menesis = jResp.IntOf("Menesis")
Datums = jResp.stringOf("Datums")
Statuss = jResp.stringOf("Statuss")
R09 = jResp.stringOf("R09")
R10 = jResp.stringOf("R10")
Sagatavotajs = jResp.stringOf("Sagatavotajs")
SamTermins = jResp.stringOf("SamTermins")
K1 = jResp.stringOf("R11.K1")
K2 = jResp.stringOf("R11.K2")
K3 = jResp.stringOf("R11.K3")
K4 = jResp.stringOf("R11.K4")
K5 = jResp.stringOf("R11.K5")
K6 = jResp.stringOf("R11.K6")
K7 = jResp.stringOf("R11.K7")
K8 = jResp.stringOf("R11.K8")
K9 = jResp.stringOf("R11.K9")
K10 = jResp.stringOf("R11.K10")
K11 = jResp.stringOf("R11.K11")
R12K1 = jResp.stringOf("R12.K1")
R12K2 = jResp.stringOf("R12.K2")
R12K3 = jResp.stringOf("R12.K3")
R12K4 = jResp.stringOf("R12.K4")
R12K5 = jResp.stringOf("R12.K5")
R12K6 = jResp.stringOf("R12.K6")
R12K7 = jResp.stringOf("R12.K7")
R12K8 = jResp.stringOf("R12.K8")
R12K9 = jResp.stringOf("R12.K9")
R12K10 = jResp.stringOf("R12.K10")
R12K11 = jResp.stringOf("R12.K11")
R13K1 = jResp.stringOf("R13.K1")
R13K2 = jResp.stringOf("R13.K2")
R13K3 = jResp.stringOf("R13.K3")
R13K4 = jResp.stringOf("R13.K4")
R13K5 = jResp.stringOf("R13.K5")
R13K6 = jResp.stringOf("R13.K6")
R13K7 = jResp.stringOf("R13.K7")
R13K8 = jResp.stringOf("R13.K8")
R13K9 = jResp.stringOf("R13.K9")
R13K10 = jResp.stringOf("R13.K10")
R13K11 = jResp.stringOf("R13.K11")
R14K1 = jResp.stringOf("R14.K1")
R14K2 = jResp.stringOf("R14.K2")
R14K3 = jResp.stringOf("R14.K3")
R14K4 = jResp.stringOf("R14.K4")
R14K5 = jResp.stringOf("R14.K5")
R14K6 = jResp.stringOf("R14.K6")
R14K7 = jResp.stringOf("R14.K7")
R14K8 = jResp.stringOf("R14.K8")
R14K9 = jResp.stringOf("R14.K9")
R14K10 = jResp.stringOf("R14.K10")
R14K11 = jResp.stringOf("R14.K11")
R15K1 = jResp.stringOf("R15.K1")
R15K2 = jResp.stringOf("R15.K2")
R15K3 = jResp.stringOf("R15.K3")
R15K4 = jResp.stringOf("R15.K4")
R15K5 = jResp.stringOf("R15.K5")
R15K6 = jResp.stringOf("R15.K6")
R15K7 = jResp.stringOf("R15.K7")
R15K8 = jResp.stringOf("R15.K8")
R15K9 = jResp.stringOf("R15.K9")
R15K10 = jResp.stringOf("R15.K10")
R15K11 = jResp.stringOf("R15.K11")
R16K1 = jResp.stringOf("R16.K1")
R16K2 = jResp.stringOf("R16.K2")
R16K3 = jResp.stringOf("R16.K3")
R16K4 = jResp.stringOf("R16.K4")
R16K5 = jResp.stringOf("R16.K5")
R16K6 = jResp.stringOf("R16.K6")
R16K7 = jResp.stringOf("R16.K7")
R16K8 = jResp.stringOf("R16.K8")
R16K9 = jResp.stringOf("R16.K9")
R16K10 = jResp.stringOf("R16.K10")
R16K11 = jResp.stringOf("R16.K11")
R17K1 = jResp.stringOf("R17.K1")
R17K2 = jResp.stringOf("R17.K2")
R17K3 = jResp.stringOf("R17.K3")
R17K4 = jResp.stringOf("R17.K4")
R17K5 = jResp.stringOf("R17.K5")
R17K6 = jResp.stringOf("R17.K6")
R17K7 = jResp.stringOf("R17.K7")
R17K8 = jResp.stringOf("R17.K8")
R17K9 = jResp.stringOf("R17.K9")
R17K10 = jResp.stringOf("R17.K10")
R17K11 = jResp.stringOf("R17.K11")
R18K1 = jResp.stringOf("R18.K1")
R18K2 = jResp.stringOf("R18.K2")
R18K3 = jResp.stringOf("R18.K3")
R18K4 = jResp.stringOf("R18.K4")
R18K5 = jResp.stringOf("R18.K5")
R18K6 = jResp.stringOf("R18.K6")
R18K7 = jResp.stringOf("R18.K7")
R18K8 = jResp.stringOf("R18.K8")
R18K9 = jResp.stringOf("R18.K9")
R18K10 = jResp.stringOf("R18.K10")
R18K11 = jResp.stringOf("R18.K11")
R19K1 = jResp.stringOf("R19.K1")
R19K2 = jResp.stringOf("R19.K2")
R19K3 = jResp.stringOf("R19.K3")
R19K4 = jResp.stringOf("R19.K4")
R19K5 = jResp.stringOf("R19.K5")
R19K6 = jResp.stringOf("R19.K6")
R19K7 = jResp.stringOf("R19.K7")
R19K8 = jResp.stringOf("R19.K8")
R19K9 = jResp.stringOf("R19.K9")
R19K10 = jResp.stringOf("R19.K10")
R19K11 = jResp.stringOf("R19.K11")
R20K1 = jResp.stringOf("R20.K1")
R20K2 = jResp.stringOf("R20.K2")
R20K3 = jResp.stringOf("R20.K3")
R20K4 = jResp.stringOf("R20.K4")
R20K5 = jResp.stringOf("R20.K5")
R20K6 = jResp.stringOf("R20.K6")
R20K7 = jResp.stringOf("R20.K7")
R20K8 = jResp.stringOf("R20.K8")
R20K9 = jResp.stringOf("R20.K9")
R20K10 = jResp.stringOf("R20.K10")
R20K11 = jResp.stringOf("R20.K11")
R21K1 = jResp.stringOf("R21.K1")
R21K2 = jResp.stringOf("R21.K2")
R21K3 = jResp.stringOf("R21.K3")
R21K4 = jResp.stringOf("R21.K4")
R21K5 = jResp.stringOf("R21.K5")
R21K6 = jResp.stringOf("R21.K6")
R21K7 = jResp.stringOf("R21.K7")
R21K8 = jResp.stringOf("R21.K8")
R21K9 = jResp.stringOf("R21.K9")
R21K10 = jResp.stringOf("R21.K10")
R21K11 = jResp.stringOf("R21.K11")
R22K1 = jResp.stringOf("R22.K1")
R22K2 = jResp.stringOf("R22.K2")
R22K3 = jResp.stringOf("R22.K3")
R22K4 = jResp.stringOf("R22.K4")
R22K5 = jResp.stringOf("R22.K5")
R22K6 = jResp.stringOf("R22.K6")
R22K7 = jResp.stringOf("R22.K7")
R22K8 = jResp.stringOf("R22.K8")
R22K9 = jResp.stringOf("R22.K9")
R22K10 = jResp.stringOf("R22.K10")
R22K11 = jResp.stringOf("R22.K11")
R24K1 = jResp.stringOf("R24.K1")
R24K2 = jResp.stringOf("R24.K2")
R24K3 = jResp.stringOf("R24.K3")
R24K4 = jResp.stringOf("R24.K4")
R24K5 = jResp.stringOf("R24.K5")
R24K6 = jResp.stringOf("R24.K6")
R24K7 = jResp.stringOf("R24.K7")
R24K8 = jResp.stringOf("R24.K8")
R24K9 = jResp.stringOf("R24.K9")
R24K10 = jResp.stringOf("R24.K10")
R24K11 = jResp.stringOf("R24.K11")
R25K1 = jResp.stringOf("R25.K1")
R25K2 = jResp.stringOf("R25.K2")
R25K3 = jResp.stringOf("R25.K3")
R25K4 = jResp.stringOf("R25.K4")
R25K5 = jResp.stringOf("R25.K5")
R25K6 = jResp.stringOf("R25.K6")
R25K7 = jResp.stringOf("R25.K7")
R25K8 = jResp.stringOf("R25.K8")
R25K9 = jResp.stringOf("R25.K9")
R25K10 = jResp.stringOf("R25.K10")
R25K11 = jResp.stringOf("R25.K11")
R26K1 = jResp.stringOf("R26.K1")
R26K2 = jResp.stringOf("R26.K2")
R26K3 = jResp.stringOf("R26.K3")
R26K4 = jResp.stringOf("R26.K4")
R26K5 = jResp.stringOf("R26.K5")
R26K6 = jResp.stringOf("R26.K6")
R26K7 = jResp.stringOf("R26.K7")
R26K8 = jResp.stringOf("R26.K8")
R26K9 = jResp.stringOf("R26.K9")
R26K10 = jResp.stringOf("R26.K10")
R26K11 = jResp.stringOf("R26.K11")
R27K1 = jResp.stringOf("R27.K1")
R27K2 = jResp.stringOf("R27.K2")
R27K3 = jResp.stringOf("R27.K3")
R27K4 = jResp.stringOf("R27.K4")
R27K5 = jResp.stringOf("R27.K5")
R27K6 = jResp.stringOf("R27.K6")
R27K7 = jResp.stringOf("R27.K7")
R27K8 = jResp.stringOf("R27.K8")
R27K9 = jResp.stringOf("R27.K9")
R27K10 = jResp.stringOf("R27.K10")
R27K11 = jResp.stringOf("R27.K11")
R28K1 = jResp.stringOf("R28.K1")
R28K2 = jResp.stringOf("R28.K2")
R28K3 = jResp.stringOf("R28.K3")
R28K4 = jResp.stringOf("R28.K4")
R28K5 = jResp.stringOf("R28.K5")
R28K6 = jResp.stringOf("R28.K6")
R28K7 = jResp.stringOf("R28.K7")
R28K8 = jResp.stringOf("R28.K8")
R28K9 = jResp.stringOf("R28.K9")
R28K10 = jResp.stringOf("R28.K10")
R28K11 = jResp.stringOf("R28.K11")
R29K1 = jResp.stringOf("R29.K1")
R29K2 = jResp.stringOf("R29.K2")
R29K3 = jResp.stringOf("R29.K3")
R29K4 = jResp.stringOf("R29.K4")
R29K5 = jResp.stringOf("R29.K5")
R29K6 = jResp.stringOf("R29.K6")
R29K7 = jResp.stringOf("R29.K7")
R29K8 = jResp.stringOf("R29.K8")
R29K9 = jResp.stringOf("R29.K9")
R29K10 = jResp.stringOf("R29.K10")
R29K11 = jResp.stringOf("R29.K11")
R30K1 = jResp.stringOf("R30.K1")
R30K2 = jResp.stringOf("R30.K2")
R30K3 = jResp.stringOf("R30.K3")
R30K4 = jResp.stringOf("R30.K4")
R30K5 = jResp.stringOf("R30.K5")
R30K6 = jResp.stringOf("R30.K6")
R30K7 = jResp.stringOf("R30.K7")
R30K8 = jResp.stringOf("R30.K8")
R30K9 = jResp.stringOf("R30.K9")
R30K10 = jResp.stringOf("R30.K10")
R30K11 = jResp.stringOf("R30.K11")
R32K1 = jResp.stringOf("R32.K1")
R32K2 = jResp.stringOf("R32.K2")
R32K3 = jResp.stringOf("R32.K3")
R32K4 = jResp.stringOf("R32.K4")
R32K5 = jResp.stringOf("R32.K5")
R32K6 = jResp.stringOf("R32.K6")
R32K7 = jResp.stringOf("R32.K7")
R32K8 = jResp.stringOf("R32.K8")
R32K9 = jResp.stringOf("R32.K9")
R32K10 = jResp.stringOf("R32.K10")
R32K11 = jResp.stringOf("R32.K11")
R33K1 = jResp.stringOf("R33.K1")
R33K2 = jResp.stringOf("R33.K2")
R33K3 = jResp.stringOf("R33.K3")
R33K4 = jResp.stringOf("R33.K4")
R33K5 = jResp.stringOf("R33.K5")
R33K6 = jResp.stringOf("R33.K6")
R33K7 = jResp.stringOf("R33.K7")
R33K8 = jResp.stringOf("R33.K8")
R33K9 = jResp.stringOf("R33.K9")
R33K10 = jResp.stringOf("R33.K10")
R33K11 = jResp.stringOf("R33.K11")
R34K1 = jResp.stringOf("R34.K1")
R34K2 = jResp.stringOf("R34.K2")
R34K3 = jResp.stringOf("R34.K3")
R34K4 = jResp.stringOf("R34.K4")
R34K5 = jResp.stringOf("R34.K5")
R34K6 = jResp.stringOf("R34.K6")
R34K7 = jResp.stringOf("R34.K7")
R34K8 = jResp.stringOf("R34.K8")
R34K9 = jResp.stringOf("R34.K9")
R34K10 = jResp.stringOf("R34.K10")
R34K11 = jResp.stringOf("R34.K11")
R36K1 = jResp.stringOf("R36.K1")
R36K2 = jResp.stringOf("R36.K2")
R36K3 = jResp.stringOf("R36.K3")
R36K4 = jResp.stringOf("R36.K4")
R36K5 = jResp.stringOf("R36.K5")
R36K6 = jResp.stringOf("R36.K6")
R36K7 = jResp.stringOf("R36.K7")
R36K8 = jResp.stringOf("R36.K8")
R36K9 = jResp.stringOf("R36.K9")
R36K10 = jResp.stringOf("R36.K10")
R36K11 = jResp.stringOf("R36.K11")
R37K1 = jResp.stringOf("R37.K1")
R37K2 = jResp.stringOf("R37.K2")
R37K3 = jResp.stringOf("R37.K3")
R37K4 = jResp.stringOf("R37.K4")
R37K5 = jResp.stringOf("R37.K5")
R37K6 = jResp.stringOf("R37.K6")
R37K7 = jResp.stringOf("R37.K7")
R37K8 = jResp.stringOf("R37.K8")
R37K9 = jResp.stringOf("R37.K9")
R37K10 = jResp.stringOf("R37.K10")
R37K11 = jResp.stringOf("R37.K11")
R38K1 = jResp.stringOf("R38.K1")
R38K2 = jResp.stringOf("R38.K2")
R38K3 = jResp.stringOf("R38.K3")
R38K4 = jResp.stringOf("R38.K4")
R38K5 = jResp.stringOf("R38.K5")
R38K6 = jResp.stringOf("R38.K6")
R38K7 = jResp.stringOf("R38.K7")
R38K8 = jResp.stringOf("R38.K8")
R38K9 = jResp.stringOf("R38.K9")
R38K10 = jResp.stringOf("R38.K10")
R38K11 = jResp.stringOf("R38.K11")
R39K1 = jResp.stringOf("R39.K1")
R39K2 = jResp.stringOf("R39.K2")
R39K3 = jResp.stringOf("R39.K3")
R39K4 = jResp.stringOf("R39.K4")
R39K5 = jResp.stringOf("R39.K5")
R39K6 = jResp.stringOf("R39.K6")
R39K7 = jResp.stringOf("R39.K7")
R39K8 = jResp.stringOf("R39.K8")
R39K9 = jResp.stringOf("R39.K9")
R39K10 = jResp.stringOf("R39.K10")
R39K11 = jResp.stringOf("R39.K11")
R40K1 = jResp.stringOf("R40.K1")
R40K2 = jResp.stringOf("R40.K2")
R40K3 = jResp.stringOf("R40.K3")
R40K4 = jResp.stringOf("R40.K4")
R40K5 = jResp.stringOf("R40.K5")
R40K6 = jResp.stringOf("R40.K6")
R40K7 = jResp.stringOf("R40.K7")
R40K8 = jResp.stringOf("R40.K8")
R40K9 = jResp.stringOf("R40.K9")
R40K10 = jResp.stringOf("R40.K10")
R40K11 = jResp.stringOf("R40.K11")
R41K1 = jResp.stringOf("R41.K1")
R41K2 = jResp.stringOf("R41.K2")
R41K3 = jResp.stringOf("R41.K3")
R41K4 = jResp.stringOf("R41.K4")
R41K5 = jResp.stringOf("R41.K5")
R41K6 = jResp.stringOf("R41.K6")
R41K7 = jResp.stringOf("R41.K7")
R41K8 = jResp.stringOf("R41.K8")
R41K9 = jResp.stringOf("R41.K9")
R41K10 = jResp.stringOf("R41.K10")
R41K11 = jResp.stringOf("R41.K11")
Value = jResp.stringOf("Pielikumi.PielikumsRindai18.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai18.Komentars.value")
FailsValue = jResp.stringOf("Pielikumi.PielikumsRindai19.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai19.Komentars.value")
FailsValue = jResp.stringOf("Pielikumi.PielikumsRindai20.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai20.Komentars.value")
FailsValue = jResp.stringOf("Pielikumi.PielikumsRindai21.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai21.Komentars.value")
FailsValue = jResp.stringOf("Pielikumi.PielikumsRindai22.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai22.Komentars.value")
FailsValue = jResp.stringOf("Pielikumi.PielikumsRindai40.Fails.value")
KomentarsValue = jResp.stringOf("Pielikumi.PielikumsRindai40.Komentars.value")
Id = jResp.IntOf("Id")
UID = jResp.stringOf("UID")
NmrKods = jResp.stringOf("NmrKods")
Precizejums = jResp.BoolOf("Precizejums")
PrecizejamaisDokuments = jResp.IntOf("PrecizejamaisDokuments")
PrecizejumaPamatojums = jResp.stringOf("PrecizejumaPamatojums")
i = 0
count_i = jResp.SizeOfArray("Pielikumi.CitiDokumenti")
while i < count_i
jResp.put_I(i)
value = jResp.stringOf("Pielikumi.CitiDokumenti[i].value")
i = i + 1
end
Curl Command
curl -X GET
-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/anav3/:id
Postman Collection Item JSON
{
"name": "Dokuments \"Alkoholisko dzērienu akcīzes nodokļa deklarācija\".",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/api/doc/anav3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"anav3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/anav3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"anav3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"Epasts\": \"sit consectetur proiden\",\n \"Talrunis\": \"exercitatio\",\n \"Gads\": 41525966,\n \"Menesis\": 1,\n \"Datums\": \"2000-01-31T00:00:00\",\n \"Statuss\": \"irure Excepteur cillum est\",\n \"R09\": \"esse irure eiusmod dolore\",\n \"R10\": \"et\",\n \"Sagatavotajs\": \"commodo sunt ad dolore ut\",\n \"SamTermins\": \"2000-01-31T00:00:00\",\n \"R11\": {\n \"K1\": 39654307.9794763,\n \"K2\": 95206489.76173073,\n \"K3\": 69621562.03778541,\n \"K4\": -43473445.81098142,\n \"K5\": 3734292.3273079097,\n \"K6\": 22944168.154526472,\n \"K7\": 52977048.93355891,\n \"K8\": -40245628.25442129,\n \"K9\": -50505683.995016605,\n \"K10\": -41242641.96773098,\n \"K11\": -7595874.8109074235\n },\n \"R12\": {\n \"K1\": -51818471.414243296,\n \"K2\": -60649497.202963464,\n \"K3\": -3679732.075939238,\n \"K4\": -81767325.89610443,\n \"K5\": 6512977.492256939,\n \"K6\": 44516819.91345316,\n \"K7\": 86683756.16726193,\n \"K8\": -5085291.953524828,\n \"K9\": 42965992.07206637,\n \"K10\": 75565044.39499044,\n \"K11\": 88333519.18947959\n },\n \"R13\": {\n \"K1\": 85378319.58924028,\n \"K2\": 69049741.28540203,\n \"K3\": -85930423.57675488,\n \"K4\": 96557267.4267995,\n \"K5\": 35586091.18758938,\n \"K6\": 4415807.7766118795,\n \"K7\": 85872095.70702115,\n \"K8\": -34265144.59995822,\n \"K9\": 41175518.75610381,\n \"K10\": 41738542.70197573,\n \"K11\": -24045516.04998742\n },\n \"R14\": {\n \"K1\": -88527111.8945882,\n \"K2\": -36106576.919619694,\n \"K3\": -86993298.25289856,\n \"K4\": 2507310.8521988243,\n \"K5\": -70948918.3523953,\n \"K6\": 72921344.85359329,\n \"K7\": -46022763.14603264,\n \"K8\": 40703562.46330893,\n \"K9\": -95983475.19361585,\n \"K10\": 73478198.95637825,\n \"K11\": 68333497.69419277\n },\n \"R15\": {\n \"K1\": 49799217.73455027,\n \"K2\": -81973465.45824589,\n \"K3\": 26443730.69187163,\n \"K4\": 11561396.059545934,\n \"K5\": -35205927.15265187,\n \"K6\": -63246201.49032185,\n \"K7\": -86836814.91046071,\n \"K8\": 54004956.73262754,\n \"K9\": -39924968.9437799,\n \"K10\": -53986230.12526356,\n \"K11\": -71925242.13591085\n },\n \"R16\": {\n \"K1\": -52679977.89026087,\n \"K2\": -77236582.92503108,\n \"K3\": 51708017.62352905,\n \"K4\": 17554016.65212792,\n \"K5\": 31819451.05470319,\n \"K6\": 5946866.696746692,\n \"K7\": 53501704.237122715,\n \"K8\": -54811508.80492649,\n \"K9\": -55637865.57962156,\n \"K10\": -25186232.520846948,\n \"K11\": 37941603.2986792\n },\n \"R17\": {\n \"K1\": 85692483.17169079,\n \"K2\": -45357519.01086358,\n \"K3\": -1289375.4376874715,\n \"K4\": 97699645.20378852,\n \"K5\": -82297765.67567657,\n \"K6\": 18170007.240818366,\n \"K7\": -66480653.38381097,\n \"K8\": 31963728.153270006,\n \"K9\": 12415954.664070308,\n \"K10\": 24711130.61581485,\n \"K11\": 80466533.28773373\n },\n \"R18\": {\n \"K1\": 98281241.87529373,\n \"K2\": 57591909.24584225,\n \"K3\": -36557051.927430354,\n \"K4\": -65959092.90755051,\n \"K5\": -25176714.44804193,\n \"K6\": -71010973.62023205,\n \"K7\": 54650025.60613659,\n \"K8\": 79261452.45337185,\n \"K9\": -80114161.1437464,\n \"K10\": -71001338.85447599,\n \"K11\": -2501161.776873946\n },\n \"R19\": {\n \"K1\": -10055210.696588323,\n \"K2\": 60872558.24988711,\n \"K3\": -61925049.61258529,\n \"K4\": 27871624.263147384,\n \"K5\": 87297020.39378232,\n \"K6\": -21848897.73363255,\n \"K7\": 30405908.47939484,\n \"K8\": 79091344.99215776,\n \"K9\": -29582126.991014943,\n \"K10\": -3549288.3930006623,\n \"K11\": -86291271.18866836\n },\n \"R20\": {\n \"K1\": -46429293.03945129,\n \"K2\": 97361131.3384259,\n \"K3\": 5052296.768175468,\n \"K4\": 83498083.74292973,\n \"K5\": 67187.85843795538,\n \"K6\": 98529859.18834385,\n \"K7\": -91286470.54033361,\n \"K8\": -22017052.01711692,\n \"K9\": 43722533.055188596,\n \"K10\": 89495989.5657503,\n \"K11\": -67683636.5283108\n },\n \"R21\": {\n \"K1\": 97965687.44835654,\n \"K2\": -13080119.139022365,\n \"K3\": -64248865.534758836,\n \"K4\": -39218405.37977244,\n \"K5\": 42108585.0351865,\n \"K6\": 63488436.2716845,\n \"K7\": 26628119.43172972,\n \"K8\": 35341300.9166666,\n \"K9\": -8835523.193584204,\n \"K10\": -25413350.05131127,\n \"K11\": 82609455.16005117\n },\n \"R22\": {\n \"K1\": 98362843.47706878,\n \"K2\": -57001999.48947882,\n \"K3\": -53303999.43238091,\n \"K4\": 64053102.41426751,\n \"K5\": -46204049.95878182,\n \"K6\": 23920089.43234618,\n \"K7\": 67843658.7652064,\n \"K8\": 76063664.05061245,\n \"K9\": -49295436.248785675,\n \"K10\": -87431456.85206324,\n \"K11\": 38660874.90612745\n },\n \"R24\": {\n \"K1\": 38613053.291586876,\n \"K2\": -6393679.874609277,\n \"K3\": -67329283.8564341,\n \"K4\": 18023349.977757215,\n \"K5\": 77112121.31141755,\n \"K6\": -14659732.198149025,\n \"K7\": 93320025.85989559,\n \"K8\": 40621210.62665334,\n \"K9\": -59883657.39969938,\n \"K10\": 65776247.93971893,\n \"K11\": 91863478.54787269\n },\n \"R25\": {\n \"K1\": -53816529.85383356,\n \"K2\": -58056817.08157091,\n \"K3\": 598287.4282322973,\n \"K4\": -79898779.966212,\n \"K5\": 94668785.22133628,\n \"K6\": 62981267.966917485,\n \"K7\": 76858300.85728523,\n \"K8\": 70836591.66180766,\n \"K9\": -3313831.4919922203,\n \"K10\": -40499597.69367053,\n \"K11\": -19706371.445279464\n },\n \"R26\": {\n \"K1\": -12541161.497555375,\n \"K2\": 51057250.24075261,\n \"K3\": 16103676.302845657,\n \"K4\": 78376045.82477638,\n \"K5\": -6888716.070834771,\n \"K6\": -83785609.10945278,\n \"K7\": 57028380.863610536,\n \"K8\": -62322716.54864259,\n \"K9\": -76414180.86863378,\n \"K10\": -64547700.606662594,\n \"K11\": -31602627.68384397\n },\n \"R27\": {\n \"K1\": 96735931.65937439,\n \"K2\": -24868491.554228634,\n \"K3\": -17127790.038373813,\n \"K4\": 52400117.43919876,\n \"K5\": -96378581.34590557,\n \"K6\": 36162584.9898538,\n \"K7\": -33004774.320016846,\n \"K8\": 15441502.7158961,\n \"K9\": -26487729.17961386,\n \"K10\": -13711977.692142248,\n \"K11\": -67484139.79037759\n },\n \"R28\": {\n \"K1\": 19694221.016647533,\n \"K2\": -63240691.32161165,\n \"K3\": 76074916.31896642,\n \"K4\": 59027469.392128915,\n \"K5\": 29541325.482785523,\n \"K6\": -51079419.84838944,\n \"K7\": 85571750.36816517,\n \"K8\": -78535835.9653812,\n \"K9\": 1783468.0940441042,\n \"K10\": -80472961.08738093,\n \"K11\": 27657198.82747422\n },\n \"R29\": {\n \"K1\": -26461709.035757825,\n \"K2\": -93170454.29183465,\n \"K3\": -80103108.2655387,\n \"K4\": -34389401.46855116,\n \"K5\": -12926858.673646405,\n \"K6\": 20992692.14812383,\n \"K7\": -3501149.7462073267,\n \"K8\": 10157711.04871361,\n \"K9\": 62579198.51477575,\n \"K10\": -35638161.49865344,\n \"K11\": 93800943.99387842\n },\n \"R30\": {\n \"K1\": 41416012.88009289,\n \"K2\": 31349122.414954692,\n \"K3\": -51372727.92430338,\n \"K4\": 1340475.2782042474,\n \"K5\": 10886357.968213513,\n \"K6\": -79677417.62510201,\n \"K7\": 38428837.750784874,\n \"K8\": 15187164.38060683,\n \"K9\": -73884772.07190096,\n \"K10\": 41360368.7987465,\n \"K11\": 94106196.91157073\n },\n \"R32\": {\n \"K1\": -16207683.372665465,\n \"K2\": -8288134.354124039,\n \"K3\": -35730883.88498373,\n \"K4\": -5167797.610396534,\n \"K5\": 21761529.885333747,\n \"K6\": -30283190.84153916,\n \"K7\": -82342223.86810078,\n \"K8\": 44670904.63185039,\n \"K9\": -8978826.487487137,\n \"K10\": 74171165.79581293,\n \"K11\": 34228335.408802\n },\n \"R33\": {\n \"K1\": 24856374.583259284,\n \"K2\": 37110434.08636287,\n \"K3\": 69951513.43977764,\n \"K4\": -88593914.80340251,\n \"K5\": 25089492.933927238,\n \"K6\": -67752527.8529064,\n \"K7\": 1523257.4943851382,\n \"K8\": 11709955.694153205,\n \"K9\": 9869232.394000083,\n \"K10\": 83057146.68841356,\n \"K11\": -72530455.50253426\n },\n \"R34\": {\n \"K1\": 81819076.44745126,\n \"K2\": -93398324.30597585,\n \"K3\": 32770172.875583634,\n \"K4\": -10925128.140863687,\n \"K5\": -26971964.958718702,\n \"K6\": 44641324.11573753,\n \"K7\": 76978418.24389881,\n \"K8\": -27667452.7337009,\n \"K9\": 4201459.761636883,\n \"K10\": -36132006.69965004,\n \"K11\": -56026889.810518466\n },\n \"R36\": {\n \"K1\": -70551114.9679849,\n \"K2\": -48746814.688053906,\n \"K3\": -66930419.536378995,\n \"K4\": -12864315.78212808,\n \"K5\": -78049251.3509607,\n \"K6\": -52801459.5868405,\n \"K7\": 35056949.13558623,\n \"K8\": 94724470.29424581,\n \"K9\": -54259090.46380908,\n \"K10\": 54164272.897994846,\n \"K11\": 17347389.279971242\n },\n \"R37\": {\n \"K1\": 60616477.89978027,\n \"K2\": 60921455.5621365,\n \"K3\": 97984917.70165959,\n \"K4\": 30659900.694031656,\n \"K5\": -61290366.87423097,\n \"K6\": 70238381.20333114,\n \"K7\": -92883010.84694171,\n \"K8\": 15664587.736070022,\n \"K9\": 91489345.32286042,\n \"K10\": -69517505.83468787,\n \"K11\": 86169958.04588306\n },\n \"R38\": {\n \"K1\": 12655190.76549837,\n \"K2\": -97471284.8095395,\n \"K3\": 29051098.28418885,\n \"K4\": -56773842.61848504,\n \"K5\": 2755746.0532120764,\n \"K6\": -70423770.88355139,\n \"K7\": -4673772.050939366,\n \"K8\": 56557830.48760462,\n \"K9\": 77764332.06276444,\n \"K10\": -6352483.197574317,\n \"K11\": 74693144.34386697\n },\n \"R39\": {\n \"K1\": 31428751.82803859,\n \"K2\": -14604272.678600833,\n \"K3\": 17809876.176148936,\n \"K4\": 83743793.05690134,\n \"K5\": -491415.13068664074,\n \"K6\": -71260949.43784116,\n \"K7\": -32956109.65280655,\n \"K8\": -76901706.26390645,\n \"K9\": 52055159.02655336,\n \"K10\": -29257344.367688283,\n \"K11\": -42806429.82910146\n },\n \"R40\": {\n \"K1\": -85210557.18747456,\n \"K2\": 36760147.779381424,\n \"K3\": -83519304.3860357,\n \"K4\": -6562013.343732342,\n \"K5\": 51065220.703496724,\n \"K6\": -11942299.802671343,\n \"K7\": 32545079.068491846,\n \"K8\": 43416244.452961236,\n \"K9\": -37799668.02102268,\n \"K10\": 52814275.62232074,\n \"K11\": 1391988.0810652375\n },\n \"R41\": {\n \"K1\": 26791706.04249443,\n \"K2\": -22518616.05569859,\n \"K3\": -70613348.72540255,\n \"K4\": -90238441.11778012,\n \"K5\": 78411487.88779503,\n \"K6\": -28255055.234634608,\n \"K7\": -43688887.324217476,\n \"K8\": -24436213.330500677,\n \"K9\": -88499813.70245157,\n \"K10\": 85864471.83740336,\n \"K11\": -44438412.46404619\n },\n \"Pielikumi\": {\n \"PielikumsRindai18\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai19\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai20\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai21\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai22\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai40\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"CitiDokumenti\": [\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n ]\n },\n \"Id\": 48659465,\n \"UID\": \"eu voluptate laborum\",\n \"NmrKods\": \"\",\n \"Precizejums\": true,\n \"PrecizejamaisDokuments\": -13962072,\n \"PrecizejumaPamatojums\": \"nisi ea velit\"\n}"
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/anav3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"anav3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Dokuments neeksistē vai lietotājam nav tiesību.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/anav3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"anav3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Pārsniegts izsaukumu skaita ierobežojums.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/anav3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"anav3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}