Chilkat Online Tools

PowerBuilder / EDS API / Dokuments "Naftas produktu akcīzes nodokļa deklarācija".

Back to Collection Items

integer li_rc
oleobject loo_Http
integer li_Success
oleobject loo_SbResponseBody
oleobject loo_JResp
integer li_RespStatusCode
string ls_Value
string ls_Epasts
string ls_Talrunis
integer li_Gads
integer li_Menesis
string ls_Datums
string ls_MaksTerm
string ls_NmStatuss
string ls_R08
string ls_R09
string ls_Sagatavotajs
string ls_K1
string ls_K2
string ls_K3
string ls_K4
string ls_K5
string ls_K6
string ls_K7
string ls_K8
string ls_K9
string ls_K10
string ls_K11
string ls_K12
string ls_K13
string ls_K14
string ls_R11K1
string ls_R11K2
string ls_R11K3
string ls_R11K4
string ls_R11K5
string ls_R11K6
string ls_R11K7
string ls_R11K8
string ls_R11K9
string ls_R11K10
string ls_R11K11
string ls_R11K12
string ls_R11K13
string ls_R11K14
string ls_R12K1
string ls_R12K2
string ls_R12K3
string ls_R12K4
string ls_R12K5
string ls_R12K6
string ls_R12K7
string ls_R12K8
string ls_R12K9
string ls_R12K10
string ls_R12K11
string ls_R12K12
string ls_R12K13
string ls_R12K14
string ls_R13K1
string ls_R13K2
string ls_R13K3
string ls_R13K4
string ls_R13K5
string ls_R13K6
string ls_R13K7
string ls_R13K8
string ls_R13K9
string ls_R13K10
string ls_R13K11
string ls_R13K12
string ls_R13K13
string ls_R13K14
string ls_R14K1
string ls_R14K2
string ls_R14K3
string ls_R14K4
string ls_R14K5
string ls_R14K6
string ls_R14K7
string ls_R14K8
string ls_R14K9
string ls_R14K10
string ls_R14K11
string ls_R14K12
string ls_R14K13
string ls_R14K14
string ls_R15K1
string ls_R15K2
string ls_R15K3
string ls_R15K4
string ls_R15K5
string ls_R15K6
string ls_R15K7
string ls_R15K8
string ls_R15K9
string ls_R15K10
string ls_R15K11
string ls_R15K12
string ls_R15K13
string ls_R15K14
string ls_R16K1
string ls_R16K2
string ls_R16K3
string ls_R16K4
string ls_R16K5
string ls_R16K6
string ls_R16K7
string ls_R16K8
string ls_R16K9
string ls_R16K10
string ls_R16K11
string ls_R16K12
string ls_R16K13
string ls_R16K14
string ls_R17K1
string ls_R17K2
string ls_R17K3
string ls_R17K4
string ls_R17K5
string ls_R17K6
string ls_R17K7
string ls_R17K8
string ls_R17K9
string ls_R17K10
string ls_R17K11
string ls_R17K12
string ls_R17K13
string ls_R17K14
string ls_R18K1
string ls_R18K2
string ls_R18K3
string ls_R18K4
string ls_R18K5
string ls_R18K6
string ls_R18K7
string ls_R18K8
string ls_R18K9
string ls_R18K10
string ls_R18K11
string ls_R18K12
string ls_R18K13
string ls_R18K14
string ls_R19K1
string ls_R19K2
string ls_R19K3
string ls_R19K4
string ls_R19K5
string ls_R19K6
string ls_R19K7
string ls_R19K8
string ls_R19K9
string ls_R19K10
string ls_R19K11
string ls_R19K12
string ls_R19K13
string ls_R19K14
string ls_R21K1
string ls_R21K2
string ls_R21K3
string ls_R21K4
string ls_R21K5
string ls_R21K6
string ls_R21K7
string ls_R21K8
string ls_R21K9
string ls_R21K10
string ls_R21K11
string ls_R21K12
string ls_R21K13
string ls_R21K14
string ls_R22K1
string ls_R22K2
string ls_R22K3
string ls_R22K4
string ls_R22K5
string ls_R22K6
string ls_R22K7
string ls_R22K8
string ls_R22K9
string ls_R22K10
string ls_R22K11
string ls_R22K12
string ls_R22K13
string ls_R22K14
string ls_R23K1
string ls_R23K2
string ls_R23K3
string ls_R23K4
string ls_R23K5
string ls_R23K6
string ls_R23K7
string ls_R23K8
string ls_R23K9
string ls_R23K10
string ls_R23K11
string ls_R23K12
string ls_R23K13
string ls_R23K14
string ls_R24K1
string ls_R24K2
string ls_R24K3
string ls_R24K4
string ls_R24K5
string ls_R24K6
string ls_R24K7
string ls_R24K8
string ls_R24K9
string ls_R24K10
string ls_R24K11
string ls_R24K12
string ls_R24K13
string ls_R24K14
string ls_R25K1
string ls_R25K2
string ls_R25K3
string ls_R25K4
string ls_R25K5
string ls_R25K6
string ls_R25K7
string ls_R25K8
string ls_R25K9
string ls_R25K10
string ls_R25K11
string ls_R25K12
string ls_R25K13
string ls_R25K14
string ls_R26K1
string ls_R26K2
string ls_R26K3
string ls_R26K4
string ls_R26K5
string ls_R26K6
string ls_R26K7
string ls_R26K8
string ls_R26K9
string ls_R26K10
string ls_R26K11
string ls_R26K12
string ls_R26K13
string ls_R26K14
string ls_R28K1
string ls_R28K2
string ls_R28K3
string ls_R28K4
string ls_R28K5
string ls_R28K6
string ls_R28K7
string ls_R28K8
string ls_R28K9
string ls_R28K10
string ls_R28K11
string ls_R28K12
string ls_R28K13
string ls_R28K14
string ls_R29K1
string ls_R29K2
string ls_R29K3
string ls_R29K4
string ls_R29K5
string ls_R29K6
string ls_R29K7
string ls_R29K8
string ls_R29K9
string ls_R29K10
string ls_R29K11
string ls_R29K12
string ls_R29K13
string ls_R29K14
string ls_R30K1
string ls_R30K2
string ls_R30K3
string ls_R30K4
string ls_R30K5
string ls_R30K6
string ls_R30K7
string ls_R30K8
string ls_R30K9
string ls_R30K10
string ls_R30K11
string ls_R30K12
string ls_R30K13
string ls_R30K14
string ls_R32K1
string ls_R32K2
string ls_R32K3
string ls_R32K4
string ls_R32K5
string ls_R32K6
string ls_R32K7
string ls_R32K8
string ls_R32K9
string ls_R32K10
string ls_R32K11
string ls_R32K12
string ls_R32K13
string ls_R32K14
string ls_R33K1
string ls_R33K2
string ls_R33K3
string ls_R33K4
string ls_R33K5
string ls_R33K6
string ls_R33K7
string ls_R33K8
string ls_R33K9
string ls_R33K10
string ls_R33K11
string ls_R33K12
string ls_R33K13
string ls_R33K14
string ls_R34K1
string ls_R34K2
string ls_R34K3
string ls_R34K4
string ls_R34K5
string ls_R34K6
string ls_R34K7
string ls_R34K8
string ls_R34K9
string ls_R34K10
string ls_R34K11
string ls_R34K12
string ls_R34K13
string ls_R34K14
string ls_R35K1
string ls_R35K2
string ls_R35K3
string ls_R35K4
string ls_R35K5
string ls_R35K6
string ls_R35K7
string ls_R35K8
string ls_R35K9
string ls_R35K10
string ls_R35K11
string ls_R35K12
string ls_R35K13
string ls_R35K14
string ls_Value
string ls_KomentarsValue
string ls_FailsValue
integer li_Id
string ls_UID
string ls_NmrKods
integer li_Precizejums
integer li_PrecizejamaisDokuments
string ls_PrecizejumaPamatojums
integer i
integer li_Count_i

// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.

