delphiDll / EDS API / Dokuments "Naftas produktu akcīzes nodokļa deklarācija".
Back to Collection Items
var
http: HCkHttp;
success: Boolean;
sbResponseBody: HCkStringBuilder;
jResp: HCkJsonObject;
respStatusCode: Integer;
value: PWideChar;
Epasts: PWideChar;
Talrunis: PWideChar;
Gads: Integer;
Menesis: Integer;
Datums: PWideChar;
MaksTerm: PWideChar;
NmStatuss: PWideChar;
R08: PWideChar;
R09: PWideChar;
Sagatavotajs: PWideChar;
K1: PWideChar;
K2: PWideChar;
K3: PWideChar;
K4: PWideChar;
K5: PWideChar;
K6: PWideChar;
K7: PWideChar;
K8: PWideChar;
K9: PWideChar;
K10: PWideChar;
K11: PWideChar;
K12: PWideChar;
K13: PWideChar;
K14: PWideChar;
R11K1: PWideChar;
R11K2: PWideChar;
R11K3: PWideChar;
R11K4: PWideChar;
R11K5: PWideChar;
R11K6: PWideChar;
R11K7: PWideChar;
R11K8: PWideChar;
R11K9: PWideChar;
R11K10: PWideChar;
R11K11: PWideChar;
R11K12: PWideChar;
R11K13: PWideChar;
R11K14: PWideChar;
R12K1: PWideChar;
R12K2: PWideChar;
R12K3: PWideChar;
R12K4: PWideChar;
R12K5: PWideChar;
R12K6: PWideChar;
R12K7: PWideChar;
R12K8: PWideChar;
R12K9: PWideChar;
R12K10: PWideChar;
R12K11: PWideChar;
R12K12: PWideChar;
R12K13: PWideChar;
R12K14: PWideChar;
R13K1: PWideChar;
R13K2: PWideChar;
R13K3: PWideChar;
R13K4: PWideChar;
R13K5: PWideChar;
R13K6: PWideChar;
R13K7: PWideChar;
R13K8: PWideChar;
R13K9: PWideChar;
R13K10: PWideChar;
R13K11: PWideChar;
R13K12: PWideChar;
R13K13: PWideChar;
R13K14: PWideChar;
R14K1: PWideChar;
R14K2: PWideChar;
R14K3: PWideChar;
R14K4: PWideChar;
R14K5: PWideChar;
R14K6: PWideChar;
R14K7: PWideChar;
R14K8: PWideChar;
R14K9: PWideChar;
R14K10: PWideChar;
R14K11: PWideChar;
R14K12: PWideChar;
R14K13: PWideChar;
R14K14: PWideChar;
R15K1: PWideChar;
R15K2: PWideChar;
R15K3: PWideChar;
R15K4: PWideChar;
R15K5: PWideChar;
R15K6: PWideChar;
R15K7: PWideChar;
R15K8: PWideChar;
R15K9: PWideChar;
R15K10: PWideChar;
R15K11: PWideChar;
R15K12: PWideChar;
R15K13: PWideChar;
R15K14: PWideChar;
R16K1: PWideChar;
R16K2: PWideChar;
R16K3: PWideChar;
R16K4: PWideChar;
R16K5: PWideChar;
R16K6: PWideChar;
R16K7: PWideChar;
R16K8: PWideChar;
R16K9: PWideChar;
R16K10: PWideChar;
R16K11: PWideChar;
R16K12: PWideChar;
R16K13: PWideChar;
R16K14: PWideChar;
R17K1: PWideChar;
R17K2: PWideChar;
R17K3: PWideChar;
R17K4: PWideChar;
R17K5: PWideChar;
R17K6: PWideChar;
R17K7: PWideChar;
R17K8: PWideChar;
R17K9: PWideChar;
R17K10: PWideChar;
R17K11: PWideChar;
R17K12: PWideChar;
R17K13: PWideChar;
R17K14: PWideChar;
R18K1: PWideChar;
R18K2: PWideChar;
R18K3: PWideChar;
R18K4: PWideChar;
R18K5: PWideChar;
R18K6: PWideChar;
R18K7: PWideChar;
R18K8: PWideChar;
R18K9: PWideChar;
R18K10: PWideChar;
R18K11: PWideChar;
R18K12: PWideChar;
R18K13: PWideChar;
R18K14: PWideChar;
R19K1: PWideChar;
R19K2: PWideChar;
R19K3: PWideChar;
R19K4: PWideChar;
R19K5: PWideChar;
R19K6: PWideChar;
R19K7: PWideChar;
R19K8: PWideChar;
R19K9: PWideChar;
R19K10: PWideChar;
R19K11: PWideChar;
R19K12: PWideChar;
R19K13: PWideChar;
R19K14: PWideChar;
R21K1: PWideChar;
R21K2: PWideChar;
R21K3: PWideChar;
R21K4: PWideChar;
R21K5: PWideChar;
R21K6: PWideChar;
R21K7: PWideChar;
R21K8: PWideChar;
R21K9: PWideChar;
R21K10: PWideChar;
R21K11: PWideChar;
R21K12: PWideChar;
R21K13: PWideChar;
R21K14: PWideChar;
R22K1: PWideChar;
R22K2: PWideChar;
R22K3: PWideChar;
R22K4: PWideChar;
R22K5: PWideChar;
R22K6: PWideChar;
R22K7: PWideChar;
R22K8: PWideChar;
R22K9: PWideChar;
R22K10: PWideChar;
R22K11: PWideChar;
R22K12: PWideChar;
R22K13: PWideChar;
R22K14: PWideChar;
R23K1: PWideChar;
R23K2: PWideChar;
R23K3: PWideChar;
R23K4: PWideChar;
R23K5: PWideChar;
R23K6: PWideChar;
R23K7: PWideChar;
R23K8: PWideChar;
R23K9: PWideChar;
R23K10: PWideChar;
R23K11: PWideChar;
R23K12: PWideChar;
R23K13: PWideChar;
R23K14: PWideChar;
R24K1: PWideChar;
R24K2: PWideChar;
R24K3: PWideChar;
R24K4: PWideChar;
R24K5: PWideChar;
R24K6: PWideChar;
R24K7: PWideChar;
R24K8: PWideChar;
R24K9: PWideChar;
R24K10: PWideChar;
R24K11: PWideChar;
R24K12: PWideChar;
R24K13: PWideChar;
R24K14: PWideChar;
R25K1: PWideChar;
R25K2: PWideChar;
R25K3: PWideChar;
R25K4: PWideChar;
R25K5: PWideChar;
R25K6: PWideChar;
R25K7: PWideChar;
R25K8: PWideChar;
R25K9: PWideChar;
R25K10: PWideChar;
R25K11: PWideChar;
R25K12: PWideChar;
R25K13: PWideChar;
R25K14: PWideChar;
R26K1: PWideChar;
R26K2: PWideChar;
R26K3: PWideChar;
R26K4: PWideChar;
R26K5: PWideChar;
R26K6: PWideChar;
R26K7: PWideChar;
R26K8: PWideChar;
R26K9: PWideChar;
R26K10: PWideChar;
R26K11: PWideChar;
R26K12: PWideChar;
R26K13: PWideChar;
R26K14: PWideChar;
R28K1: PWideChar;
R28K2: PWideChar;
R28K3: PWideChar;
R28K4: PWideChar;
R28K5: PWideChar;
R28K6: PWideChar;
R28K7: PWideChar;
R28K8: PWideChar;
R28K9: PWideChar;
R28K10: PWideChar;
R28K11: PWideChar;
R28K12: PWideChar;
R28K13: PWideChar;
R28K14: PWideChar;
R29K1: PWideChar;
R29K2: PWideChar;
R29K3: PWideChar;
R29K4: PWideChar;
R29K5: PWideChar;
R29K6: PWideChar;
R29K7: PWideChar;
R29K8: PWideChar;
R29K9: PWideChar;
R29K10: PWideChar;
R29K11: PWideChar;
R29K12: PWideChar;
R29K13: PWideChar;
R29K14: PWideChar;
R30K1: PWideChar;
R30K2: PWideChar;
R30K3: PWideChar;
R30K4: PWideChar;
R30K5: PWideChar;
R30K6: PWideChar;
R30K7: PWideChar;
R30K8: PWideChar;
R30K9: PWideChar;
R30K10: PWideChar;
R30K11: PWideChar;
R30K12: PWideChar;
R30K13: PWideChar;
R30K14: PWideChar;
R32K1: PWideChar;
R32K2: PWideChar;
R32K3: PWideChar;
R32K4: PWideChar;
R32K5: PWideChar;
R32K6: PWideChar;
R32K7: PWideChar;
R32K8: PWideChar;
R32K9: PWideChar;
R32K10: PWideChar;
R32K11: PWideChar;
R32K12: PWideChar;
R32K13: PWideChar;
R32K14: PWideChar;
R33K1: PWideChar;
R33K2: PWideChar;
R33K3: PWideChar;
R33K4: PWideChar;
R33K5: PWideChar;
R33K6: PWideChar;
R33K7: PWideChar;
R33K8: PWideChar;
R33K9: PWideChar;
R33K10: PWideChar;
R33K11: PWideChar;
R33K12: PWideChar;
R33K13: PWideChar;
R33K14: PWideChar;
R34K1: PWideChar;
R34K2: PWideChar;
R34K3: PWideChar;
R34K4: PWideChar;
R34K5: PWideChar;
R34K6: PWideChar;
R34K7: PWideChar;
R34K8: PWideChar;
R34K9: PWideChar;
R34K10: PWideChar;
R34K11: PWideChar;
R34K12: PWideChar;
R34K13: PWideChar;
R34K14: PWideChar;
R35K1: PWideChar;
R35K2: PWideChar;
R35K3: PWideChar;
R35K4: PWideChar;
R35K5: PWideChar;
R35K6: PWideChar;
R35K7: PWideChar;
R35K8: PWideChar;
R35K9: PWideChar;
R35K10: PWideChar;
R35K11: PWideChar;
R35K12: PWideChar;
R35K13: PWideChar;
R35K14: PWideChar;
Value: PWideChar;
KomentarsValue: PWideChar;
FailsValue: PWideChar;
Id: Integer;
UID: PWideChar;
NmrKods: PWideChar;
Precizejums: Boolean;
PrecizejamaisDokuments: Integer;
PrecizejumaPamatojums: PWideChar;
i: Integer;
count_i: Integer;
begin
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http := CkHttp_Create();
CkHttp_SetRequestHeader(http,'Accept','application/json');
sbResponseBody := CkStringBuilder_Create();
success := CkHttp_QuickGetSb(http,'https://eds.vid.gov.lv/api/doc/annv3/:id',sbResponseBody);
if (success = False) then
begin
Memo1.Lines.Add(CkHttp__lastErrorText(http));
Exit;
end;
jResp := CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,sbResponseBody);
CkJsonObject_putEmitCompact(jResp,False);
Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(CkJsonObject__emit(jResp));
respStatusCode := CkHttp_getLastStatus(http);
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
begin
Memo1.Lines.Add('Response Header:');
Memo1.Lines.Add(CkHttp__lastHeader(http));
Memo1.Lines.Add('Failed.');
Exit;
end;
// 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
Epasts := CkJsonObject__stringOf(jResp,'Epasts');
Talrunis := CkJsonObject__stringOf(jResp,'Talrunis');
Gads := CkJsonObject_IntOf(jResp,'Gads');
Menesis := CkJsonObject_IntOf(jResp,'Menesis');
Datums := CkJsonObject__stringOf(jResp,'Datums');
MaksTerm := CkJsonObject__stringOf(jResp,'MaksTerm');
NmStatuss := CkJsonObject__stringOf(jResp,'NmStatuss');
R08 := CkJsonObject__stringOf(jResp,'R08');
R09 := CkJsonObject__stringOf(jResp,'R09');
Sagatavotajs := CkJsonObject__stringOf(jResp,'Sagatavotajs');
K1 := CkJsonObject__stringOf(jResp,'R10.K1');
K2 := CkJsonObject__stringOf(jResp,'R10.K2');
K3 := CkJsonObject__stringOf(jResp,'R10.K3');
K4 := CkJsonObject__stringOf(jResp,'R10.K4');
K5 := CkJsonObject__stringOf(jResp,'R10.K5');
K6 := CkJsonObject__stringOf(jResp,'R10.K6');
K7 := CkJsonObject__stringOf(jResp,'R10.K7');
K8 := CkJsonObject__stringOf(jResp,'R10.K8');
K9 := CkJsonObject__stringOf(jResp,'R10.K9');
K10 := CkJsonObject__stringOf(jResp,'R10.K10');
K11 := CkJsonObject__stringOf(jResp,'R10.K11');
K12 := CkJsonObject__stringOf(jResp,'R10.K12');
K13 := CkJsonObject__stringOf(jResp,'R10.K13');
K14 := CkJsonObject__stringOf(jResp,'R10.K14');
R11K1 := CkJsonObject__stringOf(jResp,'R11.K1');
R11K2 := CkJsonObject__stringOf(jResp,'R11.K2');
R11K3 := CkJsonObject__stringOf(jResp,'R11.K3');
R11K4 := CkJsonObject__stringOf(jResp,'R11.K4');
R11K5 := CkJsonObject__stringOf(jResp,'R11.K5');
R11K6 := CkJsonObject__stringOf(jResp,'R11.K6');
R11K7 := CkJsonObject__stringOf(jResp,'R11.K7');
R11K8 := CkJsonObject__stringOf(jResp,'R11.K8');
R11K9 := CkJsonObject__stringOf(jResp,'R11.K9');
R11K10 := CkJsonObject__stringOf(jResp,'R11.K10');
R11K11 := CkJsonObject__stringOf(jResp,'R11.K11');
R11K12 := CkJsonObject__stringOf(jResp,'R11.K12');
R11K13 := CkJsonObject__stringOf(jResp,'R11.K13');
R11K14 := CkJsonObject__stringOf(jResp,'R11.K14');
R12K1 := CkJsonObject__stringOf(jResp,'R12.K1');
R12K2 := CkJsonObject__stringOf(jResp,'R12.K2');
R12K3 := CkJsonObject__stringOf(jResp,'R12.K3');
R12K4 := CkJsonObject__stringOf(jResp,'R12.K4');
R12K5 := CkJsonObject__stringOf(jResp,'R12.K5');
R12K6 := CkJsonObject__stringOf(jResp,'R12.K6');
R12K7 := CkJsonObject__stringOf(jResp,'R12.K7');
R12K8 := CkJsonObject__stringOf(jResp,'R12.K8');
R12K9 := CkJsonObject__stringOf(jResp,'R12.K9');
R12K10 := CkJsonObject__stringOf(jResp,'R12.K10');
R12K11 := CkJsonObject__stringOf(jResp,'R12.K11');
R12K12 := CkJsonObject__stringOf(jResp,'R12.K12');
R12K13 := CkJsonObject__stringOf(jResp,'R12.K13');
R12K14 := CkJsonObject__stringOf(jResp,'R12.K14');
R13K1 := CkJsonObject__stringOf(jResp,'R13.K1');
R13K2 := CkJsonObject__stringOf(jResp,'R13.K2');
R13K3 := CkJsonObject__stringOf(jResp,'R13.K3');
R13K4 := CkJsonObject__stringOf(jResp,'R13.K4');
R13K5 := CkJsonObject__stringOf(jResp,'R13.K5');
R13K6 := CkJsonObject__stringOf(jResp,'R13.K6');
R13K7 := CkJsonObject__stringOf(jResp,'R13.K7');
R13K8 := CkJsonObject__stringOf(jResp,'R13.K8');
R13K9 := CkJsonObject__stringOf(jResp,'R13.K9');
R13K10 := CkJsonObject__stringOf(jResp,'R13.K10');
R13K11 := CkJsonObject__stringOf(jResp,'R13.K11');
R13K12 := CkJsonObject__stringOf(jResp,'R13.K12');
R13K13 := CkJsonObject__stringOf(jResp,'R13.K13');
R13K14 := CkJsonObject__stringOf(jResp,'R13.K14');
R14K1 := CkJsonObject__stringOf(jResp,'R14.K1');
R14K2 := CkJsonObject__stringOf(jResp,'R14.K2');
R14K3 := CkJsonObject__stringOf(jResp,'R14.K3');
R14K4 := CkJsonObject__stringOf(jResp,'R14.K4');
R14K5 := CkJsonObject__stringOf(jResp,'R14.K5');
R14K6 := CkJsonObject__stringOf(jResp,'R14.K6');
R14K7 := CkJsonObject__stringOf(jResp,'R14.K7');
R14K8 := CkJsonObject__stringOf(jResp,'R14.K8');
R14K9 := CkJsonObject__stringOf(jResp,'R14.K9');
R14K10 := CkJsonObject__stringOf(jResp,'R14.K10');
R14K11 := CkJsonObject__stringOf(jResp,'R14.K11');
R14K12 := CkJsonObject__stringOf(jResp,'R14.K12');
R14K13 := CkJsonObject__stringOf(jResp,'R14.K13');
R14K14 := CkJsonObject__stringOf(jResp,'R14.K14');
R15K1 := CkJsonObject__stringOf(jResp,'R15.K1');
R15K2 := CkJsonObject__stringOf(jResp,'R15.K2');
R15K3 := CkJsonObject__stringOf(jResp,'R15.K3');
R15K4 := CkJsonObject__stringOf(jResp,'R15.K4');
R15K5 := CkJsonObject__stringOf(jResp,'R15.K5');
R15K6 := CkJsonObject__stringOf(jResp,'R15.K6');
R15K7 := CkJsonObject__stringOf(jResp,'R15.K7');
R15K8 := CkJsonObject__stringOf(jResp,'R15.K8');
R15K9 := CkJsonObject__stringOf(jResp,'R15.K9');
R15K10 := CkJsonObject__stringOf(jResp,'R15.K10');
R15K11 := CkJsonObject__stringOf(jResp,'R15.K11');
R15K12 := CkJsonObject__stringOf(jResp,'R15.K12');
R15K13 := CkJsonObject__stringOf(jResp,'R15.K13');
R15K14 := CkJsonObject__stringOf(jResp,'R15.K14');
R16K1 := CkJsonObject__stringOf(jResp,'R16.K1');
R16K2 := CkJsonObject__stringOf(jResp,'R16.K2');
R16K3 := CkJsonObject__stringOf(jResp,'R16.K3');
R16K4 := CkJsonObject__stringOf(jResp,'R16.K4');
R16K5 := CkJsonObject__stringOf(jResp,'R16.K5');
R16K6 := CkJsonObject__stringOf(jResp,'R16.K6');
R16K7 := CkJsonObject__stringOf(jResp,'R16.K7');
R16K8 := CkJsonObject__stringOf(jResp,'R16.K8');
R16K9 := CkJsonObject__stringOf(jResp,'R16.K9');
R16K10 := CkJsonObject__stringOf(jResp,'R16.K10');
R16K11 := CkJsonObject__stringOf(jResp,'R16.K11');
R16K12 := CkJsonObject__stringOf(jResp,'R16.K12');
R16K13 := CkJsonObject__stringOf(jResp,'R16.K13');
R16K14 := CkJsonObject__stringOf(jResp,'R16.K14');
R17K1 := CkJsonObject__stringOf(jResp,'R17.K1');
R17K2 := CkJsonObject__stringOf(jResp,'R17.K2');
R17K3 := CkJsonObject__stringOf(jResp,'R17.K3');
R17K4 := CkJsonObject__stringOf(jResp,'R17.K4');
R17K5 := CkJsonObject__stringOf(jResp,'R17.K5');
R17K6 := CkJsonObject__stringOf(jResp,'R17.K6');
R17K7 := CkJsonObject__stringOf(jResp,'R17.K7');
R17K8 := CkJsonObject__stringOf(jResp,'R17.K8');
R17K9 := CkJsonObject__stringOf(jResp,'R17.K9');
R17K10 := CkJsonObject__stringOf(jResp,'R17.K10');
R17K11 := CkJsonObject__stringOf(jResp,'R17.K11');
R17K12 := CkJsonObject__stringOf(jResp,'R17.K12');
R17K13 := CkJsonObject__stringOf(jResp,'R17.K13');
R17K14 := CkJsonObject__stringOf(jResp,'R17.K14');
R18K1 := CkJsonObject__stringOf(jResp,'R18.K1');
R18K2 := CkJsonObject__stringOf(jResp,'R18.K2');
R18K3 := CkJsonObject__stringOf(jResp,'R18.K3');
R18K4 := CkJsonObject__stringOf(jResp,'R18.K4');
R18K5 := CkJsonObject__stringOf(jResp,'R18.K5');
R18K6 := CkJsonObject__stringOf(jResp,'R18.K6');
R18K7 := CkJsonObject__stringOf(jResp,'R18.K7');
R18K8 := CkJsonObject__stringOf(jResp,'R18.K8');
R18K9 := CkJsonObject__stringOf(jResp,'R18.K9');
R18K10 := CkJsonObject__stringOf(jResp,'R18.K10');
R18K11 := CkJsonObject__stringOf(jResp,'R18.K11');
R18K12 := CkJsonObject__stringOf(jResp,'R18.K12');
R18K13 := CkJsonObject__stringOf(jResp,'R18.K13');
R18K14 := CkJsonObject__stringOf(jResp,'R18.K14');
R19K1 := CkJsonObject__stringOf(jResp,'R19.K1');
R19K2 := CkJsonObject__stringOf(jResp,'R19.K2');
R19K3 := CkJsonObject__stringOf(jResp,'R19.K3');
R19K4 := CkJsonObject__stringOf(jResp,'R19.K4');
R19K5 := CkJsonObject__stringOf(jResp,'R19.K5');
R19K6 := CkJsonObject__stringOf(jResp,'R19.K6');
R19K7 := CkJsonObject__stringOf(jResp,'R19.K7');
R19K8 := CkJsonObject__stringOf(jResp,'R19.K8');
R19K9 := CkJsonObject__stringOf(jResp,'R19.K9');
R19K10 := CkJsonObject__stringOf(jResp,'R19.K10');
R19K11 := CkJsonObject__stringOf(jResp,'R19.K11');
R19K12 := CkJsonObject__stringOf(jResp,'R19.K12');
R19K13 := CkJsonObject__stringOf(jResp,'R19.K13');
R19K14 := CkJsonObject__stringOf(jResp,'R19.K14');
R21K1 := CkJsonObject__stringOf(jResp,'R21.K1');
R21K2 := CkJsonObject__stringOf(jResp,'R21.K2');
R21K3 := CkJsonObject__stringOf(jResp,'R21.K3');
R21K4 := CkJsonObject__stringOf(jResp,'R21.K4');
R21K5 := CkJsonObject__stringOf(jResp,'R21.K5');
R21K6 := CkJsonObject__stringOf(jResp,'R21.K6');
R21K7 := CkJsonObject__stringOf(jResp,'R21.K7');
R21K8 := CkJsonObject__stringOf(jResp,'R21.K8');
R21K9 := CkJsonObject__stringOf(jResp,'R21.K9');
R21K10 := CkJsonObject__stringOf(jResp,'R21.K10');
R21K11 := CkJsonObject__stringOf(jResp,'R21.K11');
R21K12 := CkJsonObject__stringOf(jResp,'R21.K12');
R21K13 := CkJsonObject__stringOf(jResp,'R21.K13');
R21K14 := CkJsonObject__stringOf(jResp,'R21.K14');
R22K1 := CkJsonObject__stringOf(jResp,'R22.K1');
R22K2 := CkJsonObject__stringOf(jResp,'R22.K2');
R22K3 := CkJsonObject__stringOf(jResp,'R22.K3');
R22K4 := CkJsonObject__stringOf(jResp,'R22.K4');
R22K5 := CkJsonObject__stringOf(jResp,'R22.K5');
R22K6 := CkJsonObject__stringOf(jResp,'R22.K6');
R22K7 := CkJsonObject__stringOf(jResp,'R22.K7');
R22K8 := CkJsonObject__stringOf(jResp,'R22.K8');
R22K9 := CkJsonObject__stringOf(jResp,'R22.K9');
R22K10 := CkJsonObject__stringOf(jResp,'R22.K10');
R22K11 := CkJsonObject__stringOf(jResp,'R22.K11');
R22K12 := CkJsonObject__stringOf(jResp,'R22.K12');
R22K13 := CkJsonObject__stringOf(jResp,'R22.K13');
R22K14 := CkJsonObject__stringOf(jResp,'R22.K14');
R23K1 := CkJsonObject__stringOf(jResp,'R23.K1');
R23K2 := CkJsonObject__stringOf(jResp,'R23.K2');
R23K3 := CkJsonObject__stringOf(jResp,'R23.K3');
R23K4 := CkJsonObject__stringOf(jResp,'R23.K4');
R23K5 := CkJsonObject__stringOf(jResp,'R23.K5');
R23K6 := CkJsonObject__stringOf(jResp,'R23.K6');
R23K7 := CkJsonObject__stringOf(jResp,'R23.K7');
R23K8 := CkJsonObject__stringOf(jResp,'R23.K8');
R23K9 := CkJsonObject__stringOf(jResp,'R23.K9');
R23K10 := CkJsonObject__stringOf(jResp,'R23.K10');
R23K11 := CkJsonObject__stringOf(jResp,'R23.K11');
R23K12 := CkJsonObject__stringOf(jResp,'R23.K12');
R23K13 := CkJsonObject__stringOf(jResp,'R23.K13');
R23K14 := CkJsonObject__stringOf(jResp,'R23.K14');
R24K1 := CkJsonObject__stringOf(jResp,'R24.K1');
R24K2 := CkJsonObject__stringOf(jResp,'R24.K2');
R24K3 := CkJsonObject__stringOf(jResp,'R24.K3');
R24K4 := CkJsonObject__stringOf(jResp,'R24.K4');
R24K5 := CkJsonObject__stringOf(jResp,'R24.K5');
R24K6 := CkJsonObject__stringOf(jResp,'R24.K6');
R24K7 := CkJsonObject__stringOf(jResp,'R24.K7');
R24K8 := CkJsonObject__stringOf(jResp,'R24.K8');
R24K9 := CkJsonObject__stringOf(jResp,'R24.K9');
R24K10 := CkJsonObject__stringOf(jResp,'R24.K10');
R24K11 := CkJsonObject__stringOf(jResp,'R24.K11');
R24K12 := CkJsonObject__stringOf(jResp,'R24.K12');
R24K13 := CkJsonObject__stringOf(jResp,'R24.K13');
R24K14 := CkJsonObject__stringOf(jResp,'R24.K14');
R25K1 := CkJsonObject__stringOf(jResp,'R25.K1');
R25K2 := CkJsonObject__stringOf(jResp,'R25.K2');
R25K3 := CkJsonObject__stringOf(jResp,'R25.K3');
R25K4 := CkJsonObject__stringOf(jResp,'R25.K4');
R25K5 := CkJsonObject__stringOf(jResp,'R25.K5');
R25K6 := CkJsonObject__stringOf(jResp,'R25.K6');
R25K7 := CkJsonObject__stringOf(jResp,'R25.K7');
R25K8 := CkJsonObject__stringOf(jResp,'R25.K8');
R25K9 := CkJsonObject__stringOf(jResp,'R25.K9');
R25K10 := CkJsonObject__stringOf(jResp,'R25.K10');
R25K11 := CkJsonObject__stringOf(jResp,'R25.K11');
R25K12 := CkJsonObject__stringOf(jResp,'R25.K12');
R25K13 := CkJsonObject__stringOf(jResp,'R25.K13');
R25K14 := CkJsonObject__stringOf(jResp,'R25.K14');
R26K1 := CkJsonObject__stringOf(jResp,'R26.K1');
R26K2 := CkJsonObject__stringOf(jResp,'R26.K2');
R26K3 := CkJsonObject__stringOf(jResp,'R26.K3');
R26K4 := CkJsonObject__stringOf(jResp,'R26.K4');
R26K5 := CkJsonObject__stringOf(jResp,'R26.K5');
R26K6 := CkJsonObject__stringOf(jResp,'R26.K6');
R26K7 := CkJsonObject__stringOf(jResp,'R26.K7');
R26K8 := CkJsonObject__stringOf(jResp,'R26.K8');
R26K9 := CkJsonObject__stringOf(jResp,'R26.K9');
R26K10 := CkJsonObject__stringOf(jResp,'R26.K10');
R26K11 := CkJsonObject__stringOf(jResp,'R26.K11');
R26K12 := CkJsonObject__stringOf(jResp,'R26.K12');
R26K13 := CkJsonObject__stringOf(jResp,'R26.K13');
R26K14 := CkJsonObject__stringOf(jResp,'R26.K14');
R28K1 := CkJsonObject__stringOf(jResp,'R28.K1');
R28K2 := CkJsonObject__stringOf(jResp,'R28.K2');
R28K3 := CkJsonObject__stringOf(jResp,'R28.K3');
R28K4 := CkJsonObject__stringOf(jResp,'R28.K4');
R28K5 := CkJsonObject__stringOf(jResp,'R28.K5');
R28K6 := CkJsonObject__stringOf(jResp,'R28.K6');
R28K7 := CkJsonObject__stringOf(jResp,'R28.K7');
R28K8 := CkJsonObject__stringOf(jResp,'R28.K8');
R28K9 := CkJsonObject__stringOf(jResp,'R28.K9');
R28K10 := CkJsonObject__stringOf(jResp,'R28.K10');
R28K11 := CkJsonObject__stringOf(jResp,'R28.K11');
R28K12 := CkJsonObject__stringOf(jResp,'R28.K12');
R28K13 := CkJsonObject__stringOf(jResp,'R28.K13');
R28K14 := CkJsonObject__stringOf(jResp,'R28.K14');
R29K1 := CkJsonObject__stringOf(jResp,'R29.K1');
R29K2 := CkJsonObject__stringOf(jResp,'R29.K2');
R29K3 := CkJsonObject__stringOf(jResp,'R29.K3');
R29K4 := CkJsonObject__stringOf(jResp,'R29.K4');
R29K5 := CkJsonObject__stringOf(jResp,'R29.K5');
R29K6 := CkJsonObject__stringOf(jResp,'R29.K6');
R29K7 := CkJsonObject__stringOf(jResp,'R29.K7');
R29K8 := CkJsonObject__stringOf(jResp,'R29.K8');
R29K9 := CkJsonObject__stringOf(jResp,'R29.K9');
R29K10 := CkJsonObject__stringOf(jResp,'R29.K10');
R29K11 := CkJsonObject__stringOf(jResp,'R29.K11');
R29K12 := CkJsonObject__stringOf(jResp,'R29.K12');
R29K13 := CkJsonObject__stringOf(jResp,'R29.K13');
R29K14 := CkJsonObject__stringOf(jResp,'R29.K14');
R30K1 := CkJsonObject__stringOf(jResp,'R30.K1');
R30K2 := CkJsonObject__stringOf(jResp,'R30.K2');
R30K3 := CkJsonObject__stringOf(jResp,'R30.K3');
R30K4 := CkJsonObject__stringOf(jResp,'R30.K4');
R30K5 := CkJsonObject__stringOf(jResp,'R30.K5');
R30K6 := CkJsonObject__stringOf(jResp,'R30.K6');
R30K7 := CkJsonObject__stringOf(jResp,'R30.K7');
R30K8 := CkJsonObject__stringOf(jResp,'R30.K8');
R30K9 := CkJsonObject__stringOf(jResp,'R30.K9');
R30K10 := CkJsonObject__stringOf(jResp,'R30.K10');
R30K11 := CkJsonObject__stringOf(jResp,'R30.K11');
R30K12 := CkJsonObject__stringOf(jResp,'R30.K12');
R30K13 := CkJsonObject__stringOf(jResp,'R30.K13');
R30K14 := CkJsonObject__stringOf(jResp,'R30.K14');
R32K1 := CkJsonObject__stringOf(jResp,'R32.K1');
R32K2 := CkJsonObject__stringOf(jResp,'R32.K2');
R32K3 := CkJsonObject__stringOf(jResp,'R32.K3');
R32K4 := CkJsonObject__stringOf(jResp,'R32.K4');
R32K5 := CkJsonObject__stringOf(jResp,'R32.K5');
R32K6 := CkJsonObject__stringOf(jResp,'R32.K6');
R32K7 := CkJsonObject__stringOf(jResp,'R32.K7');
R32K8 := CkJsonObject__stringOf(jResp,'R32.K8');
R32K9 := CkJsonObject__stringOf(jResp,'R32.K9');
R32K10 := CkJsonObject__stringOf(jResp,'R32.K10');
R32K11 := CkJsonObject__stringOf(jResp,'R32.K11');
R32K12 := CkJsonObject__stringOf(jResp,'R32.K12');
R32K13 := CkJsonObject__stringOf(jResp,'R32.K13');
R32K14 := CkJsonObject__stringOf(jResp,'R32.K14');
R33K1 := CkJsonObject__stringOf(jResp,'R33.K1');
R33K2 := CkJsonObject__stringOf(jResp,'R33.K2');
R33K3 := CkJsonObject__stringOf(jResp,'R33.K3');
R33K4 := CkJsonObject__stringOf(jResp,'R33.K4');
R33K5 := CkJsonObject__stringOf(jResp,'R33.K5');
R33K6 := CkJsonObject__stringOf(jResp,'R33.K6');
R33K7 := CkJsonObject__stringOf(jResp,'R33.K7');
R33K8 := CkJsonObject__stringOf(jResp,'R33.K8');
R33K9 := CkJsonObject__stringOf(jResp,'R33.K9');
R33K10 := CkJsonObject__stringOf(jResp,'R33.K10');
R33K11 := CkJsonObject__stringOf(jResp,'R33.K11');
R33K12 := CkJsonObject__stringOf(jResp,'R33.K12');
R33K13 := CkJsonObject__stringOf(jResp,'R33.K13');
R33K14 := CkJsonObject__stringOf(jResp,'R33.K14');
R34K1 := CkJsonObject__stringOf(jResp,'R34.K1');
R34K2 := CkJsonObject__stringOf(jResp,'R34.K2');
R34K3 := CkJsonObject__stringOf(jResp,'R34.K3');
R34K4 := CkJsonObject__stringOf(jResp,'R34.K4');
R34K5 := CkJsonObject__stringOf(jResp,'R34.K5');
R34K6 := CkJsonObject__stringOf(jResp,'R34.K6');
R34K7 := CkJsonObject__stringOf(jResp,'R34.K7');
R34K8 := CkJsonObject__stringOf(jResp,'R34.K8');
R34K9 := CkJsonObject__stringOf(jResp,'R34.K9');
R34K10 := CkJsonObject__stringOf(jResp,'R34.K10');
R34K11 := CkJsonObject__stringOf(jResp,'R34.K11');
R34K12 := CkJsonObject__stringOf(jResp,'R34.K12');
R34K13 := CkJsonObject__stringOf(jResp,'R34.K13');
R34K14 := CkJsonObject__stringOf(jResp,'R34.K14');
R35K1 := CkJsonObject__stringOf(jResp,'R35.K1');
R35K2 := CkJsonObject__stringOf(jResp,'R35.K2');
R35K3 := CkJsonObject__stringOf(jResp,'R35.K3');
R35K4 := CkJsonObject__stringOf(jResp,'R35.K4');
R35K5 := CkJsonObject__stringOf(jResp,'R35.K5');
R35K6 := CkJsonObject__stringOf(jResp,'R35.K6');
R35K7 := CkJsonObject__stringOf(jResp,'R35.K7');
R35K8 := CkJsonObject__stringOf(jResp,'R35.K8');
R35K9 := CkJsonObject__stringOf(jResp,'R35.K9');
R35K10 := CkJsonObject__stringOf(jResp,'R35.K10');
R35K11 := CkJsonObject__stringOf(jResp,'R35.K11');
R35K12 := CkJsonObject__stringOf(jResp,'R35.K12');
R35K13 := CkJsonObject__stringOf(jResp,'R35.K13');
R35K14 := CkJsonObject__stringOf(jResp,'R35.K14');
Value := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai15.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai15.Komentars.value');
FailsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai16.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai16.Komentars.value');
FailsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai17.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai17.Komentars.value');
FailsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai18.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai18.Komentars.value');
FailsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai19.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai19.Komentars.value');
FailsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai33.Fails.value');
KomentarsValue := CkJsonObject__stringOf(jResp,'R37.PielikumsRindai33.Komentars.value');
Id := CkJsonObject_IntOf(jResp,'Id');
UID := CkJsonObject__stringOf(jResp,'UID');
NmrKods := CkJsonObject__stringOf(jResp,'NmrKods');
Precizejums := CkJsonObject_BoolOf(jResp,'Precizejums');
PrecizejamaisDokuments := CkJsonObject_IntOf(jResp,'PrecizejamaisDokuments');
PrecizejumaPamatojums := CkJsonObject__stringOf(jResp,'PrecizejumaPamatojums');
i := 0;
count_i := CkJsonObject_SizeOfArray(jResp,'R37.CitiDokumenti');
while i < count_i do
begin
CkJsonObject_putI(jResp,i);
value := CkJsonObject__stringOf(jResp,'R37.CitiDokumenti[i].value');
i := i + 1;
end;
CkHttp_Dispose(http);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(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": ""
}
]
}