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/annv4/: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": "Lorem in eiusmod aliquip voluptate",
//   "Talrunis": "non deserunt vol",
//   "Gads": -82184631,
//   "Menesis": 9,
//   "Datums": "2000-01-31T00:00:00",
//   "MaksTerm": "2000-01-31T00:00:00",
//   "NmStatuss": "pariatur proident",
//   "R08": "minim",
//   "R09": "dolore sit velit mollit",
//   "Sagatavotajs": "ipsum dolor non",
//   "R10": {
//     "K1": 16328653.724837586,
//     "K2": -87950817.9898314,
//     "K3": 3257414.3665181845,
//     "K4": 2394689.2126417607,
//     "K5": -24777365.814456195,
//     "K6": 18770070.284489423,
//     "K7": -91784300.62529133,
//     "K8": 70422771.01527569,
//     "K9": -61744581.7129465,
//     "K10": 86719181.78426033,
//     "K11": 68817542.37522736,
//     "K12": 17738553.890762135,
//     "K13": -62589633.93775363,
//     "K14": -75021119.05898628
//   },
//   "R11": {
//     "K1": -69769058.13043426,
//     "K2": -22538375.37679124,
//     "K3": 29341845.91991383,
//     "K4": -34763994.10235254,
//     "K5": 25905955.370100304,
//     "K6": 35927187.79492253,
//     "K7": 26232897.638250157,
//     "K8": 45676818.95360184,
//     "K9": -7741680.646063149,
//     "K10": 12673528.015534341,
//     "K11": -16997929.824192896,
//     "K12": 76869640.18793342,
//     "K13": 80234821.6924516,
//     "K14": -66331290.35164833
//   },
//   "R12": {
//     "K1": -87677419.0124578,
//     "K2": 25420989.805896714,
//     "K3": 55544761.99298918,
//     "K4": -4520012.362582192,
//     "K5": 49608714.00385019,
//     "K6": -85684047.11885807,
//     "K7": -14208737.808883637,
//     "K8": -74685139.35987593,
//     "K9": 75963902.07094994,
//     "K10": 33059041.79335788,
//     "K11": -30102683.49103278,
//     "K12": 18919426.742815882,
//     "K13": -48197777.87267841,
//     "K14": 60477294.91038045
//   },
//   "R13": {
//     "K1": 37996786.06479803,
//     "K2": -79388460.0479906,
//     "K3": -50691224.35651625,
//     "K4": 49668907.75893873,
//     "K5": -14662552.909173638,
//     "K6": 7011946.461176023,
//     "K7": 64045578.6923078,
//     "K8": 85927610.18557975,
//     "K9": 72242584.48766556,
//     "K10": -9367338.82431446,
//     "K11": 88407209.07040676,
//     "K12": -82244194.18180972,
//     "K13": -27869706.705521047,
//     "K14": -37458512.05595736
//   },
//   "R14": {
//     "K1": -82552340.35908301,
//     "K2": -76986648.24431378,
//     "K3": -14183588.083701432,
//     "K4": -86590588.6036936,
//     "K5": 81142943.85499617,
//     "K6": 7373716.631371915,
//     "K7": -41591381.47619949,
//     "K8": 86831738.48671126,
//     "K9": 29043101.68491344,
//     "K10": -96306803.84246513,
//     "K11": -39938170.19626902,
//     "K12": 13214252.948196888,
//     "K13": -53910787.287705466,
//     "K14": 75890132.15710837
//   },
//   "R15": {
//     "K1": 56218799.43265244,
//     "K2": 17484511.11899309,
//     "K3": 83931780.68462405,
//     "K4": -77977080.83588928,
//     "K5": -47522019.41539473,
//     "K6": 93316753.27175727,
//     "K7": 94091462.10675386,
//     "K8": 42147080.01023099,
//     "K9": -27120036.000980943,
//     "K10": 3139036.4073375016,
//     "K11": 74727534.62230012,
//     "K12": -73090419.95923331,
//     "K13": -85540072.87872797,
//     "K14": 8788261.774200782
//   },
//   "R16": {
//     "K1": 95844914.32977328,
//     "K2": 47519667.90724692,
//     "K3": 7728179.655423954,
//     "K4": -8365360.586450025,
//     "K5": 10599964.662404597,
//     "K6": -21309629.48953536,
//     "K7": 2050946.0627980828,
//     "K8": -85178499.05269709,
//     "K9": -46504773.23531632,
//     "K10": 98167003.51412368,
//     "K11": -60548282.585043676,
//     "K12": -74085171.35319452,
//     "K13": -58064063.25406552,
//     "K14": 42650385.29950726
//   },
//   "R17": {
//     "K1": 65775098.75594056,
//     "K2": 30696291.135660708,
//     "K3": -72830309.28755236,
//     "K4": -96577791.29292314,
//     "K5": 94802979.22747439,
//     "K6": -65211786.726446785,
//     "K7": -28678720.192400277,
//     "K8": 4629496.269421324,
//     "K9": 44472928.43451443,
//     "K10": -37639559.097108364,
//     "K11": -64463239.43126169,
//     "K12": 43341913.32631683,
//     "K13": 34870544.35076398,
//     "K14": 91513218.17405257
//   },
//   "R18": {
//     "K1": 34623946.292095006,
//     "K2": -77341977.41821456,
//     "K3": 88187647.13118777,
//     "K4": 82828077.92357829,
//     "K5": -89835481.16541749,
//     "K6": -61223499.628719755,
//     "K7": 12645700.801432997,
//     "K8": 2158960.846409783,
//     "K9": 79932087.35901889,
//     "K10": 18599091.86527142,
//     "K11": 47695563.875030875,
//     "K12": -33424832.508073978,
//     "K13": -99519925.48258577,
//     "K14": 58261675.10968125
//   },
//   "R19": {
//     "K1": -55629509.78202768,
//     "K2": 94647221.01314664,
//     "K3": -76028826.04196641,
//     "K4": 65404013.02994433,
//     "K5": -49660536.89266783,
//     "K6": 25273326.973483324,
//     "K7": 35955896.1050781,
//     "K8": 11466690.643244743,
//     "K9": -43277983.55096233,
//     "K10": -67342785.60243192,
//     "K11": 93988871.59945258,
//     "K12": 93940750.65659192,
//     "K13": -51361665.98857517,
//     "K14": 78941139.35570145
//   },
//   "R21": {
//     "K1": 27395240.943158686,
//     "K2": 70606060.86312711,
//     "K3": -22131413.5372535,
//     "K4": 85377691.96456128,
//     "K5": -69741292.71116145,
//     "K6": -85059526.54666911,
//     "K7": -24655423.400929302,
//     "K8": 89254563.010488,
//     "K9": 49150023.06885788,
//     "K10": 23179391.624741584,
//     "K11": 87865688.05695194,
//     "K12": -2847786.0169280767,
//     "K13": 91130827.18421376,
//     "K14": 82068324.82837763
//   },
//   "R22": {
//     "K1": -37953848.45602423,
//     "K2": 65314700.50226021,
//     "K3": 60856344.52899012,
//     "K4": 66185966.26782459,
//     "K5": -5512935.085172147,
//     "K6": -99053516.1854766,
//     "K7": 85592692.61948216,
//     "K8": 73920831.61064419,
//     "K9": 23010426.12183605,
//     "K10": -31701684.100666896,
//     "K11": 3047137.5906404555,
//     "K12": -49302373.42979588,
//     "K13": -25042474.251780033,
//     "K14": -66006049.109234735
//   },
//   "R23": {
//     "K1": -5767009.382611036,
//     "K2": 95566182.27854589,
//     "K3": 68731931.89284873,
//     "K4": 41152961.15799323,
//     "K5": -37691179.97197951,
//     "K6": 37248019.4871507,
//     "K7": -61783671.811570786,
//     "K8": -65113835.56219079,
//     "K9": 86137486.54255477,
//     "K10": -97604917.38001269,
//     "K11": 73425712.33905008,
//     "K12": -59061705.795734555,
//     "K13": -56881001.57020637,
//     "K14": -47466125.92793769
//   },
//   "R24": {
//     "K1": -64186291.216494285,
//     "K2": -83305227.20933442,
//     "K3": 53503641.04226798,
//     "K4": -50656608.48282012,
//     "K5": -25874959.899284855,
//     "K6": -62644722.089890294,
//     "K7": 63134394.523483545,
//     "K8": -59453634.06175947,
//     "K9": -31060326.300383955,
//     "K10": -31153766.347998247,
//     "K11": 89533822.61051491,
//     "K12": -19243642.19083658,
//     "K13": 94005029.76220295,
//     "K14": 44516845.5056757
//   },
//   "R25": {
//     "K1": 92770381.90924597,
//     "K2": 11570001.736082822,
//     "K3": -32699195.284047946,
//     "K4": 47183646.989736915,
//     "K5": -22710307.495794117,
//     "K6": 75059937.70602837,
//     "K7": -43894333.32359518,
//     "K8": -46158982.57446141,
//     "K9": -39621091.302581176,
//     "K10": 66142672.7465778,
//     "K11": -94763845.84140103,
//     "K12": -19601754.819558352,
//     "K13": -68273088.57244864,
//     "K14": -70021039.05606587
//   },
//   "R26": {
//     "K1": 5479023.058112815,
//     "K2": -16144148.649422526,
//     "K3": 92356278.51082578,
//     "K4": 71937687.4844769,
//     "K5": -58735251.07325035,
//     "K6": -78062747.68285051,
//     "K7": -42538350.474337295,
//     "K8": 81963948.51947674,
//     "K9": 50115787.22611162,
//     "K10": -21279103.95818749,
//     "K11": 91906699.16348094,
//     "K12": 8173628.878673881,
//     "K13": 19599053.827129513,
//     "K14": -20409830.631593227
//   },
//   "R28": {
//     "K1": 27802824.4817369,
//     "K2": 57483621.117706686,
//     "K3": -94055614.35754932,
//     "K4": 31278615.521112666,
//     "K5": -57256663.77426109,
//     "K6": -86284230.47141798,
//     "K7": -77966924.13428846,
//     "K8": 29059518.567262903,
//     "K9": -626417.887666136,
//     "K10": 16127939.34188512,
//     "K11": -92741977.60641591,
//     "K12": -37449230.602469005,
//     "K13": 23743115.89019072,
//     "K14": 25348097.465739846
//   },
//   "R29": {
//     "K1": -26805933.001731753,
//     "K2": 68614109.15667254,
//     "K3": 39318710.516957104,
//     "K4": 65114293.695658386,
//     "K5": 3361705.3758636266,
//     "K6": -24250737.994428203,
//     "K7": -24482391.725730762,
//     "K8": 69213131.07645726,
//     "K9": 98994516.66830412,
//     "K10": 16318538.220121413,
//     "K11": -39487739.918237664,
//     "K12": 23647693.49156104,
//     "K13": -42685984.04562951,
//     "K14": 41164769.500938356
//   },
//   "R30": {
//     "K1": -63256798.03913951,
//     "K2": 43227214.69477776,
//     "K3": 79578351.32033616,
//     "K4": 98818949.30158022,
//     "K5": 27555041.199536085,
//     "K6": 88347565.3809239,
//     "K7": 5235623.800466314,
//     "K8": 24721617.44543673,
//     "K9": 7060462.209249213,
//     "K10": 17991236.655961007,
//     "K11": -69646182.24027772,
//     "K12": 36158026.4288972,
//     "K13": -79383721.70767868,
//     "K14": 81028976.94582391
//   },
//   "R32": {
//     "K1": 31205521.080257088,
//     "K2": -12791422.659774244,
//     "K3": 65063299.81043598,
//     "K4": 96432860.03663039,
//     "K5": 24261563.373552784,
//     "K6": 38756825.458310574,
//     "K7": -51854073.51408102,
//     "K8": 7952914.523519799,
//     "K9": 64386293.989827216,
//     "K10": 91928227.3491365,
//     "K11": 50376752.217782915,
//     "K12": 88220172.05391788,
//     "K13": 56179167.76171127,
//     "K14": 13114951.633577794
//   },
//   "R33": {
//     "K1": 6142398.668532684,
//     "K2": 74213263.48210445,
//     "K3": 10291611.262824312,
//     "K4": -469834.8591835201,
//     "K5": 21967230.55064194,
//     "K6": 24678138.21367471,
//     "K7": -6414155.855680585,
//     "K8": 51617515.31377107,
//     "K9": 8284031.226150021,
//     "K10": 37384115.87626752,
//     "K11": -42756302.25619489,
//     "K12": -30493572.636986554,
//     "K13": -78399037.82294405,
//     "K14": -67537940.57563232
//   },
//   "R34": {
//     "K1": 64857833.56420404,
//     "K2": -39383123.74424857,
//     "K3": -57488769.57930183,
//     "K4": -97456218.11787331,
//     "K5": 4888285.57401742,
//     "K6": 47317022.039203346,
//     "K7": -34053874.08307234,
//     "K8": -99488372.68254448,
//     "K9": 5470736.222669229,
//     "K10": -28197931.342249304,
//     "K11": -8283463.507176012,
//     "K12": 26302022.63644965,
//     "K13": 9780237.253865525,
//     "K14": -23319176.731722638
//   },
//   "R35": {
//     "K1": 82506019.39402068,
//     "K2": 631082.3158593327,
//     "K3": -20836808.962187365,
//     "K4": -2300894.134821221,
//     "K5": -40667652.1991391,
//     "K6": 63042896.616030395,
//     "K7": 94071690.71470508,
//     "K8": -25739548.96542205,
//     "K9": 67142903.6215783,
//     "K10": 45574581.499938786,
//     "K11": 81487317.12965742,
//     "K12": 15577501.990702644,
//     "K13": 71876456.76464695,
//     "K14": -56063095.661939144
//   },
//   "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": 368338,
//   "UID": "culpa",
//   "NmrKods": "proiden",
//   "Precizejums": true,
//   "PrecizejamaisDokuments": -7690412,
//   "PrecizejumaPamatojums": "sit reprehenderit"
// }

