VBScript / EDS API / Dokuments "Naftas produktu akcīzes nodokļa deklarācija".
Back to Collection Items
Dim fso, outFile
Set fso = CreateObject("Scripting.FileSystemObject")
'Create a Unicode (utf-16) output text file.
Set outFile = fso.CreateTextFile("output.txt", True, True)
' This example assumes the Chilkat API to have been previously unlocked.
' See Global Unlock Sample for sample code.
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.Http")
set http = CreateObject("Chilkat.Http")
http.SetRequestHeader "Accept","application/json"
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.StringBuilder")
set sbResponseBody = CreateObject("Chilkat.StringBuilder")
success = http.QuickGetSb("https://eds.vid.gov.lv/api/doc/annv5/:id",sbResponseBody)
If (success = 0) Then
outFile.WriteLine(http.LastErrorText)
WScript.Quit
End If
' For versions of Chilkat < 10.0.0, use CreateObject("Chilkat_9_5_0.JsonObject")
set jResp = CreateObject("Chilkat.JsonObject")
success = jResp.LoadSb(sbResponseBody)
jResp.EmitCompact = 0
outFile.WriteLine("Response Body:")
outFile.WriteLine(jResp.Emit())
respStatusCode = http.LastStatus
outFile.WriteLine("Response Status Code = " & respStatusCode)
If (respStatusCode >= 400) Then
outFile.WriteLine("Response Header:")
outFile.WriteLine(http.LastHeader)
outFile.WriteLine("Failed.")
WScript.Quit
End If
' Sample JSON response:
' (Sample code for parsing the JSON response is shown below)
' {
' "Epasts": "adipisicing dolor do id aliqua",
' "Talrunis": "enim proi",
' "Gads": 88966504,
' "Menesis": 9,
' "Datums": "2000-01-31T00:00:00",
' "MaksTerm": "2000-01-31T00:00:00",
' "NmStatuss": "Lorem sit cillum",
' "R08": "consectetur mollit",
' "R09": "commodo incididunt exercitation veniam anim",
' "Sagatavotajs": "anim",
' "R10": {
' "K1": 54561036.059885085,
' "K2": 80157806.66328225,
' "K3": 26688345.399236992,
' "K4": -48808190.27245113,
' "K5": -17416380.25642529,
' "K6": 97288484.37906054,
' "K7": 74278499.74381235,
' "K8": -35044383.37263998,
' "K9": -88926649.34537731,
' "K10": -71386837.72167207,
' "K11": 92446958.57749608,
' "K12": 64904902.19575098,
' "K13": -818080.8898649216
' },
' "R11": {
' "K1": 8211590.655684993,
' "K2": 23007715.515310958,
' "K3": 21326814.693438932,
' "K4": 70019907.54170892,
' "K5": 80824068.26875967,
' "K6": -76709185.5815651,
' "K7": -77284641.88125952,
' "K8": 60714416.85436404,
' "K9": -4624671.294085532,
' "K10": 84446044.96796063,
' "K11": 25458686.542443365,
' "K12": 28883784.38785146,
' "K13": 97105281.2249586
' },
' "R12": {
' "K1": -73138570.33068891,
' "K2": 28331744.935890675,
' "K3": 59174760.020377904,
' "K4": -29168880.3402725,
' "K5": 50648492.350583434,
' "K6": -30330148.662513018,
' "K7": 95265340.63135964,
' "K8": 22348745.91182767,
' "K9": -74076564.04836969,
' "K10": -50732872.92652098,
' "K11": 94109332.7471897,
' "K12": -59706038.42454527,
' "K13": 96172655.93525714
' },
' "R13": {
' "K1": 35988536.99688882,
' "K2": -58854837.720504835,
' "K3": 33913491.35000192,
' "K4": 18428249.729926094,
' "K5": -84860962.53709783,
' "K6": -45473674.08660339,
' "K7": -3650117.7527612895,
' "K8": -40521121.262089774,
' "K9": 22209040.895266786,
' "K10": -99819889.557094,
' "K11": -83312804.90283595,
' "K12": 94353352.51000518,
' "K13": 6303735.905158713
' },
' "R14": {
' "K1": -47229106.06431245,
' "K2": 95644858.4595584,
' "K3": -51209742.271006405,
' "K4": 81982584.86635605,
' "K5": 72846357.96965313,
' "K6": -55788299.70514021,
' "K7": -34899872.91637977,
' "K8": -20147039.31167361,
' "K9": -73484640.76646803,
' "K10": 30530001.280372903,
' "K11": -74639724.24117258,
' "K12": -2744641.6791486144,
' "K13": -72859644.71635956
' },
' "R15": {
' "K1": 50254612.65735486,
' "K2": 25421448.106947467,
' "K3": 20612463.57478796,
' "K4": -88570886.00333159,
' "K5": 30832885.224981472,
' "K6": 9190825.397057444,
' "K7": -47810613.520443864,
' "K8": -52522824.18575924,
' "K9": -41945448.37677165,
' "K10": 56728700.35647994,
' "K11": -67262965.36422569,
' "K12": 26725645.44481601,
' "K13": -18280898.40754856
' },
' "R16": {
' "K1": 70503378.07780638,
' "K2": -38978986.53099534,
' "K3": -86795089.20736754,
' "K4": 54946716.548746765,
' "K5": 12612753.364892319,
' "K6": 49741674.60580671,
' "K7": -92518071.32641047,
' "K8": -56717689.14090647,
' "K9": 3905647.7371486723,
' "K10": -58956796.964352034,
' "K11": -8863893.727915823,
' "K12": -36371553.59563047,
' "K13": -55250861.15577506
' },
' "R17": {
' "K1": -79921937.76614597,
' "K2": 84500530.3034398,
' "K3": 63893205.49969518,
' "K4": 90460882.55641526,
' "K5": 51279926.8653087,
' "K6": -38537232.24655523,
' "K7": 90944639.56475219,
' "K8": -61140797.919737585,
' "K9": 81454459.44338715,
' "K10": -58092913.97342391,
' "K11": -72783395.93634206,
' "K12": 83714199.93862727,
' "K13": -6602999.822305962
' },
' "R18": {
' "K1": 81125476.96221593,
' "K2": -15678241.982997805,
' "K3": 29847160.866979644,
' "K4": 32575102.32457909,
' "K5": 53705689.48072979,
' "K6": 26560676.102667153,
' "K7": -57297151.32330386,
' "K8": 81883939.70865473,
' "K9": 78017838.93346009,
' "K10": 97297993.24237734,
' "K11": -5733052.59053418,
' "K12": -40994360.14220475,
' "K13": -86386742.0340326
' },
' "R19": {
' "K1": 1988672.918696329,
' "K2": -16342198.185467005,
' "K3": -10106733.709240377,
' "K4": -55644268.37336937,
' "K5": -66457544.80861367,
' "K6": 53547987.50141114,
' "K7": 27350743.5202661,
' "K8": 12153239.274647161,
' "K9": 55085063.30202469,
' "K10": -79028221.07131793,
' "K11": -19873110.015942737,
' "K12": 99677280.5047172,
' "K13": -28631416.27327445
' },
' "R21": {
' "K1": 39972112.27278048,
' "K2": -42118658.930664174,
' "K3": 16262635.234746099,
' "K4": -64042128.87518197,
' "K5": -66798842.680669695,
' "K6": 37731970.979158014,
' "K7": -31469159.497928783,
' "K8": -79702677.64927405,
' "K9": -12003548.058782026,
' "K10": 27009438.889746606,
' "K11": 56330832.66602519,
' "K12": 42959705.926460356,
' "K13": 31625367.47786802
' },
' "R22": {
' "K1": 84943303.45695382,
' "K2": 66950861.6606465,
' "K3": 19137089.20687473,
' "K4": -94615260.36361007,
' "K5": 82783304.8978081,
' "K6": 88898065.638132,
' "K7": 12912504.722114041,
' "K8": -31240197.408636346,
' "K9": 32074822.132917017,
' "K10": 52179491.009408385,
' "K11": 76987080.85023928,
' "K12": -55669258.890840955,
' "K13": 92492746.51219729
' },
' "R23": {
' "K1": 33233357.124759212,
' "K2": -77500589.61288348,
' "K3": -28588605.029998735,
' "K4": -85741285.9722408,
' "K5": 55162099.69075939,
' "K6": -94362537.83993389,
' "K7": -40738102.46895642,
' "K8": -71152537.89628536,
' "K9": 90814229.80336836,
' "K10": 96398353.46234035,
' "K11": 796264.9468028247,
' "K12": -35678905.2723296,
' "K13": -17355301.956623003
' },
' "R24": {
' "K1": 85117477.84713766,
' "K2": 48608815.91164884,
' "K3": 16330685.606443569,
' "K4": 38981094.11610511,
' "K5": 723023.3953915238,
' "K6": -33522066.66338762,
' "K7": -2508640.6388278455,
' "K8": 76850434.16760865,
' "K9": -2015767.7278687954,
' "K10": -10964366.13584721,
' "K11": 52891343.51662207,
' "K12": 3231318.0755123943,
' "K13": -82377727.86533397
' },
' "R25": {
' "K1": 27053862.593084693,
' "K2": -68487597.67087218,
' "K3": -63435172.686566025,
' "K4": 99433711.72748461,
' "K5": 88593702.24730924,
' "K6": -16228055.005771711,
' "K7": 84824722.58573067,
' "K8": -25643813.136481255,
' "K9": 32804278.22628145,
' "K10": -8876510.854601085,
' "K11": -25051142.416079268,
' "K12": -80420376.94804779,
' "K13": -41790619.75363392
' },
' "R26": {
' "K1": -43301474.36394261,
' "K2": -39347512.15183914,
' "K3": -47754522.59578588,
' "K4": 41490182.75911936,
' "K5": 46141725.165501356,
' "K6": 70342976.82559392,
' "K7": 92472099.99450186,
' "K8": -62385131.69777149,
' "K9": -9442593.305877984,
' "K10": -2942238.7861555666,
' "K11": 13243041.514666617,
' "K12": 41756474.82200414,
' "K13": 2365238.0130057484
' },
' "R28": {
' "K1": -67656796.2230135,
' "K2": -24101485.490911186,
' "K3": 26549235.174843088,
' "K4": 3909749.949918866,
' "K5": -42582424.00000855,
' "K6": 16604105.890433908,
' "K7": 98650591.05628678,
' "K8": -29028219.73833269,
' "K9": -9045080.474506676,
' "K10": 14920954.57089229,
' "K11": -52475264.703479186,
' "K12": 90325121.22074991,
' "K13": -61203267.622858435
' },
' "R29": {
' "K1": 13957829.093164831,
' "K2": 73901839.5892523,
' "K3": -38455941.96104081,
' "K4": 15925960.005299851,
' "K5": 72904041.9864107,
' "K6": -80687177.60049963,
' "K7": -4633822.42569223,
' "K8": 91880741.61911461,
' "K9": -53381617.959063955,
' "K10": 7102869.867953256,
' "K11": 45656841.23339057,
' "K12": 17608872.307566687,
' "K13": 67117795.54256973
' },
' "R30": {
' "K1": 69459336.51394305,
' "K2": 19591115.900983125,
' "K3": 65871733.469289094,
' "K4": 65306227.08221343,
' "K5": 69668095.33120698,
' "K6": 25279081.42791216,
' "K7": -83956549.03228618,
' "K8": -91167638.05094416,
' "K9": 78551050.00103259,
' "K10": -31479795.46844226,
' "K11": -82811638.54663417,
' "K12": 85576463.13794911,
' "K13": 41921790.821296275
' },
' "R32": {
' "K1": -95124551.85510214,
' "K2": 63920389.01589677,
' "K3": -72593928.93873486,
' "K4": -64446975.25890932,
' "K5": 28686574.770068333,
' "K6": -7372803.285709217,
' "K7": -16066311.866565824,
' "K8": -34798905.52538736,
' "K9": 96330325.0778881,
' "K10": -2848384.0606798828,
' "K11": 20292409.67830886,
' "K12": 93243016.06422222,
' "K13": -35205432.34803006
' },
' "R33": {
' "K1": 88219840.70675746,
' "K2": -77247810.33047545,
' "K3": -40969508.67067752,
' "K4": -61422267.46456712,
' "K5": 99929611.6545366,
' "K6": -10563200.378209457,
' "K7": -78109284.67052722,
' "K8": 76425795.06280148,
' "K9": 79292993.27556828,
' "K10": 85392682.13323775,
' "K11": -4727825.177197203,
' "K12": -14727507.739842638,
' "K13": -70296668.28068507
' },
' "R34": {
' "K1": -49699147.24186339,
' "K2": 48029636.647608906,
' "K3": -84514862.8218416,
' "K4": 27556755.80536358,
' "K5": 16913851.04386884,
' "K6": -37210584.70137515,
' "K7": 36947135.08742139,
' "K8": 1182505.8034349233,
' "K9": -26305027.34856659,
' "K10": -20466261.111457214,
' "K11": 96904180.30886611,
' "K12": -96960561.87605353,
' "K13": -70958667.20242566
' },
' "R35": {
' "K1": -94903037.03404047,
' "K2": 68914098.42550737,
' "K3": -40524211.71328393,
' "K4": 30689592.841940045,
' "K5": 85490996.22593585,
' "K6": -15258918.836923078,
' "K7": 1991364.7085271925,
' "K8": -69970119.28270017,
' "K9": 36626191.270272374,
' "K10": -64303540.53738574,
' "K11": -63950698.167531475,
' "K12": 6293019.110458434,
' "K13": 42744176.276637584
' },
' "R37": {
' "PielikumsRindai15": {
' "Fails": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' },
' "Komentars": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' }
' },
' "PielikumsRindai16": {
' "Fails": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' },
' "Komentars": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' }
' },
' "PielikumsRindai17": {
' "Fails": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' },
' "Komentars": {
' "value": "<Error: Too many levels of nesting to fake this schema>"
' }
' },
' "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>"
' }
' },
' "PielikumsRindai33": {
' "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": -72146640,
' "UID": "incididunt",
' "NmrKods": "dolore eni",
' "Precizejums": true,
' "PrecizejamaisDokuments": -45897934,
' "PrecizejumaPamatojums": "qui ea"
' }
' 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")
MaksTerm = jResp.StringOf("MaksTerm")
NmStatuss = jResp.StringOf("NmStatuss")
R08 = jResp.StringOf("R08")
R09 = jResp.StringOf("R09")
Sagatavotajs = jResp.StringOf("Sagatavotajs")
K1 = jResp.StringOf("R10.K1")
K2 = jResp.StringOf("R10.K2")
K3 = jResp.StringOf("R10.K3")
K4 = jResp.StringOf("R10.K4")
K5 = jResp.StringOf("R10.K5")
K6 = jResp.StringOf("R10.K6")
K7 = jResp.StringOf("R10.K7")
K8 = jResp.StringOf("R10.K8")
K9 = jResp.StringOf("R10.K9")
K10 = jResp.StringOf("R10.K10")
K11 = jResp.StringOf("R10.K11")
K12 = jResp.StringOf("R10.K12")
K13 = jResp.StringOf("R10.K13")
R11K1 = jResp.StringOf("R11.K1")
R11K2 = jResp.StringOf("R11.K2")
R11K3 = jResp.StringOf("R11.K3")
R11K4 = jResp.StringOf("R11.K4")
R11K5 = jResp.StringOf("R11.K5")
R11K6 = jResp.StringOf("R11.K6")
R11K7 = jResp.StringOf("R11.K7")
R11K8 = jResp.StringOf("R11.K8")
R11K9 = jResp.StringOf("R11.K9")
R11K10 = jResp.StringOf("R11.K10")
R11K11 = jResp.StringOf("R11.K11")
R11K12 = jResp.StringOf("R11.K12")
R11K13 = jResp.StringOf("R11.K13")
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")
R12K12 = jResp.StringOf("R12.K12")
R12K13 = jResp.StringOf("R12.K13")
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")
R13K12 = jResp.StringOf("R13.K12")
R13K13 = jResp.StringOf("R13.K13")
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")
R14K12 = jResp.StringOf("R14.K12")
R14K13 = jResp.StringOf("R14.K13")
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")
R15K12 = jResp.StringOf("R15.K12")
R15K13 = jResp.StringOf("R15.K13")
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")
R16K12 = jResp.StringOf("R16.K12")
R16K13 = jResp.StringOf("R16.K13")
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")
R17K12 = jResp.StringOf("R17.K12")
R17K13 = jResp.StringOf("R17.K13")
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")
R18K12 = jResp.StringOf("R18.K12")
R18K13 = jResp.StringOf("R18.K13")
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")
R19K12 = jResp.StringOf("R19.K12")
R19K13 = jResp.StringOf("R19.K13")
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")
R21K12 = jResp.StringOf("R21.K12")
R21K13 = jResp.StringOf("R21.K13")
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")
R22K12 = jResp.StringOf("R22.K12")
R22K13 = jResp.StringOf("R22.K13")
R23K1 = jResp.StringOf("R23.K1")
R23K2 = jResp.StringOf("R23.K2")
R23K3 = jResp.StringOf("R23.K3")
R23K4 = jResp.StringOf("R23.K4")
R23K5 = jResp.StringOf("R23.K5")
R23K6 = jResp.StringOf("R23.K6")
R23K7 = jResp.StringOf("R23.K7")
R23K8 = jResp.StringOf("R23.K8")
R23K9 = jResp.StringOf("R23.K9")
R23K10 = jResp.StringOf("R23.K10")
R23K11 = jResp.StringOf("R23.K11")
R23K12 = jResp.StringOf("R23.K12")
R23K13 = jResp.StringOf("R23.K13")
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")
R24K12 = jResp.StringOf("R24.K12")
R24K13 = jResp.StringOf("R24.K13")
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")
R25K12 = jResp.StringOf("R25.K12")
R25K13 = jResp.StringOf("R25.K13")
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")
R26K12 = jResp.StringOf("R26.K12")
R26K13 = jResp.StringOf("R26.K13")
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")
R28K12 = jResp.StringOf("R28.K12")
R28K13 = jResp.StringOf("R28.K13")
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")
R29K12 = jResp.StringOf("R29.K12")
R29K13 = jResp.StringOf("R29.K13")
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")
R30K12 = jResp.StringOf("R30.K12")
R30K13 = jResp.StringOf("R30.K13")
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")
R32K12 = jResp.StringOf("R32.K12")
R32K13 = jResp.StringOf("R32.K13")
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")
R33K12 = jResp.StringOf("R33.K12")
R33K13 = jResp.StringOf("R33.K13")
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")
R34K12 = jResp.StringOf("R34.K12")
R34K13 = jResp.StringOf("R34.K13")
R35K1 = jResp.StringOf("R35.K1")
R35K2 = jResp.StringOf("R35.K2")
R35K3 = jResp.StringOf("R35.K3")
R35K4 = jResp.StringOf("R35.K4")
R35K5 = jResp.StringOf("R35.K5")
R35K6 = jResp.StringOf("R35.K6")
R35K7 = jResp.StringOf("R35.K7")
R35K8 = jResp.StringOf("R35.K8")
R35K9 = jResp.StringOf("R35.K9")
R35K10 = jResp.StringOf("R35.K10")
R35K11 = jResp.StringOf("R35.K11")
R35K12 = jResp.StringOf("R35.K12")
R35K13 = jResp.StringOf("R35.K13")
Value = jResp.StringOf("R37.PielikumsRindai15.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai15.Komentars.value")
FailsValue = jResp.StringOf("R37.PielikumsRindai16.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai16.Komentars.value")
FailsValue = jResp.StringOf("R37.PielikumsRindai17.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai17.Komentars.value")
FailsValue = jResp.StringOf("R37.PielikumsRindai18.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai18.Komentars.value")
FailsValue = jResp.StringOf("R37.PielikumsRindai19.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai19.Komentars.value")
FailsValue = jResp.StringOf("R37.PielikumsRindai33.Fails.value")
KomentarsValue = jResp.StringOf("R37.PielikumsRindai33.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("R37.CitiDokumenti")
Do While i < count_i
jResp.I = i
value = jResp.StringOf("R37.CitiDokumenti[i].value")
i = i + 1
Loop
outFile.Close
Curl Command
curl -X GET
-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/annv5/:id
Postman Collection Item JSON
{
"name": "Dokuments \"Naftas produktu akcīzes nodokļa deklarācija\".",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv5",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv5",
":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\": \"adipisicing dolor do id aliqua\",\n \"Talrunis\": \"enim proi\",\n \"Gads\": 88966504,\n \"Menesis\": 9,\n \"Datums\": \"2000-01-31T00:00:00\",\n \"MaksTerm\": \"2000-01-31T00:00:00\",\n \"NmStatuss\": \"Lorem sit cillum\",\n \"R08\": \"consectetur mollit\",\n \"R09\": \"commodo incididunt exercitation veniam anim\",\n \"Sagatavotajs\": \"anim\",\n \"R10\": {\n \"K1\": 54561036.059885085,\n \"K2\": 80157806.66328225,\n \"K3\": 26688345.399236992,\n \"K4\": -48808190.27245113,\n \"K5\": -17416380.25642529,\n \"K6\": 97288484.37906054,\n \"K7\": 74278499.74381235,\n \"K8\": -35044383.37263998,\n \"K9\": -88926649.34537731,\n \"K10\": -71386837.72167207,\n \"K11\": 92446958.57749608,\n \"K12\": 64904902.19575098,\n \"K13\": -818080.8898649216\n },\n \"R11\": {\n \"K1\": 8211590.655684993,\n \"K2\": 23007715.515310958,\n \"K3\": 21326814.693438932,\n \"K4\": 70019907.54170892,\n \"K5\": 80824068.26875967,\n \"K6\": -76709185.5815651,\n \"K7\": -77284641.88125952,\n \"K8\": 60714416.85436404,\n \"K9\": -4624671.294085532,\n \"K10\": 84446044.96796063,\n \"K11\": 25458686.542443365,\n \"K12\": 28883784.38785146,\n \"K13\": 97105281.2249586\n },\n \"R12\": {\n \"K1\": -73138570.33068891,\n \"K2\": 28331744.935890675,\n \"K3\": 59174760.020377904,\n \"K4\": -29168880.3402725,\n \"K5\": 50648492.350583434,\n \"K6\": -30330148.662513018,\n \"K7\": 95265340.63135964,\n \"K8\": 22348745.91182767,\n \"K9\": -74076564.04836969,\n \"K10\": -50732872.92652098,\n \"K11\": 94109332.7471897,\n \"K12\": -59706038.42454527,\n \"K13\": 96172655.93525714\n },\n \"R13\": {\n \"K1\": 35988536.99688882,\n \"K2\": -58854837.720504835,\n \"K3\": 33913491.35000192,\n \"K4\": 18428249.729926094,\n \"K5\": -84860962.53709783,\n \"K6\": -45473674.08660339,\n \"K7\": -3650117.7527612895,\n \"K8\": -40521121.262089774,\n \"K9\": 22209040.895266786,\n \"K10\": -99819889.557094,\n \"K11\": -83312804.90283595,\n \"K12\": 94353352.51000518,\n \"K13\": 6303735.905158713\n },\n \"R14\": {\n \"K1\": -47229106.06431245,\n \"K2\": 95644858.4595584,\n \"K3\": -51209742.271006405,\n \"K4\": 81982584.86635605,\n \"K5\": 72846357.96965313,\n \"K6\": -55788299.70514021,\n \"K7\": -34899872.91637977,\n \"K8\": -20147039.31167361,\n \"K9\": -73484640.76646803,\n \"K10\": 30530001.280372903,\n \"K11\": -74639724.24117258,\n \"K12\": -2744641.6791486144,\n \"K13\": -72859644.71635956\n },\n \"R15\": {\n \"K1\": 50254612.65735486,\n \"K2\": 25421448.106947467,\n \"K3\": 20612463.57478796,\n \"K4\": -88570886.00333159,\n \"K5\": 30832885.224981472,\n \"K6\": 9190825.397057444,\n \"K7\": -47810613.520443864,\n \"K8\": -52522824.18575924,\n \"K9\": -41945448.37677165,\n \"K10\": 56728700.35647994,\n \"K11\": -67262965.36422569,\n \"K12\": 26725645.44481601,\n \"K13\": -18280898.40754856\n },\n \"R16\": {\n \"K1\": 70503378.07780638,\n \"K2\": -38978986.53099534,\n \"K3\": -86795089.20736754,\n \"K4\": 54946716.548746765,\n \"K5\": 12612753.364892319,\n \"K6\": 49741674.60580671,\n \"K7\": -92518071.32641047,\n \"K8\": -56717689.14090647,\n \"K9\": 3905647.7371486723,\n \"K10\": -58956796.964352034,\n \"K11\": -8863893.727915823,\n \"K12\": -36371553.59563047,\n \"K13\": -55250861.15577506\n },\n \"R17\": {\n \"K1\": -79921937.76614597,\n \"K2\": 84500530.3034398,\n \"K3\": 63893205.49969518,\n \"K4\": 90460882.55641526,\n \"K5\": 51279926.8653087,\n \"K6\": -38537232.24655523,\n \"K7\": 90944639.56475219,\n \"K8\": -61140797.919737585,\n \"K9\": 81454459.44338715,\n \"K10\": -58092913.97342391,\n \"K11\": -72783395.93634206,\n \"K12\": 83714199.93862727,\n \"K13\": -6602999.822305962\n },\n \"R18\": {\n \"K1\": 81125476.96221593,\n \"K2\": -15678241.982997805,\n \"K3\": 29847160.866979644,\n \"K4\": 32575102.32457909,\n \"K5\": 53705689.48072979,\n \"K6\": 26560676.102667153,\n \"K7\": -57297151.32330386,\n \"K8\": 81883939.70865473,\n \"K9\": 78017838.93346009,\n \"K10\": 97297993.24237734,\n \"K11\": -5733052.59053418,\n \"K12\": -40994360.14220475,\n \"K13\": -86386742.0340326\n },\n \"R19\": {\n \"K1\": 1988672.918696329,\n \"K2\": -16342198.185467005,\n \"K3\": -10106733.709240377,\n \"K4\": -55644268.37336937,\n \"K5\": -66457544.80861367,\n \"K6\": 53547987.50141114,\n \"K7\": 27350743.5202661,\n \"K8\": 12153239.274647161,\n \"K9\": 55085063.30202469,\n \"K10\": -79028221.07131793,\n \"K11\": -19873110.015942737,\n \"K12\": 99677280.5047172,\n \"K13\": -28631416.27327445\n },\n \"R21\": {\n \"K1\": 39972112.27278048,\n \"K2\": -42118658.930664174,\n \"K3\": 16262635.234746099,\n \"K4\": -64042128.87518197,\n \"K5\": -66798842.680669695,\n \"K6\": 37731970.979158014,\n \"K7\": -31469159.497928783,\n \"K8\": -79702677.64927405,\n \"K9\": -12003548.058782026,\n \"K10\": 27009438.889746606,\n \"K11\": 56330832.66602519,\n \"K12\": 42959705.926460356,\n \"K13\": 31625367.47786802\n },\n \"R22\": {\n \"K1\": 84943303.45695382,\n \"K2\": 66950861.6606465,\n \"K3\": 19137089.20687473,\n \"K4\": -94615260.36361007,\n \"K5\": 82783304.8978081,\n \"K6\": 88898065.638132,\n \"K7\": 12912504.722114041,\n \"K8\": -31240197.408636346,\n \"K9\": 32074822.132917017,\n \"K10\": 52179491.009408385,\n \"K11\": 76987080.85023928,\n \"K12\": -55669258.890840955,\n \"K13\": 92492746.51219729\n },\n \"R23\": {\n \"K1\": 33233357.124759212,\n \"K2\": -77500589.61288348,\n \"K3\": -28588605.029998735,\n \"K4\": -85741285.9722408,\n \"K5\": 55162099.69075939,\n \"K6\": -94362537.83993389,\n \"K7\": -40738102.46895642,\n \"K8\": -71152537.89628536,\n \"K9\": 90814229.80336836,\n \"K10\": 96398353.46234035,\n \"K11\": 796264.9468028247,\n \"K12\": -35678905.2723296,\n \"K13\": -17355301.956623003\n },\n \"R24\": {\n \"K1\": 85117477.84713766,\n \"K2\": 48608815.91164884,\n \"K3\": 16330685.606443569,\n \"K4\": 38981094.11610511,\n \"K5\": 723023.3953915238,\n \"K6\": -33522066.66338762,\n \"K7\": -2508640.6388278455,\n \"K8\": 76850434.16760865,\n \"K9\": -2015767.7278687954,\n \"K10\": -10964366.13584721,\n \"K11\": 52891343.51662207,\n \"K12\": 3231318.0755123943,\n \"K13\": -82377727.86533397\n },\n \"R25\": {\n \"K1\": 27053862.593084693,\n \"K2\": -68487597.67087218,\n \"K3\": -63435172.686566025,\n \"K4\": 99433711.72748461,\n \"K5\": 88593702.24730924,\n \"K6\": -16228055.005771711,\n \"K7\": 84824722.58573067,\n \"K8\": -25643813.136481255,\n \"K9\": 32804278.22628145,\n \"K10\": -8876510.854601085,\n \"K11\": -25051142.416079268,\n \"K12\": -80420376.94804779,\n \"K13\": -41790619.75363392\n },\n \"R26\": {\n \"K1\": -43301474.36394261,\n \"K2\": -39347512.15183914,\n \"K3\": -47754522.59578588,\n \"K4\": 41490182.75911936,\n \"K5\": 46141725.165501356,\n \"K6\": 70342976.82559392,\n \"K7\": 92472099.99450186,\n \"K8\": -62385131.69777149,\n \"K9\": -9442593.305877984,\n \"K10\": -2942238.7861555666,\n \"K11\": 13243041.514666617,\n \"K12\": 41756474.82200414,\n \"K13\": 2365238.0130057484\n },\n \"R28\": {\n \"K1\": -67656796.2230135,\n \"K2\": -24101485.490911186,\n \"K3\": 26549235.174843088,\n \"K4\": 3909749.949918866,\n \"K5\": -42582424.00000855,\n \"K6\": 16604105.890433908,\n \"K7\": 98650591.05628678,\n \"K8\": -29028219.73833269,\n \"K9\": -9045080.474506676,\n \"K10\": 14920954.57089229,\n \"K11\": -52475264.703479186,\n \"K12\": 90325121.22074991,\n \"K13\": -61203267.622858435\n },\n \"R29\": {\n \"K1\": 13957829.093164831,\n \"K2\": 73901839.5892523,\n \"K3\": -38455941.96104081,\n \"K4\": 15925960.005299851,\n \"K5\": 72904041.9864107,\n \"K6\": -80687177.60049963,\n \"K7\": -4633822.42569223,\n \"K8\": 91880741.61911461,\n \"K9\": -53381617.959063955,\n \"K10\": 7102869.867953256,\n \"K11\": 45656841.23339057,\n \"K12\": 17608872.307566687,\n \"K13\": 67117795.54256973\n },\n \"R30\": {\n \"K1\": 69459336.51394305,\n \"K2\": 19591115.900983125,\n \"K3\": 65871733.469289094,\n \"K4\": 65306227.08221343,\n \"K5\": 69668095.33120698,\n \"K6\": 25279081.42791216,\n \"K7\": -83956549.03228618,\n \"K8\": -91167638.05094416,\n \"K9\": 78551050.00103259,\n \"K10\": -31479795.46844226,\n \"K11\": -82811638.54663417,\n \"K12\": 85576463.13794911,\n \"K13\": 41921790.821296275\n },\n \"R32\": {\n \"K1\": -95124551.85510214,\n \"K2\": 63920389.01589677,\n \"K3\": -72593928.93873486,\n \"K4\": -64446975.25890932,\n \"K5\": 28686574.770068333,\n \"K6\": -7372803.285709217,\n \"K7\": -16066311.866565824,\n \"K8\": -34798905.52538736,\n \"K9\": 96330325.0778881,\n \"K10\": -2848384.0606798828,\n \"K11\": 20292409.67830886,\n \"K12\": 93243016.06422222,\n \"K13\": -35205432.34803006\n },\n \"R33\": {\n \"K1\": 88219840.70675746,\n \"K2\": -77247810.33047545,\n \"K3\": -40969508.67067752,\n \"K4\": -61422267.46456712,\n \"K5\": 99929611.6545366,\n \"K6\": -10563200.378209457,\n \"K7\": -78109284.67052722,\n \"K8\": 76425795.06280148,\n \"K9\": 79292993.27556828,\n \"K10\": 85392682.13323775,\n \"K11\": -4727825.177197203,\n \"K12\": -14727507.739842638,\n \"K13\": -70296668.28068507\n },\n \"R34\": {\n \"K1\": -49699147.24186339,\n \"K2\": 48029636.647608906,\n \"K3\": -84514862.8218416,\n \"K4\": 27556755.80536358,\n \"K5\": 16913851.04386884,\n \"K6\": -37210584.70137515,\n \"K7\": 36947135.08742139,\n \"K8\": 1182505.8034349233,\n \"K9\": -26305027.34856659,\n \"K10\": -20466261.111457214,\n \"K11\": 96904180.30886611,\n \"K12\": -96960561.87605353,\n \"K13\": -70958667.20242566\n },\n \"R35\": {\n \"K1\": -94903037.03404047,\n \"K2\": 68914098.42550737,\n \"K3\": -40524211.71328393,\n \"K4\": 30689592.841940045,\n \"K5\": 85490996.22593585,\n \"K6\": -15258918.836923078,\n \"K7\": 1991364.7085271925,\n \"K8\": -69970119.28270017,\n \"K9\": 36626191.270272374,\n \"K10\": -64303540.53738574,\n \"K11\": -63950698.167531475,\n \"K12\": 6293019.110458434,\n \"K13\": 42744176.276637584\n },\n \"R37\": {\n \"PielikumsRindai15\": {\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 \"PielikumsRindai16\": {\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 \"PielikumsRindai17\": {\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 \"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 \"PielikumsRindai33\": {\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\": -72146640,\n \"UID\": \"incididunt\",\n \"NmrKods\": \"dolore eni\",\n \"Precizejums\": true,\n \"PrecizejamaisDokuments\": -45897934,\n \"PrecizejumaPamatojums\": \"qui ea\"\n}"
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv5",
":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/annv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv5",
":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/annv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv5",
":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": ""
}
]
}