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/annv4/: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": "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
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/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": ""
}
]
}