loo_Http = create oleobject
// Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
li_rc = loo_Http.ConnectToNewObject("Chilkat.Http")
if li_rc < 0 then
    destroy loo_Http
    MessageBox("Error","Connecting to COM object failed")
    return
end if

loo_Http.SetRequestHeader("Accept","application/json")

loo_SbResponseBody = create oleobject
// Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
li_rc = loo_SbResponseBody.ConnectToNewObject("Chilkat.StringBuilder")

li_Success = loo_Http.QuickGetSb("https://eds.vid.gov.lv/api/doc/annv3/:id",loo_SbResponseBody)
if li_Success = 0 then
    Write-Debug loo_Http.LastErrorText
    destroy loo_Http
    destroy loo_SbResponseBody
    return
end if

loo_JResp = create oleobject
// Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
li_rc = loo_JResp.ConnectToNewObject("Chilkat.JsonObject")

loo_JResp.LoadSb(loo_SbResponseBody)
loo_JResp.EmitCompact = 0

Write-Debug "Response Body:"
Write-Debug loo_JResp.Emit()

li_RespStatusCode = loo_Http.LastStatus
Write-Debug "Response Status Code = " + string(li_RespStatusCode)
if li_RespStatusCode >= 400 then
    Write-Debug "Response Header:"
    Write-Debug loo_Http.LastHeader
    Write-Debug "Failed."
    destroy loo_Http
    destroy loo_SbResponseBody
    destroy loo_JResp
    return
end if

// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)