// 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/annv4/: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/annv4/:id",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "annv4",
        ":id"
      ],
      "variable": [
        {
          "key": "id",
          "value": "25210683",
          "description": "(Required) Dokumenta id."
        }
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv4/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv4",
            ":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\": \"Lorem in eiusmod aliquip voluptate\",\n  \"Talrunis\": \"non deserunt vol\",\n  \"Gads\": -82184631,\n  \"Menesis\": 9,\n  \"Datums\": \"2000-01-31T00:00:00\",\n  \"MaksTerm\": \"2000-01-31T00:00:00\",\n  \"NmStatuss\": \"pariatur proident\",\n  \"R08\": \"minim\",\n  \"R09\": \"dolore sit velit mollit\",\n  \"Sagatavotajs\": \"ipsum dolor non\",\n  \"R10\": {\n    \"K1\": 16328653.724837586,\n    \"K2\": -87950817.9898314,\n    \"K3\": 3257414.3665181845,\n    \"K4\": 2394689.2126417607,\n    \"K5\": -24777365.814456195,\n    \"K6\": 18770070.284489423,\n    \"K7\": -91784300.62529133,\n    \"K8\": 70422771.01527569,\n    \"K9\": -61744581.7129465,\n    \"K10\": 86719181.78426033,\n    \"K11\": 68817542.37522736,\n    \"K12\": 17738553.890762135,\n    \"K13\": -62589633.93775363,\n    \"K14\": -75021119.05898628\n  },\n  \"R11\": {\n    \"K1\": -69769058.13043426,\n    \"K2\": -22538375.37679124,\n    \"K3\": 29341845.91991383,\n    \"K4\": -34763994.10235254,\n    \"K5\": 25905955.370100304,\n    \"K6\": 35927187.79492253,\n    \"K7\": 26232897.638250157,\n    \"K8\": 45676818.95360184,\n    \"K9\": -7741680.646063149,\n    \"K10\": 12673528.015534341,\n    \"K11\": -16997929.824192896,\n    \"K12\": 76869640.18793342,\n    \"K13\": 80234821.6924516,\n    \"K14\": -66331290.35164833\n  },\n  \"R12\": {\n    \"K1\": -87677419.0124578,\n    \"K2\": 25420989.805896714,\n    \"K3\": 55544761.99298918,\n    \"K4\": -4520012.362582192,\n    \"K5\": 49608714.00385019,\n    \"K6\": -85684047.11885807,\n    \"K7\": -14208737.808883637,\n    \"K8\": -74685139.35987593,\n    \"K9\": 75963902.07094994,\n    \"K10\": 33059041.79335788,\n    \"K11\": -30102683.49103278,\n    \"K12\": 18919426.742815882,\n    \"K13\": -48197777.87267841,\n    \"K14\": 60477294.91038045\n  },\n  \"R13\": {\n    \"K1\": 37996786.06479803,\n    \"K2\": -79388460.0479906,\n    \"K3\": -50691224.35651625,\n    \"K4\": 49668907.75893873,\n    \"K5\": -14662552.909173638,\n    \"K6\": 7011946.461176023,\n    \"K7\": 64045578.6923078,\n    \"K8\": 85927610.18557975,\n    \"K9\": 72242584.48766556,\n    \"K10\": -9367338.82431446,\n    \"K11\": 88407209.07040676,\n    \"K12\": -82244194.18180972,\n    \"K13\": -27869706.705521047,\n    \"K14\": -37458512.05595736\n  },\n  \"R14\": {\n    \"K1\": -82552340.35908301,\n    \"K2\": -76986648.24431378,\n    \"K3\": -14183588.083701432,\n    \"K4\": -86590588.6036936,\n    \"K5\": 81142943.85499617,\n    \"K6\": 7373716.631371915,\n    \"K7\": -41591381.47619949,\n    \"K8\": 86831738.48671126,\n    \"K9\": 29043101.68491344,\n    \"K10\": -96306803.84246513,\n    \"K11\": -39938170.19626902,\n    \"K12\": 13214252.948196888,\n    \"K13\": -53910787.287705466,\n    \"K14\": 75890132.15710837\n  },\n  \"R15\": {\n    \"K1\": 56218799.43265244,\n    \"K2\": 17484511.11899309,\n    \"K3\": 83931780.68462405,\n    \"K4\": -77977080.83588928,\n    \"K5\": -47522019.41539473,\n    \"K6\": 93316753.27175727,\n    \"K7\": 94091462.10675386,\n    \"K8\": 42147080.01023099,\n    \"K9\": -27120036.000980943,\n    \"K10\": 3139036.4073375016,\n    \"K11\": 74727534.62230012,\n    \"K12\": -73090419.95923331,\n    \"K13\": -85540072.87872797,\n    \"K14\": 8788261.774200782\n  },\n  \"R16\": {\n    \"K1\": 95844914.32977328,\n    \"K2\": 47519667.90724692,\n    \"K3\": 7728179.655423954,\n    \"K4\": -8365360.586450025,\n    \"K5\": 10599964.662404597,\n    \"K6\": -21309629.48953536,\n    \"K7\": 2050946.0627980828,\n    \"K8\": -85178499.05269709,\n    \"K9\": -46504773.23531632,\n    \"K10\": 98167003.51412368,\n    \"K11\": -60548282.585043676,\n    \"K12\": -74085171.35319452,\n    \"K13\": -58064063.25406552,\n    \"K14\": 42650385.29950726\n  },\n  \"R17\": {\n    \"K1\": 65775098.75594056,\n    \"K2\": 30696291.135660708,\n    \"K3\": -72830309.28755236,\n    \"K4\": -96577791.29292314,\n    \"K5\": 94802979.22747439,\n    \"K6\": -65211786.726446785,\n    \"K7\": -28678720.192400277,\n    \"K8\": 4629496.269421324,\n    \"K9\": 44472928.43451443,\n    \"K10\": -37639559.097108364,\n    \"K11\": -64463239.43126169,\n    \"K12\": 43341913.32631683,\n    \"K13\": 34870544.35076398,\n    \"K14\": 91513218.17405257\n  },\n  \"R18\": {\n    \"K1\": 34623946.292095006,\n    \"K2\": -77341977.41821456,\n    \"K3\": 88187647.13118777,\n    \"K4\": 82828077.92357829,\n    \"K5\": -89835481.16541749,\n    \"K6\": -61223499.628719755,\n    \"K7\": 12645700.801432997,\n    \"K8\": 2158960.846409783,\n    \"K9\": 79932087.35901889,\n    \"K10\": 18599091.86527142,\n    \"K11\": 47695563.875030875,\n    \"K12\": -33424832.508073978,\n    \"K13\": -99519925.48258577,\n    \"K14\": 58261675.10968125\n  },\n  \"R19\": {\n    \"K1\": -55629509.78202768,\n    \"K2\": 94647221.01314664,\n    \"K3\": -76028826.04196641,\n    \"K4\": 65404013.02994433,\n    \"K5\": -49660536.89266783,\n    \"K6\": 25273326.973483324,\n    \"K7\": 35955896.1050781,\n    \"K8\": 11466690.643244743,\n    \"K9\": -43277983.55096233,\n    \"K10\": -67342785.60243192,\n    \"K11\": 93988871.59945258,\n    \"K12\": 93940750.65659192,\n    \"K13\": -51361665.98857517,\n    \"K14\": 78941139.35570145\n  },\n  \"R21\": {\n    \"K1\": 27395240.943158686,\n    \"K2\": 70606060.86312711,\n    \"K3\": -22131413.5372535,\n    \"K4\": 85377691.96456128,\n    \"K5\": -69741292.71116145,\n    \"K6\": -85059526.54666911,\n    \"K7\": -24655423.400929302,\n    \"K8\": 89254563.010488,\n    \"K9\": 49150023.06885788,\n    \"K10\": 23179391.624741584,\n    \"K11\": 87865688.05695194,\n    \"K12\": -2847786.0169280767,\n    \"K13\": 91130827.18421376,\n    \"K14\": 82068324.82837763\n  },\n  \"R22\": {\n    \"K1\": -37953848.45602423,\n    \"K2\": 65314700.50226021,\n    \"K3\": 60856344.52899012,\n    \"K4\": 66185966.26782459,\n    \"K5\": -5512935.085172147,\n    \"K6\": -99053516.1854766,\n    \"K7\": 85592692.61948216,\n    \"K8\": 73920831.61064419,\n    \"K9\": 23010426.12183605,\n    \"K10\": -31701684.100666896,\n    \"K11\": 3047137.5906404555,\n    \"K12\": -49302373.42979588,\n    \"K13\": -25042474.251780033,\n    \"K14\": -66006049.109234735\n  },\n  \"R23\": {\n    \"K1\": -5767009.382611036,\n    \"K2\": 95566182.27854589,\n    \"K3\": 68731931.89284873,\n    \"K4\": 41152961.15799323,\n    \"K5\": -37691179.97197951,\n    \"K6\": 37248019.4871507,\n    \"K7\": -61783671.811570786,\n    \"K8\": -65113835.56219079,\n    \"K9\": 86137486.54255477,\n    \"K10\": -97604917.38001269,\n    \"K11\": 73425712.33905008,\n    \"K12\": -59061705.795734555,\n    \"K13\": -56881001.57020637,\n    \"K14\": -47466125.92793769\n  },\n  \"R24\": {\n    \"K1\": -64186291.216494285,\n    \"K2\": -83305227.20933442,\n    \"K3\": 53503641.04226798,\n    \"K4\": -50656608.48282012,\n    \"K5\": -25874959.899284855,\n    \"K6\": -62644722.089890294,\n    \"K7\": 63134394.523483545,\n    \"K8\": -59453634.06175947,\n    \"K9\": -31060326.300383955,\n    \"K10\": -31153766.347998247,\n    \"K11\": 89533822.61051491,\n    \"K12\": -19243642.19083658,\n    \"K13\": 94005029.76220295,\n    \"K14\": 44516845.5056757\n  },\n  \"R25\": {\n    \"K1\": 92770381.90924597,\n    \"K2\": 11570001.736082822,\n    \"K3\": -32699195.284047946,\n    \"K4\": 47183646.989736915,\n    \"K5\": -22710307.495794117,\n    \"K6\": 75059937.70602837,\n    \"K7\": -43894333.32359518,\n    \"K8\": -46158982.57446141,\n    \"K9\": -39621091.302581176,\n    \"K10\": 66142672.7465778,\n    \"K11\": -94763845.84140103,\n    \"K12\": -19601754.819558352,\n    \"K13\": -68273088.57244864,\n    \"K14\": -70021039.05606587\n  },\n  \"R26\": {\n    \"K1\": 5479023.058112815,\n    \"K2\": -16144148.649422526,\n    \"K3\": 92356278.51082578,\n    \"K4\": 71937687.4844769,\n    \"K5\": -58735251.07325035,\n    \"K6\": -78062747.68285051,\n    \"K7\": -42538350.474337295,\n    \"K8\": 81963948.51947674,\n    \"K9\": 50115787.22611162,\n    \"K10\": -21279103.95818749,\n    \"K11\": 91906699.16348094,\n    \"K12\": 8173628.878673881,\n    \"K13\": 19599053.827129513,\n    \"K14\": -20409830.631593227\n  },\n  \"R28\": {\n    \"K1\": 27802824.4817369,\n    \"K2\": 57483621.117706686,\n    \"K3\": -94055614.35754932,\n    \"K4\": 31278615.521112666,\n    \"K5\": -57256663.77426109,\n    \"K6\": -86284230.47141798,\n    \"K7\": -77966924.13428846,\n    \"K8\": 29059518.567262903,\n    \"K9\": -626417.887666136,\n    \"K10\": 16127939.34188512,\n    \"K11\": -92741977.60641591,\n    \"K12\": -37449230.602469005,\n    \"K13\": 23743115.89019072,\n    \"K14\": 25348097.465739846\n  },\n  \"R29\": {\n    \"K1\": -26805933.001731753,\n    \"K2\": 68614109.15667254,\n    \"K3\": 39318710.516957104,\n    \"K4\": 65114293.695658386,\n    \"K5\": 3361705.3758636266,\n    \"K6\": -24250737.994428203,\n    \"K7\": -24482391.725730762,\n    \"K8\": 69213131.07645726,\n    \"K9\": 98994516.66830412,\n    \"K10\": 16318538.220121413,\n    \"K11\": -39487739.918237664,\n    \"K12\": 23647693.49156104,\n    \"K13\": -42685984.04562951,\n    \"K14\": 41164769.500938356\n  },\n  \"R30\": {\n    \"K1\": -63256798.03913951,\n    \"K2\": 43227214.69477776,\n    \"K3\": 79578351.32033616,\n    \"K4\": 98818949.30158022,\n    \"K5\": 27555041.199536085,\n    \"K6\": 88347565.3809239,\n    \"K7\": 5235623.800466314,\n    \"K8\": 24721617.44543673,\n    \"K9\": 7060462.209249213,\n    \"K10\": 17991236.655961007,\n    \"K11\": -69646182.24027772,\n    \"K12\": 36158026.4288972,\n    \"K13\": -79383721.70767868,\n    \"K14\": 81028976.94582391\n  },\n  \"R32\": {\n    \"K1\": 31205521.080257088,\n    \"K2\": -12791422.659774244,\n    \"K3\": 65063299.81043598,\n    \"K4\": 96432860.03663039,\n    \"K5\": 24261563.373552784,\n    \"K6\": 38756825.458310574,\n    \"K7\": -51854073.51408102,\n    \"K8\": 7952914.523519799,\n    \"K9\": 64386293.989827216,\n    \"K10\": 91928227.3491365,\n    \"K11\": 50376752.217782915,\n    \"K12\": 88220172.05391788,\n    \"K13\": 56179167.76171127,\n    \"K14\": 13114951.633577794\n  },\n  \"R33\": {\n    \"K1\": 6142398.668532684,\n    \"K2\": 74213263.48210445,\n    \"K3\": 10291611.262824312,\n    \"K4\": -469834.8591835201,\n    \"K5\": 21967230.55064194,\n    \"K6\": 24678138.21367471,\n    \"K7\": -6414155.855680585,\n    \"K8\": 51617515.31377107,\n    \"K9\": 8284031.226150021,\n    \"K10\": 37384115.87626752,\n    \"K11\": -42756302.25619489,\n    \"K12\": -30493572.636986554,\n    \"K13\": -78399037.82294405,\n    \"K14\": -67537940.57563232\n  },\n  \"R34\": {\n    \"K1\": 64857833.56420404,\n    \"K2\": -39383123.74424857,\n    \"K3\": -57488769.57930183,\n    \"K4\": -97456218.11787331,\n    \"K5\": 4888285.57401742,\n    \"K6\": 47317022.039203346,\n    \"K7\": -34053874.08307234,\n    \"K8\": -99488372.68254448,\n    \"K9\": 5470736.222669229,\n    \"K10\": -28197931.342249304,\n    \"K11\": -8283463.507176012,\n    \"K12\": 26302022.63644965,\n    \"K13\": 9780237.253865525,\n    \"K14\": -23319176.731722638\n  },\n  \"R35\": {\n    \"K1\": 82506019.39402068,\n    \"K2\": 631082.3158593327,\n    \"K3\": -20836808.962187365,\n    \"K4\": -2300894.134821221,\n    \"K5\": -40667652.1991391,\n    \"K6\": 63042896.616030395,\n    \"K7\": 94071690.71470508,\n    \"K8\": -25739548.96542205,\n    \"K9\": 67142903.6215783,\n    \"K10\": 45574581.499938786,\n    \"K11\": 81487317.12965742,\n    \"K12\": 15577501.990702644,\n    \"K13\": 71876456.76464695,\n    \"K14\": -56063095.661939144\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\": 368338,\n  \"UID\": \"culpa\",\n  \"NmrKods\": \"proiden\",\n  \"Precizejums\": true,\n  \"PrecizejamaisDokuments\": -7690412,\n  \"PrecizejumaPamatojums\": \"sit reprehenderit\"\n}"
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv4/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv4",
            ":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/annv4/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv4",
            ":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/annv4/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv4",
            ":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": ""
    }
  ]
}