// {
//   "Epasts": "amet nulla incididunt velit",
//   "Talrunis": "cupidatat",
//   "Gads": 65123793,
//   "Menesis": 1,
//   "Datums": "2000-01-31T00:00:00",
//   "MaksTerm": "2000-01-31T00:00:00",
//   "NmStatuss": "culpa deserunt eiusmod",
//   "R08": "eiusmod ex Exce",
//   "R09": "incididunt ipsum",
//   "Sagatavotajs": "ipsum occaecat velit deserunt elit",
//   "R10": {
//     "K1": 69011754.90285358,
//     "K2": -286474.6996511519,
//     "K3": -11770878.493984953,
//     "K4": 41719405.189673424,
//     "K5": 85870200.14192808,
//     "K6": 39589872.04420751,
//     "K7": 51397767.8996591,
//     "K8": 55571455.62865502,
//     "K9": -76702183.1212379,
//     "K10": -28474693.97053413,
//     "K11": -46737859.039462306,
//     "K12": -82573888.63207585,
//     "K13": -70158761.36809416,
//     "K14": 85900068.49806038
//   },
//   "R11": {
//     "K1": -29800804.37247619,
//     "K2": -35066503.0054643,
//     "K3": -69175786.56213808,
//     "K4": -4016157.839073837,
//     "K5": 97099183.8659884,
//     "K6": -58101739.06038889,
//     "K7": -78979160.79295988,
//     "K8": -70096428.85637559,
//     "K9": 34582920.550558865,
//     "K10": -6122790.466697082,
//     "K11": -62807023.9465063,
//     "K12": 19535726.419573158,
//     "K13": -23693003.608283818,
//     "K14": 96377854.71285895
//   },
//   "R12": {
//     "K1": 87378012.40657729,
//     "K2": -27350911.810965165,
//     "K3": 94527050.58391708,
//     "K4": 21360404.99224791,
//     "K5": -29808198.645335168,
//     "K6": 39156776.223213136,
//     "K7": 24129726.045016974,
//     "K8": 9296475.717829809,
//     "K9": 82658090.11044899,
//     "K10": -30666.993065729737,
//     "K11": -4882017.379342288,
//     "K12": 13961508.645864919,
//     "K13": 18741577.605267107,
//     "K14": 59150614.8674168
//   },
//   "R13": {
//     "K1": -65103989.44215647,
//     "K2": 22918342.522944972,
//     "K3": 13346606.449489862,
//     "K4": 78681659.25435358,
//     "K5": 99538886.19077235,
//     "K6": -70227435.85379434,
//     "K7": -34755089.54101198,
//     "K8": -60635259.987631105,
//     "K9": -12036440.340121105,
//     "K10": -90600607.56641927,
//     "K11": 3602952.135728106,
//     "K12": -30626183.083574563,
//     "K13": 2766316.3714336753,
//     "K14": -90986638.1227932
//   },
//   "R14": {
//     "K1": 40765863.954432696,
//     "K2": -67182370.45010902,
//     "K3": 11704952.64645721,
//     "K4": -84999057.04654682,
//     "K5": -36048290.58649277,
//     "K6": 62443585.84163031,
//     "K7": -32091709.58579573,
//     "K8": 43625042.31660575,
//     "K9": 16885544.619369015,
//     "K10": 80251259.64512235,
//     "K11": 27318731.967805788,
//     "K12": -14319355.59212181,
//     "K13": 41539796.58688739,
//     "K14": 88701128.01173308
//   },
//   "R15": {
//     "K1": -73742078.22814016,
//     "K2": 69693131.667204,
//     "K3": -12824841.672871351,
//     "K4": -22432843.69190924,
//     "K5": -25380617.015425906,
//     "K6": 84675620.93220896,
//     "K7": 99203348.01453814,
//     "K8": 70724303.85988456,
//     "K9": -98075512.73943722,
//     "K10": -47586259.396855325,
//     "K11": -50142282.39072187,
//     "K12": -21101219.808153406,
//     "K13": 1297868.7648593038,
//     "K14": -24502689.533988237
//   },
//   "R16": {
//     "K1": -74716385.73514321,
//     "K2": -30943767.37516588,
//     "K3": -44399932.76375906,
//     "K4": 97725275.84666863,
//     "K5": 66676996.76606268,
//     "K6": 70624436.77358449,
//     "K7": -7465955.914643452,
//     "K8": 54575323.67242882,
//     "K9": -8226899.7871031165,
//     "K10": 22459047.79521121,
//     "K11": 62984419.460039735,
//     "K12": -38206328.807595424,
//     "K13": 4590092.543481678,
//     "K14": 13438461.298249975
//   },
//   "R17": {
//     "K1": -79276235.37118165,
//     "K2": 88310970.07092902,
//     "K3": 45338636.402314276,
//     "K4": -12069175.57364422,
//     "K5": -51247006.81518837,
//     "K6": -29487667.020108163,
//     "K7": -73308992.77850014,
//     "K8": -33074376.447444066,
//     "K9": -177327.0789398104,
//     "K10": 29802067.812471345,
//     "K11": -88333827.83231154,
//     "K12": 4541758.027439117,
//     "K13": -94479383.87846522,
//     "K14": 71061466.05379507
//   },
//   "R18": {
//     "K1": 49157671.97426507,
//     "K2": 69861262.56142816,
//     "K3": 71178403.34087607,
//     "K4": 92454364.55228323,
//     "K5": 57063199.17423582,
//     "K6": 92226720.2758199,
//     "K7": 36492133.54092264,
//     "K8": -40110671.71385498,
//     "K9": -60517419.6178218,
//     "K10": -54041375.469130725,
//     "K11": -33424556.83445298,
//     "K12": 62335423.58725083,
//     "K13": -94396793.40749945,
//     "K14": 80252277.86649683
//   },
//   "R19": {
//     "K1": 123715.51453527808,
//     "K2": -30024289.465088308,
//     "K3": 20831821.576838523,
//     "K4": 13751186.00750947,
//     "K5": -82562248.40154359,
//     "K6": -91918658.27465749,
//     "K7": 53664426.47689101,
//     "K8": -98266332.30762978,
//     "K9": 83178105.28106353,
//     "K10": -99333857.54222001,
//     "K11": 53695967.461390644,
//     "K12": -28408415.947372362,
//     "K13": 76269594.75703493,
//     "K14": 31912799.067684934
//   },
//   "R21": {
//     "K1": -44715463.05692659,
//     "K2": 35259445.42232731,
//     "K3": -73543212.95697933,
//     "K4": 51062825.70996052,
//     "K5": -24866924.962759823,
//     "K6": -99782144.91487187,
//     "K7": 34426916.9880867,
//     "K8": 80196114.54963037,
//     "K9": -82033296.18403381,
//     "K10": 51632187.13585627,
//     "K11": -31052880.19715458,
//     "K12": -84933115.76651567,
//     "K13": -18239617.81592995,
//     "K14": -79838514.38359855
//   },
//   "R22": {
//     "K1": -40657959.122213595,
//     "K2": -35666457.192132436,
//     "K3": -54900133.81453851,
//     "K4": -50660550.33409076,
//     "K5": 56372959.6100699,
//     "K6": -22617966.86505577,
//     "K7": -25785132.50306958,
//     "K8": -80599255.28435676,
//     "K9": 34162524.82784064,
//     "K10": 60312008.3953411,
//     "K11": -78494808.23443687,
//     "K12": -54561406.25574868,
//     "K13": -95947709.11534333,
//     "K14": -50199990.21337842
//   },
//   "R23": {
//     "K1": 41675545.57682341,
//     "K2": -8213686.921727166,
//     "K3": 52303188.87026709,
//     "K4": 35451686.00720307,
//     "K5": -70464918.60214852,
//     "K6": 83371946.7007502,
//     "K7": -72710355.44172299,
//     "K8": -70039250.24744335,
//     "K9": -5124505.089271426,
//     "K10": 52554245.53818181,
//     "K11": -9546174.943117559,
//     "K12": -97484758.60810348,
//     "K13": -4113345.3718183786,
//     "K14": -50426233.13131713
//   },
//   "R24": {
//     "K1": 66133466.26420823,
//     "K2": -91964569.1839817,
//     "K3": -4096172.611068338,
//     "K4": 32181593.09547071,
//     "K5": -76106645.14385906,
//     "K6": -95263921.22593985,
//     "K7": 48077115.43286115,
//     "K8": -63433082.57376678,
//     "K9": 98066585.07445216,
//     "K10": 73490964.03584486,
//     "K11": 47120763.647226095,
//     "K12": 2914591.4395706058,
//     "K13": 47568164.221423656,
//     "K14": -18514471.703478158
//   },
//   "R25": {
//     "K1": -62046475.12956058,
//     "K2": -38748807.6190357,
//     "K3": 49463934.0935137,
//     "K4": -58401680.16387279,
//     "K5": 29052171.52058515,
//     "K6": -11062992.885137752,
//     "K7": 43145282.76044333,
//     "K8": -36580995.051727384,
//     "K9": 99778589.80893427,
//     "K10": -68592671.16203561,
//     "K11": 2687004.18798095,
//     "K12": -86400621.13214996,
//     "K13": 77518804.34014541,
//     "K14": -12645410.150312617
//   },
//   "R26": {
//     "K1": -78591896.14125341,
//     "K2": -33541977.987893023,
//     "K3": -7126957.559500501,
//     "K4": -81283519.89619827,
//     "K5": 62149847.61238295,
//     "K6": -55398211.15769437,
//     "K7": -62452233.28487213,
//     "K8": -7969978.069563672,
//     "K9": -11435938.536992833,
//     "K10": -88980847.07671581,
//     "K11": 18580757.84160991,
//     "K12": -38332654.85404911,
//     "K13": -69024700.81814651,
//     "K14": -97678730.99893686
//   },
//   "R28": {
//     "K1": 92344399.21691194,
//     "K2": 10253142.701950192,
//     "K3": 84221877.49756199,
//     "K4": -93633150.34182805,
//     "K5": -1870238.6556153148,
//     "K6": -23360941.28930016,
//     "K7": 83081373.79069,
//     "K8": 14986066.553176299,
//     "K9": -53534597.61668642,
//     "K10": 91966957.19912711,
//     "K11": 828880.8995863944,
//     "K12": -22621159.383924723,
//     "K13": -57517677.94118683,
//     "K14": -43960533.52528262
//   },
//   "R29": {
//     "K1": 65098068.548140675,
//     "K2": -62628847.71550619,
//     "K3": -44645096.38325689,
//     "K4": -70382336.380874,
//     "K5": 77764871.23749784,
//     "K6": 85471988.04898414,
//     "K7": -92682519.16448605,
//     "K8": 14477516.365955934,
//     "K9": -54485567.545958124,
//     "K10": -58390662.08840067,
//     "K11": -25786685.54566148,
//     "K12": -12775479.956604004,
//     "K13": -24986968.96927038,
//     "K14": 61530633.76396072
//   },
//   "R30": {
//     "K1": -60408540.21200048,
//     "K2": -95382025.37231442,
//     "K3": -82203699.10495462,
//     "K4": -13019465.837596565,
//     "K5": 48909150.779518306,
//     "K6": 35851167.10334942,
//     "K7": 40932012.4235768,
//     "K8": 69260655.89888439,
//     "K9": -3802098.942574486,
//     "K10": 45939169.58042014,
//     "K11": 76142036.76493588,
//     "K12": 673525.662062645,
//     "K13": -41669688.51011612,
//     "K14": 53421817.67200649
//   },
//   "R32": {
//     "K1": -89219505.33041811,
//     "K2": 84086950.08672878,
//     "K3": -47621981.65450138,
//     "K4": -43320449.76828926,
//     "K5": -32075059.245812193,
//     "K6": 46658032.035206795,
//     "K7": 74567283.10016194,
//     "K8": -39210983.69562697,
//     "K9": -94627388.8717959,
//     "K10": 51416151.03172833,
//     "K11": -67059563.23692037,
//     "K12": 14054536.63035208,
//     "K13": 1584464.747822255,
//     "K14": 6139643.822236434
//   },
//   "R33": {
//     "K1": 8509480.473880112,
//     "K2": 54038030.33899832,
//     "K3": -67320688.18142922,
//     "K4": 157803.89888755977,
//     "K5": -93464588.74322496,
//     "K6": -73086803.47495252,
//     "K7": 28811001.462504923,
//     "K8": -858734.274120152,
//     "K9": -83736640.3299682,
//     "K10": -30443417.911967963,
//     "K11": -59182930.12059839,
//     "K12": 90991775.95187068,
//     "K13": -93258202.86744104,
//     "K14": 75065806.16454467
//   },
//   "R34": {
//     "K1": 64366266.04542029,
//     "K2": 55875279.07302797,
//     "K3": -30412639.03126569,
//     "K4": 20928264.1107547,
//     "K5": 96073421.19970256,
//     "K6": 6238152.798862994,
//     "K7": 82602234.65809983,
//     "K8": -51657176.4649302,
//     "K9": 78178158.87128153,
//     "K10": -49439763.84407458,
//     "K11": -33046722.950156137,
//     "K12": -49408589.47432081,
//     "K13": -17148102.76511787,
//     "K14": 30072675.67667733
//   },
//   "R35": {
//     "K1": -75256865.62902214,
//     "K2": -14233162.403070495,
//     "K3": 89920332.7760945,
//     "K4": -27753270.94936633,
//     "K5": -19643007.61510174,
//     "K6": 16777781.736409515,
//     "K7": 17366393.979396924,
//     "K8": 13701608.75001809,
//     "K9": 43470850.388211966,
//     "K10": -81511501.13858594,
//     "K11": -68098284.54304525,
//     "K12": 10830500.441741318,
//     "K13": 69405383.63544184,
//     "K14": -37015749.94596557
//   },
//   "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": 64149875,
//   "UID": "ipsum culpa",
//   "NmrKods": "anim proi",
//   "Precizejums": false,
//   "PrecizejamaisDokuments": -88089515,
//   "PrecizejumaPamatojums": "Lorem officia"
// }

// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

ls_Epasts = loo_JResp.StringOf("Epasts")
ls_Talrunis = loo_JResp.StringOf("Talrunis")
li_Gads = loo_JResp.IntOf("Gads")
li_Menesis = loo_JResp.IntOf("Menesis")
ls_Datums = loo_JResp.StringOf("Datums")
ls_MaksTerm = loo_JResp.StringOf("MaksTerm")
ls_NmStatuss = loo_JResp.StringOf("NmStatuss")
ls_R08 = loo_JResp.StringOf("R08")
ls_R09 = loo_JResp.StringOf("R09")
ls_Sagatavotajs = loo_JResp.StringOf("Sagatavotajs")
ls_K1 = loo_JResp.StringOf("R10.K1")
ls_K2 = loo_JResp.StringOf("R10.K2")
ls_K3 = loo_JResp.StringOf("R10.K3")
ls_K4 = loo_JResp.StringOf("R10.K4")
ls_K5 = loo_JResp.StringOf("R10.K5")
ls_K6 = loo_JResp.StringOf("R10.K6")
ls_K7 = loo_JResp.StringOf("R10.K7")
ls_K8 = loo_JResp.StringOf("R10.K8")
ls_K9 = loo_JResp.StringOf("R10.K9")
ls_K10 = loo_JResp.StringOf("R10.K10")
ls_K11 = loo_JResp.StringOf("R10.K11")
ls_K12 = loo_JResp.StringOf("R10.K12")
ls_K13 = loo_JResp.StringOf("R10.K13")
ls_K14 = loo_JResp.StringOf("R10.K14")
ls_R11K1 = loo_JResp.StringOf("R11.K1")
ls_R11K2 = loo_JResp.StringOf("R11.K2")
ls_R11K3 = loo_JResp.StringOf("R11.K3")
ls_R11K4 = loo_JResp.StringOf("R11.K4")
ls_R11K5 = loo_JResp.StringOf("R11.K5")
ls_R11K6 = loo_JResp.StringOf("R11.K6")
ls_R11K7 = loo_JResp.StringOf("R11.K7")
ls_R11K8 = loo_JResp.StringOf("R11.K8")
ls_R11K9 = loo_JResp.StringOf("R11.K9")
ls_R11K10 = loo_JResp.StringOf("R11.K10")
ls_R11K11 = loo_JResp.StringOf("R11.K11")
ls_R11K12 = loo_JResp.StringOf("R11.K12")
ls_R11K13 = loo_JResp.StringOf("R11.K13")
ls_R11K14 = loo_JResp.StringOf("R11.K14")
ls_R12K1 = loo_JResp.StringOf("R12.K1")
ls_R12K2 = loo_JResp.StringOf("R12.K2")
ls_R12K3 = loo_JResp.StringOf("R12.K3")
ls_R12K4 = loo_JResp.StringOf("R12.K4")
ls_R12K5 = loo_JResp.StringOf("R12.K5")
ls_R12K6 = loo_JResp.StringOf("R12.K6")
ls_R12K7 = loo_JResp.StringOf("R12.K7")
ls_R12K8 = loo_JResp.StringOf("R12.K8")
ls_R12K9 = loo_JResp.StringOf("R12.K9")
ls_R12K10 = loo_JResp.StringOf("R12.K10")
ls_R12K11 = loo_JResp.StringOf("R12.K11")
ls_R12K12 = loo_JResp.StringOf("R12.K12")
ls_R12K13 = loo_JResp.StringOf("R12.K13")
ls_R12K14 = loo_JResp.StringOf("R12.K14")
ls_R13K1 = loo_JResp.StringOf("R13.K1")
ls_R13K2 = loo_JResp.StringOf("R13.K2")
ls_R13K3 = loo_JResp.StringOf("R13.K3")
ls_R13K4 = loo_JResp.StringOf("R13.K4")
ls_R13K5 = loo_JResp.StringOf("R13.K5")
ls_R13K6 = loo_JResp.StringOf("R13.K6")
ls_R13K7 = loo_JResp.StringOf("R13.K7")
ls_R13K8 = loo_JResp.StringOf("R13.K8")
ls_R13K9 = loo_JResp.StringOf("R13.K9")
ls_R13K10 = loo_JResp.StringOf("R13.K10")
ls_R13K11 = loo_JResp.StringOf("R13.K11")
ls_R13K12 = loo_JResp.StringOf("R13.K12")
ls_R13K13 = loo_JResp.StringOf("R13.K13")
ls_R13K14 = loo_JResp.StringOf("R13.K14")
ls_R14K1 = loo_JResp.StringOf("R14.K1")
ls_R14K2 = loo_JResp.StringOf("R14.K2")
ls_R14K3 = loo_JResp.StringOf("R14.K3")
ls_R14K4 = loo_JResp.StringOf("R14.K4")
ls_R14K5 = loo_JResp.StringOf("R14.K5")
ls_R14K6 = loo_JResp.StringOf("R14.K6")
ls_R14K7 = loo_JResp.StringOf("R14.K7")
ls_R14K8 = loo_JResp.StringOf("R14.K8")
ls_R14K9 = loo_JResp.StringOf("R14.K9")
ls_R14K10 = loo_JResp.StringOf("R14.K10")
ls_R14K11 = loo_JResp.StringOf("R14.K11")
ls_R14K12 = loo_JResp.StringOf("R14.K12")
ls_R14K13 = loo_JResp.StringOf("R14.K13")
ls_R14K14 = loo_JResp.StringOf("R14.K14")
ls_R15K1 = loo_JResp.StringOf("R15.K1")
ls_R15K2 = loo_JResp.StringOf("R15.K2")
ls_R15K3 = loo_JResp.StringOf("R15.K3")
ls_R15K4 = loo_JResp.StringOf("R15.K4")
ls_R15K5 = loo_JResp.StringOf("R15.K5")
ls_R15K6 = loo_JResp.StringOf("R15.K6")
ls_R15K7 = loo_JResp.StringOf("R15.K7")
ls_R15K8 = loo_JResp.StringOf("R15.K8")
ls_R15K9 = loo_JResp.StringOf("R15.K9")
ls_R15K10 = loo_JResp.StringOf("R15.K10")
ls_R15K11 = loo_JResp.StringOf("R15.K11")
ls_R15K12 = loo_JResp.StringOf("R15.K12")
ls_R15K13 = loo_JResp.StringOf("R15.K13")
ls_R15K14 = loo_JResp.StringOf("R15.K14")
ls_R16K1 = loo_JResp.StringOf("R16.K1")
ls_R16K2 = loo_JResp.StringOf("R16.K2")
ls_R16K3 = loo_JResp.StringOf("R16.K3")
ls_R16K4 = loo_JResp.StringOf("R16.K4")
ls_R16K5 = loo_JResp.StringOf("R16.K5")
ls_R16K6 = loo_JResp.StringOf("R16.K6")
ls_R16K7 = loo_JResp.StringOf("R16.K7")
ls_R16K8 = loo_JResp.StringOf("R16.K8")
ls_R16K9 = loo_JResp.StringOf("R16.K9")
ls_R16K10 = loo_JResp.StringOf("R16.K10")
ls_R16K11 = loo_JResp.StringOf("R16.K11")
ls_R16K12 = loo_JResp.StringOf("R16.K12")
ls_R16K13 = loo_JResp.StringOf("R16.K13")
ls_R16K14 = loo_JResp.StringOf("R16.K14")
ls_R17K1 = loo_JResp.StringOf("R17.K1")
ls_R17K2 = loo_JResp.StringOf("R17.K2")
ls_R17K3 = loo_JResp.StringOf("R17.K3")
ls_R17K4 = loo_JResp.StringOf("R17.K4")
ls_R17K5 = loo_JResp.StringOf("R17.K5")
ls_R17K6 = loo_JResp.StringOf("R17.K6")
ls_R17K7 = loo_JResp.StringOf("R17.K7")
ls_R17K8 = loo_JResp.StringOf("R17.K8")
ls_R17K9 = loo_JResp.StringOf("R17.K9")
ls_R17K10 = loo_JResp.StringOf("R17.K10")
ls_R17K11 = loo_JResp.StringOf("R17.K11")
ls_R17K12 = loo_JResp.StringOf("R17.K12")
ls_R17K13 = loo_JResp.StringOf("R17.K13")
ls_R17K14 = loo_JResp.StringOf("R17.K14")
ls_R18K1 = loo_JResp.StringOf("R18.K1")
ls_R18K2 = loo_JResp.StringOf("R18.K2")
ls_R18K3 = loo_JResp.StringOf("R18.K3")
ls_R18K4 = loo_JResp.StringOf("R18.K4")
ls_R18K5 = loo_JResp.StringOf("R18.K5")
ls_R18K6 = loo_JResp.StringOf("R18.K6")
ls_R18K7 = loo_JResp.StringOf("R18.K7")
ls_R18K8 = loo_JResp.StringOf("R18.K8")
ls_R18K9 = loo_JResp.StringOf("R18.K9")
ls_R18K10 = loo_JResp.StringOf("R18.K10")
ls_R18K11 = loo_JResp.StringOf("R18.K11")
ls_R18K12 = loo_JResp.StringOf("R18.K12")
ls_R18K13 = loo_JResp.StringOf("R18.K13")
ls_R18K14 = loo_JResp.StringOf("R18.K14")
ls_R19K1 = loo_JResp.StringOf("R19.K1")
ls_R19K2 = loo_JResp.StringOf("R19.K2")
ls_R19K3 = loo_JResp.StringOf("R19.K3")
ls_R19K4 = loo_JResp.StringOf("R19.K4")
ls_R19K5 = loo_JResp.StringOf("R19.K5")
ls_R19K6 = loo_JResp.StringOf("R19.K6")
ls_R19K7 = loo_JResp.StringOf("R19.K7")
ls_R19K8 = loo_JResp.StringOf("R19.K8")
ls_R19K9 = loo_JResp.StringOf("R19.K9")
ls_R19K10 = loo_JResp.StringOf("R19.K10")
ls_R19K11 = loo_JResp.StringOf("R19.K11")
ls_R19K12 = loo_JResp.StringOf("R19.K12")
ls_R19K13 = loo_JResp.StringOf("R19.K13")
ls_R19K14 = loo_JResp.StringOf("R19.K14")
ls_R21K1 = loo_JResp.StringOf("R21.K1")
ls_R21K2 = loo_JResp.StringOf("R21.K2")
ls_R21K3 = loo_JResp.StringOf("R21.K3")
ls_R21K4 = loo_JResp.StringOf("R21.K4")
ls_R21K5 = loo_JResp.StringOf("R21.K5")
ls_R21K6 = loo_JResp.StringOf("R21.K6")
ls_R21K7 = loo_JResp.StringOf("R21.K7")
ls_R21K8 = loo_JResp.StringOf("R21.K8")
ls_R21K9 = loo_JResp.StringOf("R21.K9")
ls_R21K10 = loo_JResp.StringOf("R21.K10")
ls_R21K11 = loo_JResp.StringOf("R21.K11")
ls_R21K12 = loo_JResp.StringOf("R21.K12")
ls_R21K13 = loo_JResp.StringOf("R21.K13")
ls_R21K14 = loo_JResp.StringOf("R21.K14")
ls_R22K1 = loo_JResp.StringOf("R22.K1")
ls_R22K2 = loo_JResp.StringOf("R22.K2")
ls_R22K3 = loo_JResp.StringOf("R22.K3")
ls_R22K4 = loo_JResp.StringOf("R22.K4")
ls_R22K5 = loo_JResp.StringOf("R22.K5")
ls_R22K6 = loo_JResp.StringOf("R22.K6")
ls_R22K7 = loo_JResp.StringOf("R22.K7")
ls_R22K8 = loo_JResp.StringOf("R22.K8")
ls_R22K9 = loo_JResp.StringOf("R22.K9")
ls_R22K10 = loo_JResp.StringOf("R22.K10")
ls_R22K11 = loo_JResp.StringOf("R22.K11")
ls_R22K12 = loo_JResp.StringOf("R22.K12")
ls_R22K13 = loo_JResp.StringOf("R22.K13")
ls_R22K14 = loo_JResp.StringOf("R22.K14")
ls_R23K1 = loo_JResp.StringOf("R23.K1")
ls_R23K2 = loo_JResp.StringOf("R23.K2")
ls_R23K3 = loo_JResp.StringOf("R23.K3")
ls_R23K4 = loo_JResp.StringOf("R23.K4")
ls_R23K5 = loo_JResp.StringOf("R23.K5")
ls_R23K6 = loo_JResp.StringOf("R23.K6")
ls_R23K7 = loo_JResp.StringOf("R23.K7")
ls_R23K8 = loo_JResp.StringOf("R23.K8")
ls_R23K9 = loo_JResp.StringOf("R23.K9")
ls_R23K10 = loo_JResp.StringOf("R23.K10")
ls_R23K11 = loo_JResp.StringOf("R23.K11")
ls_R23K12 = loo_JResp.StringOf("R23.K12")
ls_R23K13 = loo_JResp.StringOf("R23.K13")
ls_R23K14 = loo_JResp.StringOf("R23.K14")
ls_R24K1 = loo_JResp.StringOf("R24.K1")
ls_R24K2 = loo_JResp.StringOf("R24.K2")
ls_R24K3 = loo_JResp.StringOf("R24.K3")
ls_R24K4 = loo_JResp.StringOf("R24.K4")
ls_R24K5 = loo_JResp.StringOf("R24.K5")
ls_R24K6 = loo_JResp.StringOf("R24.K6")
ls_R24K7 = loo_JResp.StringOf("R24.K7")
ls_R24K8 = loo_JResp.StringOf("R24.K8")
ls_R24K9 = loo_JResp.StringOf("R24.K9")
ls_R24K10 = loo_JResp.StringOf("R24.K10")
ls_R24K11 = loo_JResp.StringOf("R24.K11")
ls_R24K12 = loo_JResp.StringOf("R24.K12")
ls_R24K13 = loo_JResp.StringOf("R24.K13")
ls_R24K14 = loo_JResp.StringOf("R24.K14")
ls_R25K1 = loo_JResp.StringOf("R25.K1")
ls_R25K2 = loo_JResp.StringOf("R25.K2")
ls_R25K3 = loo_JResp.StringOf("R25.K3")
ls_R25K4 = loo_JResp.StringOf("R25.K4")
ls_R25K5 = loo_JResp.StringOf("R25.K5")
ls_R25K6 = loo_JResp.StringOf("R25.K6")
ls_R25K7 = loo_JResp.StringOf("R25.K7")
ls_R25K8 = loo_JResp.StringOf("R25.K8")
ls_R25K9 = loo_JResp.StringOf("R25.K9")
ls_R25K10 = loo_JResp.StringOf("R25.K10")
ls_R25K11 = loo_JResp.StringOf("R25.K11")
ls_R25K12 = loo_JResp.StringOf("R25.K12")
ls_R25K13 = loo_JResp.StringOf("R25.K13")
ls_R25K14 = loo_JResp.StringOf("R25.K14")
ls_R26K1 = loo_JResp.StringOf("R26.K1")
ls_R26K2 = loo_JResp.StringOf("R26.K2")
ls_R26K3 = loo_JResp.StringOf("R26.K3")
ls_R26K4 = loo_JResp.StringOf("R26.K4")
ls_R26K5 = loo_JResp.StringOf("R26.K5")
ls_R26K6 = loo_JResp.StringOf("R26.K6")
ls_R26K7 = loo_JResp.StringOf("R26.K7")
ls_R26K8 = loo_JResp.StringOf("R26.K8")
ls_R26K9 = loo_JResp.StringOf("R26.K9")
ls_R26K10 = loo_JResp.StringOf("R26.K10")
ls_R26K11 = loo_JResp.StringOf("R26.K11")
ls_R26K12 = loo_JResp.StringOf("R26.K12")
ls_R26K13 = loo_JResp.StringOf("R26.K13")
ls_R26K14 = loo_JResp.StringOf("R26.K14")
ls_R28K1 = loo_JResp.StringOf("R28.K1")
ls_R28K2 = loo_JResp.StringOf("R28.K2")
ls_R28K3 = loo_JResp.StringOf("R28.K3")
ls_R28K4 = loo_JResp.StringOf("R28.K4")
ls_R28K5 = loo_JResp.StringOf("R28.K5")
ls_R28K6 = loo_JResp.StringOf("R28.K6")
ls_R28K7 = loo_JResp.StringOf("R28.K7")
ls_R28K8 = loo_JResp.StringOf("R28.K8")
ls_R28K9 = loo_JResp.StringOf("R28.K9")
ls_R28K10 = loo_JResp.StringOf("R28.K10")
ls_R28K11 = loo_JResp.StringOf("R28.K11")
ls_R28K12 = loo_JResp.StringOf("R28.K12")
ls_R28K13 = loo_JResp.StringOf("R28.K13")
ls_R28K14 = loo_JResp.StringOf("R28.K14")
ls_R29K1 = loo_JResp.StringOf("R29.K1")
ls_R29K2 = loo_JResp.StringOf("R29.K2")
ls_R29K3 = loo_JResp.StringOf("R29.K3")
ls_R29K4 = loo_JResp.StringOf("R29.K4")
ls_R29K5 = loo_JResp.StringOf("R29.K5")
ls_R29K6 = loo_JResp.StringOf("R29.K6")
ls_R29K7 = loo_JResp.StringOf("R29.K7")
ls_R29K8 = loo_JResp.StringOf("R29.K8")
ls_R29K9 = loo_JResp.StringOf("R29.K9")
ls_R29K10 = loo_JResp.StringOf("R29.K10")
ls_R29K11 = loo_JResp.StringOf("R29.K11")
ls_R29K12 = loo_JResp.StringOf("R29.K12")
ls_R29K13 = loo_JResp.StringOf("R29.K13")
ls_R29K14 = loo_JResp.StringOf("R29.K14")
ls_R30K1 = loo_JResp.StringOf("R30.K1")
ls_R30K2 = loo_JResp.StringOf("R30.K2")
ls_R30K3 = loo_JResp.StringOf("R30.K3")
ls_R30K4 = loo_JResp.StringOf("R30.K4")
ls_R30K5 = loo_JResp.StringOf("R30.K5")
ls_R30K6 = loo_JResp.StringOf("R30.K6")
ls_R30K7 = loo_JResp.StringOf("R30.K7")
ls_R30K8 = loo_JResp.StringOf("R30.K8")
ls_R30K9 = loo_JResp.StringOf("R30.K9")
ls_R30K10 = loo_JResp.StringOf("R30.K10")
ls_R30K11 = loo_JResp.StringOf("R30.K11")
ls_R30K12 = loo_JResp.StringOf("R30.K12")
ls_R30K13 = loo_JResp.StringOf("R30.K13")
ls_R30K14 = loo_JResp.StringOf("R30.K14")
ls_R32K1 = loo_JResp.StringOf("R32.K1")
ls_R32K2 = loo_JResp.StringOf("R32.K2")
ls_R32K3 = loo_JResp.StringOf("R32.K3")
ls_R32K4 = loo_JResp.StringOf("R32.K4")
ls_R32K5 = loo_JResp.StringOf("R32.K5")
ls_R32K6 = loo_JResp.StringOf("R32.K6")
ls_R32K7 = loo_JResp.StringOf("R32.K7")
ls_R32K8 = loo_JResp.StringOf("R32.K8")
ls_R32K9 = loo_JResp.StringOf("R32.K9")
ls_R32K10 = loo_JResp.StringOf("R32.K10")
ls_R32K11 = loo_JResp.StringOf("R32.K11")
ls_R32K12 = loo_JResp.StringOf("R32.K12")
ls_R32K13 = loo_JResp.StringOf("R32.K13")
ls_R32K14 = loo_JResp.StringOf("R32.K14")
ls_R33K1 = loo_JResp.StringOf("R33.K1")
ls_R33K2 = loo_JResp.StringOf("R33.K2")
ls_R33K3 = loo_JResp.StringOf("R33.K3")
ls_R33K4 = loo_JResp.StringOf("R33.K4")
ls_R33K5 = loo_JResp.StringOf("R33.K5")
ls_R33K6 = loo_JResp.StringOf("R33.K6")
ls_R33K7 = loo_JResp.StringOf("R33.K7")
ls_R33K8 = loo_JResp.StringOf("R33.K8")
ls_R33K9 = loo_JResp.StringOf("R33.K9")
ls_R33K10 = loo_JResp.StringOf("R33.K10")
ls_R33K11 = loo_JResp.StringOf("R33.K11")
ls_R33K12 = loo_JResp.StringOf("R33.K12")
ls_R33K13 = loo_JResp.StringOf("R33.K13")
ls_R33K14 = loo_JResp.StringOf("R33.K14")
ls_R34K1 = loo_JResp.StringOf("R34.K1")
ls_R34K2 = loo_JResp.StringOf("R34.K2")
ls_R34K3 = loo_JResp.StringOf("R34.K3")
ls_R34K4 = loo_JResp.StringOf("R34.K4")
ls_R34K5 = loo_JResp.StringOf("R34.K5")
ls_R34K6 = loo_JResp.StringOf("R34.K6")
ls_R34K7 = loo_JResp.StringOf("R34.K7")
ls_R34K8 = loo_JResp.StringOf("R34.K8")
ls_R34K9 = loo_JResp.StringOf("R34.K9")
ls_R34K10 = loo_JResp.StringOf("R34.K10")
ls_R34K11 = loo_JResp.StringOf("R34.K11")
ls_R34K12 = loo_JResp.StringOf("R34.K12")
ls_R34K13 = loo_JResp.StringOf("R34.K13")
ls_R34K14 = loo_JResp.StringOf("R34.K14")
ls_R35K1 = loo_JResp.StringOf("R35.K1")
ls_R35K2 = loo_JResp.StringOf("R35.K2")
ls_R35K3 = loo_JResp.StringOf("R35.K3")
ls_R35K4 = loo_JResp.StringOf("R35.K4")
ls_R35K5 = loo_JResp.StringOf("R35.K5")
ls_R35K6 = loo_JResp.StringOf("R35.K6")
ls_R35K7 = loo_JResp.StringOf("R35.K7")
ls_R35K8 = loo_JResp.StringOf("R35.K8")
ls_R35K9 = loo_JResp.StringOf("R35.K9")
ls_R35K10 = loo_JResp.StringOf("R35.K10")
ls_R35K11 = loo_JResp.StringOf("R35.K11")
ls_R35K12 = loo_JResp.StringOf("R35.K12")
ls_R35K13 = loo_JResp.StringOf("R35.K13")
ls_R35K14 = loo_JResp.StringOf("R35.K14")
ls_Value = loo_JResp.StringOf("R37.PielikumsRindai15.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai15.Komentars.value")
ls_FailsValue = loo_JResp.StringOf("R37.PielikumsRindai16.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai16.Komentars.value")
ls_FailsValue = loo_JResp.StringOf("R37.PielikumsRindai17.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai17.Komentars.value")
ls_FailsValue = loo_JResp.StringOf("R37.PielikumsRindai18.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai18.Komentars.value")
ls_FailsValue = loo_JResp.StringOf("R37.PielikumsRindai19.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai19.Komentars.value")
ls_FailsValue = loo_JResp.StringOf("R37.PielikumsRindai33.Fails.value")
ls_KomentarsValue = loo_JResp.StringOf("R37.PielikumsRindai33.Komentars.value")
li_Id = loo_JResp.IntOf("Id")
ls_UID = loo_JResp.StringOf("UID")
ls_NmrKods = loo_JResp.StringOf("NmrKods")
li_Precizejums = loo_JResp.BoolOf("Precizejums")
li_PrecizejamaisDokuments = loo_JResp.IntOf("PrecizejamaisDokuments")
ls_PrecizejumaPamatojums = loo_JResp.StringOf("PrecizejumaPamatojums")
i = 0
li_Count_i = loo_JResp.SizeOfArray("R37.CitiDokumenti")
do while i < li_Count_i
    loo_JResp.I = i
    ls_Value = loo_JResp.StringOf("R37.CitiDokumenti[i].value")
    i = i + 1
loop


destroy loo_Http
destroy loo_SbResponseBody
destroy loo_JResp

Curl Command

curl -X GET
	-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/annv3/: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/annv3/:id",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "annv3",
        ":id"
      ],
      "variable": [
        {
          "key": "id",
          "value": "25210683",
          "description": "(Required) Dokumenta id."
        }
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv3",
            ":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\": \"amet nulla incididunt velit\",\n  \"Talrunis\": \"cupidatat\",\n  \"Gads\": 65123793,\n  \"Menesis\": 1,\n  \"Datums\": \"2000-01-31T00:00:00\",\n  \"MaksTerm\": \"2000-01-31T00:00:00\",\n  \"NmStatuss\": \"culpa deserunt eiusmod\",\n  \"R08\": \"eiusmod ex Exce\",\n  \"R09\": \"incididunt ipsum\",\n  \"Sagatavotajs\": \"ipsum occaecat velit deserunt elit\",\n  \"R10\": {\n    \"K1\": 69011754.90285358,\n    \"K2\": -286474.6996511519,\n    \"K3\": -11770878.493984953,\n    \"K4\": 41719405.189673424,\n    \"K5\": 85870200.14192808,\n    \"K6\": 39589872.04420751,\n    \"K7\": 51397767.8996591,\n    \"K8\": 55571455.62865502,\n    \"K9\": -76702183.1212379,\n    \"K10\": -28474693.97053413,\n    \"K11\": -46737859.039462306,\n    \"K12\": -82573888.63207585,\n    \"K13\": -70158761.36809416,\n    \"K14\": 85900068.49806038\n  },\n  \"R11\": {\n    \"K1\": -29800804.37247619,\n    \"K2\": -35066503.0054643,\n    \"K3\": -69175786.56213808,\n    \"K4\": -4016157.839073837,\n    \"K5\": 97099183.8659884,\n    \"K6\": -58101739.06038889,\n    \"K7\": -78979160.79295988,\n    \"K8\": -70096428.85637559,\n    \"K9\": 34582920.550558865,\n    \"K10\": -6122790.466697082,\n    \"K11\": -62807023.9465063,\n    \"K12\": 19535726.419573158,\n    \"K13\": -23693003.608283818,\n    \"K14\": 96377854.71285895\n  },\n  \"R12\": {\n    \"K1\": 87378012.40657729,\n    \"K2\": -27350911.810965165,\n    \"K3\": 94527050.58391708,\n    \"K4\": 21360404.99224791,\n    \"K5\": -29808198.645335168,\n    \"K6\": 39156776.223213136,\n    \"K7\": 24129726.045016974,\n    \"K8\": 9296475.717829809,\n    \"K9\": 82658090.11044899,\n    \"K10\": -30666.993065729737,\n    \"K11\": -4882017.379342288,\n    \"K12\": 13961508.645864919,\n    \"K13\": 18741577.605267107,\n    \"K14\": 59150614.8674168\n  },\n  \"R13\": {\n    \"K1\": -65103989.44215647,\n    \"K2\": 22918342.522944972,\n    \"K3\": 13346606.449489862,\n    \"K4\": 78681659.25435358,\n    \"K5\": 99538886.19077235,\n    \"K6\": -70227435.85379434,\n    \"K7\": -34755089.54101198,\n    \"K8\": -60635259.987631105,\n    \"K9\": -12036440.340121105,\n    \"K10\": -90600607.56641927,\n    \"K11\": 3602952.135728106,\n    \"K12\": -30626183.083574563,\n    \"K13\": 2766316.3714336753,\n    \"K14\": -90986638.1227932\n  },\n  \"R14\": {\n    \"K1\": 40765863.954432696,\n    \"K2\": -67182370.45010902,\n    \"K3\": 11704952.64645721,\n    \"K4\": -84999057.04654682,\n    \"K5\": -36048290.58649277,\n    \"K6\": 62443585.84163031,\n    \"K7\": -32091709.58579573,\n    \"K8\": 43625042.31660575,\n    \"K9\": 16885544.619369015,\n    \"K10\": 80251259.64512235,\n    \"K11\": 27318731.967805788,\n    \"K12\": -14319355.59212181,\n    \"K13\": 41539796.58688739,\n    \"K14\": 88701128.01173308\n  },\n  \"R15\": {\n    \"K1\": -73742078.22814016,\n    \"K2\": 69693131.667204,\n    \"K3\": -12824841.672871351,\n    \"K4\": -22432843.69190924,\n    \"K5\": -25380617.015425906,\n    \"K6\": 84675620.93220896,\n    \"K7\": 99203348.01453814,\n    \"K8\": 70724303.85988456,\n    \"K9\": -98075512.73943722,\n    \"K10\": -47586259.396855325,\n    \"K11\": -50142282.39072187,\n    \"K12\": -21101219.808153406,\n    \"K13\": 1297868.7648593038,\n    \"K14\": -24502689.533988237\n  },\n  \"R16\": {\n    \"K1\": -74716385.73514321,\n    \"K2\": -30943767.37516588,\n    \"K3\": -44399932.76375906,\n    \"K4\": 97725275.84666863,\n    \"K5\": 66676996.76606268,\n    \"K6\": 70624436.77358449,\n    \"K7\": -7465955.914643452,\n    \"K8\": 54575323.67242882,\n    \"K9\": -8226899.7871031165,\n    \"K10\": 22459047.79521121,\n    \"K11\": 62984419.460039735,\n    \"K12\": -38206328.807595424,\n    \"K13\": 4590092.543481678,\n    \"K14\": 13438461.298249975\n  },\n  \"R17\": {\n    \"K1\": -79276235.37118165,\n    \"K2\": 88310970.07092902,\n    \"K3\": 45338636.402314276,\n    \"K4\": -12069175.57364422,\n    \"K5\": -51247006.81518837,\n    \"K6\": -29487667.020108163,\n    \"K7\": -73308992.77850014,\n    \"K8\": -33074376.447444066,\n    \"K9\": -177327.0789398104,\n    \"K10\": 29802067.812471345,\n    \"K11\": -88333827.83231154,\n    \"K12\": 4541758.027439117,\n    \"K13\": -94479383.87846522,\n    \"K14\": 71061466.05379507\n  },\n  \"R18\": {\n    \"K1\": 49157671.97426507,\n    \"K2\": 69861262.56142816,\n    \"K3\": 71178403.34087607,\n    \"K4\": 92454364.55228323,\n    \"K5\": 57063199.17423582,\n    \"K6\": 92226720.2758199,\n    \"K7\": 36492133.54092264,\n    \"K8\": -40110671.71385498,\n    \"K9\": -60517419.6178218,\n    \"K10\": -54041375.469130725,\n    \"K11\": -33424556.83445298,\n    \"K12\": 62335423.58725083,\n    \"K13\": -94396793.40749945,\n    \"K14\": 80252277.86649683\n  },\n  \"R19\": {\n    \"K1\": 123715.51453527808,\n    \"K2\": -30024289.465088308,\n    \"K3\": 20831821.576838523,\n    \"K4\": 13751186.00750947,\n    \"K5\": -82562248.40154359,\n    \"K6\": -91918658.27465749,\n    \"K7\": 53664426.47689101,\n    \"K8\": -98266332.30762978,\n    \"K9\": 83178105.28106353,\n    \"K10\": -99333857.54222001,\n    \"K11\": 53695967.461390644,\n    \"K12\": -28408415.947372362,\n    \"K13\": 76269594.75703493,\n    \"K14\": 31912799.067684934\n  },\n  \"R21\": {\n    \"K1\": -44715463.05692659,\n    \"K2\": 35259445.42232731,\n    \"K3\": -73543212.95697933,\n    \"K4\": 51062825.70996052,\n    \"K5\": -24866924.962759823,\n    \"K6\": -99782144.91487187,\n    \"K7\": 34426916.9880867,\n    \"K8\": 80196114.54963037,\n    \"K9\": -82033296.18403381,\n    \"K10\": 51632187.13585627,\n    \"K11\": -31052880.19715458,\n    \"K12\": -84933115.76651567,\n    \"K13\": -18239617.81592995,\n    \"K14\": -79838514.38359855\n  },\n  \"R22\": {\n    \"K1\": -40657959.122213595,\n    \"K2\": -35666457.192132436,\n    \"K3\": -54900133.81453851,\n    \"K4\": -50660550.33409076,\n    \"K5\": 56372959.6100699,\n    \"K6\": -22617966.86505577,\n    \"K7\": -25785132.50306958,\n    \"K8\": -80599255.28435676,\n    \"K9\": 34162524.82784064,\n    \"K10\": 60312008.3953411,\n    \"K11\": -78494808.23443687,\n    \"K12\": -54561406.25574868,\n    \"K13\": -95947709.11534333,\n    \"K14\": -50199990.21337842\n  },\n  \"R23\": {\n    \"K1\": 41675545.57682341,\n    \"K2\": -8213686.921727166,\n    \"K3\": 52303188.87026709,\n    \"K4\": 35451686.00720307,\n    \"K5\": -70464918.60214852,\n    \"K6\": 83371946.7007502,\n    \"K7\": -72710355.44172299,\n    \"K8\": -70039250.24744335,\n    \"K9\": -5124505.089271426,\n    \"K10\": 52554245.53818181,\n    \"K11\": -9546174.943117559,\n    \"K12\": -97484758.60810348,\n    \"K13\": -4113345.3718183786,\n    \"K14\": -50426233.13131713\n  },\n  \"R24\": {\n    \"K1\": 66133466.26420823,\n    \"K2\": -91964569.1839817,\n    \"K3\": -4096172.611068338,\n    \"K4\": 32181593.09547071,\n    \"K5\": -76106645.14385906,\n    \"K6\": -95263921.22593985,\n    \"K7\": 48077115.43286115,\n    \"K8\": -63433082.57376678,\n    \"K9\": 98066585.07445216,\n    \"K10\": 73490964.03584486,\n    \"K11\": 47120763.647226095,\n    \"K12\": 2914591.4395706058,\n    \"K13\": 47568164.221423656,\n    \"K14\": -18514471.703478158\n  },\n  \"R25\": {\n    \"K1\": -62046475.12956058,\n    \"K2\": -38748807.6190357,\n    \"K3\": 49463934.0935137,\n    \"K4\": -58401680.16387279,\n    \"K5\": 29052171.52058515,\n    \"K6\": -11062992.885137752,\n    \"K7\": 43145282.76044333,\n    \"K8\": -36580995.051727384,\n    \"K9\": 99778589.80893427,\n    \"K10\": -68592671.16203561,\n    \"K11\": 2687004.18798095,\n    \"K12\": -86400621.13214996,\n    \"K13\": 77518804.34014541,\n    \"K14\": -12645410.150312617\n  },\n  \"R26\": {\n    \"K1\": -78591896.14125341,\n    \"K2\": -33541977.987893023,\n    \"K3\": -7126957.559500501,\n    \"K4\": -81283519.89619827,\n    \"K5\": 62149847.61238295,\n    \"K6\": -55398211.15769437,\n    \"K7\": -62452233.28487213,\n    \"K8\": -7969978.069563672,\n    \"K9\": -11435938.536992833,\n    \"K10\": -88980847.07671581,\n    \"K11\": 18580757.84160991,\n    \"K12\": -38332654.85404911,\n    \"K13\": -69024700.81814651,\n    \"K14\": -97678730.99893686\n  },\n  \"R28\": {\n    \"K1\": 92344399.21691194,\n    \"K2\": 10253142.701950192,\n    \"K3\": 84221877.49756199,\n    \"K4\": -93633150.34182805,\n    \"K5\": -1870238.6556153148,\n    \"K6\": -23360941.28930016,\n    \"K7\": 83081373.79069,\n    \"K8\": 14986066.553176299,\n    \"K9\": -53534597.61668642,\n    \"K10\": 91966957.19912711,\n    \"K11\": 828880.8995863944,\n    \"K12\": -22621159.383924723,\n    \"K13\": -57517677.94118683,\n    \"K14\": -43960533.52528262\n  },\n  \"R29\": {\n    \"K1\": 65098068.548140675,\n    \"K2\": -62628847.71550619,\n    \"K3\": -44645096.38325689,\n    \"K4\": -70382336.380874,\n    \"K5\": 77764871.23749784,\n    \"K6\": 85471988.04898414,\n    \"K7\": -92682519.16448605,\n    \"K8\": 14477516.365955934,\n    \"K9\": -54485567.545958124,\n    \"K10\": -58390662.08840067,\n    \"K11\": -25786685.54566148,\n    \"K12\": -12775479.956604004,\n    \"K13\": -24986968.96927038,\n    \"K14\": 61530633.76396072\n  },\n  \"R30\": {\n    \"K1\": -60408540.21200048,\n    \"K2\": -95382025.37231442,\n    \"K3\": -82203699.10495462,\n    \"K4\": -13019465.837596565,\n    \"K5\": 48909150.779518306,\n    \"K6\": 35851167.10334942,\n    \"K7\": 40932012.4235768,\n    \"K8\": 69260655.89888439,\n    \"K9\": -3802098.942574486,\n    \"K10\": 45939169.58042014,\n    \"K11\": 76142036.76493588,\n    \"K12\": 673525.662062645,\n    \"K13\": -41669688.51011612,\n    \"K14\": 53421817.67200649\n  },\n  \"R32\": {\n    \"K1\": -89219505.33041811,\n    \"K2\": 84086950.08672878,\n    \"K3\": -47621981.65450138,\n    \"K4\": -43320449.76828926,\n    \"K5\": -32075059.245812193,\n    \"K6\": 46658032.035206795,\n    \"K7\": 74567283.10016194,\n    \"K8\": -39210983.69562697,\n    \"K9\": -94627388.8717959,\n    \"K10\": 51416151.03172833,\n    \"K11\": -67059563.23692037,\n    \"K12\": 14054536.63035208,\n    \"K13\": 1584464.747822255,\n    \"K14\": 6139643.822236434\n  },\n  \"R33\": {\n    \"K1\": 8509480.473880112,\n    \"K2\": 54038030.33899832,\n    \"K3\": -67320688.18142922,\n    \"K4\": 157803.89888755977,\n    \"K5\": -93464588.74322496,\n    \"K6\": -73086803.47495252,\n    \"K7\": 28811001.462504923,\n    \"K8\": -858734.274120152,\n    \"K9\": -83736640.3299682,\n    \"K10\": -30443417.911967963,\n    \"K11\": -59182930.12059839,\n    \"K12\": 90991775.95187068,\n    \"K13\": -93258202.86744104,\n    \"K14\": 75065806.16454467\n  },\n  \"R34\": {\n    \"K1\": 64366266.04542029,\n    \"K2\": 55875279.07302797,\n    \"K3\": -30412639.03126569,\n    \"K4\": 20928264.1107547,\n    \"K5\": 96073421.19970256,\n    \"K6\": 6238152.798862994,\n    \"K7\": 82602234.65809983,\n    \"K8\": -51657176.4649302,\n    \"K9\": 78178158.87128153,\n    \"K10\": -49439763.84407458,\n    \"K11\": -33046722.950156137,\n    \"K12\": -49408589.47432081,\n    \"K13\": -17148102.76511787,\n    \"K14\": 30072675.67667733\n  },\n  \"R35\": {\n    \"K1\": -75256865.62902214,\n    \"K2\": -14233162.403070495,\n    \"K3\": 89920332.7760945,\n    \"K4\": -27753270.94936633,\n    \"K5\": -19643007.61510174,\n    \"K6\": 16777781.736409515,\n    \"K7\": 17366393.979396924,\n    \"K8\": 13701608.75001809,\n    \"K9\": 43470850.388211966,\n    \"K10\": -81511501.13858594,\n    \"K11\": -68098284.54304525,\n    \"K12\": 10830500.441741318,\n    \"K13\": 69405383.63544184,\n    \"K14\": -37015749.94596557\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\": 64149875,\n  \"UID\": \"ipsum culpa\",\n  \"NmrKods\": \"anim proi\",\n  \"Precizejums\": false,\n  \"PrecizejamaisDokuments\": -88089515,\n  \"PrecizejumaPamatojums\": \"Lorem officia\"\n}"
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv3",
            ":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/annv3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv3",
            ":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/annv3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv3",
            ":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": ""
    }
  ]
}