Chilkat Online Tools

DataFlex / EDS API / Dokuments "Alkoholisko dzērienu akcīzes nodokļa deklarācija".

Back to Collection Items

Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sValue
    String sEpasts
    String sTalrunis
    Integer iGads
    Integer iMenesis
    String sDatums
    String sStatuss
    String sR09
    String sR10
    String sSagatavotajs
    String sSamTermins
    String sK1
    String sK2
    String sK3
    String sK4
    String sK5
    String sK6
    String sK7
    String sK8
    String sK9
    String sK10
    String sK11
    String sR12K1
    String sR12K2
    String sR12K3
    String sR12K4
    String sR12K5
    String sR12K6
    String sR12K7
    String sR12K8
    String sR12K9
    String sR12K10
    String sR12K11
    String sR13K1
    String sR13K2
    String sR13K3
    String sR13K4
    String sR13K5
    String sR13K6
    String sR13K7
    String sR13K8
    String sR13K9
    String sR13K10
    String sR13K11
    String sR14K1
    String sR14K2
    String sR14K3
    String sR14K4
    String sR14K5
    String sR14K6
    String sR14K7
    String sR14K8
    String sR14K9
    String sR14K10
    String sR14K11
    String sR15K1
    String sR15K2
    String sR15K3
    String sR15K4
    String sR15K5
    String sR15K6
    String sR15K7
    String sR15K8
    String sR15K9
    String sR15K10
    String sR15K11
    String sR16K1
    String sR16K2
    String sR16K3
    String sR16K4
    String sR16K5
    String sR16K6
    String sR16K7
    String sR16K8
    String sR16K9
    String sR16K10
    String sR16K11
    String sR17K1
    String sR17K2
    String sR17K3
    String sR17K4
    String sR17K5
    String sR17K6
    String sR17K7
    String sR17K8
    String sR17K9
    String sR17K10
    String sR17K11
    String sR18K1
    String sR18K2
    String sR18K3
    String sR18K4
    String sR18K5
    String sR18K6
    String sR18K7
    String sR18K8
    String sR18K9
    String sR18K10
    String sR18K11
    String sR19K1
    String sR19K2
    String sR19K3
    String sR19K4
    String sR19K5
    String sR19K6
    String sR19K7
    String sR19K8
    String sR19K9
    String sR19K10
    String sR19K11
    String sR20K1
    String sR20K2
    String sR20K3
    String sR20K4
    String sR20K5
    String sR20K6
    String sR20K7
    String sR20K8
    String sR20K9
    String sR20K10
    String sR20K11
    String sR21K1
    String sR21K2
    String sR21K3
    String sR21K4
    String sR21K5
    String sR21K6
    String sR21K7
    String sR21K8
    String sR21K9
    String sR21K10
    String sR21K11
    String sR22K1
    String sR22K2
    String sR22K3
    String sR22K4
    String sR22K5
    String sR22K6
    String sR22K7
    String sR22K8
    String sR22K9
    String sR22K10
    String sR22K11
    String sR24K1
    String sR24K2
    String sR24K3
    String sR24K4
    String sR24K5
    String sR24K6
    String sR24K7
    String sR24K8
    String sR24K9
    String sR24K10
    String sR24K11
    String sR25K1
    String sR25K2
    String sR25K3
    String sR25K4
    String sR25K5
    String sR25K6
    String sR25K7
    String sR25K8
    String sR25K9
    String sR25K10
    String sR25K11
    String sR26K1
    String sR26K2
    String sR26K3
    String sR26K4
    String sR26K5
    String sR26K6
    String sR26K7
    String sR26K8
    String sR26K9
    String sR26K10
    String sR26K11
    String sR27K1
    String sR27K2
    String sR27K3
    String sR27K4
    String sR27K5
    String sR27K6
    String sR27K7
    String sR27K8
    String sR27K9
    String sR27K10
    String sR27K11
    String sR28K1
    String sR28K2
    String sR28K3
    String sR28K4
    String sR28K5
    String sR28K6
    String sR28K7
    String sR28K8
    String sR28K9
    String sR28K10
    String sR28K11
    String sR29K1
    String sR29K2
    String sR29K3
    String sR29K4
    String sR29K5
    String sR29K6
    String sR29K7
    String sR29K8
    String sR29K9
    String sR29K10
    String sR29K11
    String sR30K1
    String sR30K2
    String sR30K3
    String sR30K4
    String sR30K5
    String sR30K6
    String sR30K7
    String sR30K8
    String sR30K9
    String sR30K10
    String sR30K11
    String sR32K1
    String sR32K2
    String sR32K3
    String sR32K4
    String sR32K5
    String sR32K6
    String sR32K7
    String sR32K8
    String sR32K9
    String sR32K10
    String sR32K11
    String sR33K1
    String sR33K2
    String sR33K3
    String sR33K4
    String sR33K5
    String sR33K6
    String sR33K7
    String sR33K8
    String sR33K9
    String sR33K10
    String sR33K11
    String sR34K1
    String sR34K2
    String sR34K3
    String sR34K4
    String sR34K5
    String sR34K6
    String sR34K7
    String sR34K8
    String sR34K9
    String sR34K10
    String sR34K11
    String sR36K1
    String sR36K2
    String sR36K3
    String sR36K4
    String sR36K5
    String sR36K6
    String sR36K7
    String sR36K8
    String sR36K9
    String sR36K10
    String sR36K11
    String sR37K1
    String sR37K2
    String sR37K3
    String sR37K4
    String sR37K5
    String sR37K6
    String sR37K7
    String sR37K8
    String sR37K9
    String sR37K10
    String sR37K11
    String sR38K1
    String sR38K2
    String sR38K3
    String sR38K4
    String sR38K5
    String sR38K6
    String sR38K7
    String sR38K8
    String sR38K9
    String sR38K10
    String sR38K11
    String sR39K1
    String sR39K2
    String sR39K3
    String sR39K4
    String sR39K5
    String sR39K6
    String sR39K7
    String sR39K8
    String sR39K9
    String sR39K10
    String sR39K11
    String sR40K1
    String sR40K2
    String sR40K3
    String sR40K4
    String sR40K5
    String sR40K6
    String sR40K7
    String sR40K8
    String sR40K9
    String sR40K10
    String sR40K11
    String sR41K1
    String sR41K2
    String sR41K3
    String sR41K4
    String sR41K5
    String sR41K6
    String sR41K7
    String sR41K8
    String sR41K9
    String sR41K10
    String sR41K11
    String sValue
    String sKomentarsValue
    String sFailsValue
    Integer iId
    String sUID
    String sNmrKods
    Boolean iPrecizejums
    Integer iPrecizejamaisDokuments
    String sPrecizejumaPamatojums
    Integer i
    Integer iCount_i
    String sTemp1

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

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Send ComSetRequestHeader To hoHttp "Accept" "application/json"

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComQuickGetSb Of hoHttp "https://eds.vid.gov.lv/api/doc/anav3/:id" vSbResponseBody To iSuccess
    If (iSuccess = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComLastStatus Of hoHttp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComLastHeader Of hoHttp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Procedure_Return
    End

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

    // {
    //   "Epasts": "sit consectetur proiden",
    //   "Talrunis": "exercitatio",
    //   "Gads": 41525966,
    //   "Menesis": 1,
    //   "Datums": "2000-01-31T00:00:00",
    //   "Statuss": "irure Excepteur cillum est",
    //   "R09": "esse irure eiusmod dolore",
    //   "R10": "et",
    //   "Sagatavotajs": "commodo sunt ad dolore ut",
    //   "SamTermins": "2000-01-31T00:00:00",
    //   "R11": {
    //     "K1": 39654307.9794763,
    //     "K2": 95206489.76173073,
    //     "K3": 69621562.03778541,
    //     "K4": -43473445.81098142,
    //     "K5": 3734292.3273079097,
    //     "K6": 22944168.154526472,
    //     "K7": 52977048.93355891,
    //     "K8": -40245628.25442129,
    //     "K9": -50505683.995016605,
    //     "K10": -41242641.96773098,
    //     "K11": -7595874.8109074235
    //   },
    //   "R12": {
    //     "K1": -51818471.414243296,
    //     "K2": -60649497.202963464,
    //     "K3": -3679732.075939238,
    //     "K4": -81767325.89610443,
    //     "K5": 6512977.492256939,
    //     "K6": 44516819.91345316,
    //     "K7": 86683756.16726193,
    //     "K8": -5085291.953524828,
    //     "K9": 42965992.07206637,
    //     "K10": 75565044.39499044,
    //     "K11": 88333519.18947959
    //   },
    //   "R13": {
    //     "K1": 85378319.58924028,
    //     "K2": 69049741.28540203,
    //     "K3": -85930423.57675488,
    //     "K4": 96557267.4267995,
    //     "K5": 35586091.18758938,
    //     "K6": 4415807.7766118795,
    //     "K7": 85872095.70702115,
    //     "K8": -34265144.59995822,
    //     "K9": 41175518.75610381,
    //     "K10": 41738542.70197573,
    //     "K11": -24045516.04998742
    //   },
    //   "R14": {
    //     "K1": -88527111.8945882,
    //     "K2": -36106576.919619694,
    //     "K3": -86993298.25289856,
    //     "K4": 2507310.8521988243,
    //     "K5": -70948918.3523953,
    //     "K6": 72921344.85359329,
    //     "K7": -46022763.14603264,
    //     "K8": 40703562.46330893,
    //     "K9": -95983475.19361585,
    //     "K10": 73478198.95637825,
    //     "K11": 68333497.69419277
    //   },
    //   "R15": {
    //     "K1": 49799217.73455027,
    //     "K2": -81973465.45824589,
    //     "K3": 26443730.69187163,
    //     "K4": 11561396.059545934,
    //     "K5": -35205927.15265187,
    //     "K6": -63246201.49032185,
    //     "K7": -86836814.91046071,
    //     "K8": 54004956.73262754,
    //     "K9": -39924968.9437799,
    //     "K10": -53986230.12526356,
    //     "K11": -71925242.13591085
    //   },
    //   "R16": {
    //     "K1": -52679977.89026087,
    //     "K2": -77236582.92503108,
    //     "K3": 51708017.62352905,
    //     "K4": 17554016.65212792,
    //     "K5": 31819451.05470319,
    //     "K6": 5946866.696746692,
    //     "K7": 53501704.237122715,
    //     "K8": -54811508.80492649,
    //     "K9": -55637865.57962156,
    //     "K10": -25186232.520846948,
    //     "K11": 37941603.2986792
    //   },
    //   "R17": {
    //     "K1": 85692483.17169079,
    //     "K2": -45357519.01086358,
    //     "K3": -1289375.4376874715,
    //     "K4": 97699645.20378852,
    //     "K5": -82297765.67567657,
    //     "K6": 18170007.240818366,
    //     "K7": -66480653.38381097,
    //     "K8": 31963728.153270006,
    //     "K9": 12415954.664070308,
    //     "K10": 24711130.61581485,
    //     "K11": 80466533.28773373
    //   },
    //   "R18": {
    //     "K1": 98281241.87529373,
    //     "K2": 57591909.24584225,
    //     "K3": -36557051.927430354,
    //     "K4": -65959092.90755051,
    //     "K5": -25176714.44804193,
    //     "K6": -71010973.62023205,
    //     "K7": 54650025.60613659,
    //     "K8": 79261452.45337185,
    //     "K9": -80114161.1437464,
    //     "K10": -71001338.85447599,
    //     "K11": -2501161.776873946
    //   },
    //   "R19": {
    //     "K1": -10055210.696588323,
    //     "K2": 60872558.24988711,
    //     "K3": -61925049.61258529,
    //     "K4": 27871624.263147384,
    //     "K5": 87297020.39378232,
    //     "K6": -21848897.73363255,
    //     "K7": 30405908.47939484,
    //     "K8": 79091344.99215776,
    //     "K9": -29582126.991014943,
    //     "K10": -3549288.3930006623,
    //     "K11": -86291271.18866836
    //   },
    //   "R20": {
    //     "K1": -46429293.03945129,
    //     "K2": 97361131.3384259,
    //     "K3": 5052296.768175468,
    //     "K4": 83498083.74292973,
    //     "K5": 67187.85843795538,
    //     "K6": 98529859.18834385,
    //     "K7": -91286470.54033361,
    //     "K8": -22017052.01711692,
    //     "K9": 43722533.055188596,
    //     "K10": 89495989.5657503,
    //     "K11": -67683636.5283108
    //   },
    //   "R21": {
    //     "K1": 97965687.44835654,
    //     "K2": -13080119.139022365,
    //     "K3": -64248865.534758836,
    //     "K4": -39218405.37977244,
    //     "K5": 42108585.0351865,
    //     "K6": 63488436.2716845,
    //     "K7": 26628119.43172972,
    //     "K8": 35341300.9166666,
    //     "K9": -8835523.193584204,
    //     "K10": -25413350.05131127,
    //     "K11": 82609455.16005117
    //   },
    //   "R22": {
    //     "K1": 98362843.47706878,
    //     "K2": -57001999.48947882,
    //     "K3": -53303999.43238091,
    //     "K4": 64053102.41426751,
    //     "K5": -46204049.95878182,
    //     "K6": 23920089.43234618,
    //     "K7": 67843658.7652064,
    //     "K8": 76063664.05061245,
    //     "K9": -49295436.248785675,
    //     "K10": -87431456.85206324,
    //     "K11": 38660874.90612745
    //   },
    //   "R24": {
    //     "K1": 38613053.291586876,
    //     "K2": -6393679.874609277,
    //     "K3": -67329283.8564341,
    //     "K4": 18023349.977757215,
    //     "K5": 77112121.31141755,
    //     "K6": -14659732.198149025,
    //     "K7": 93320025.85989559,
    //     "K8": 40621210.62665334,
    //     "K9": -59883657.39969938,
    //     "K10": 65776247.93971893,
    //     "K11": 91863478.54787269
    //   },
    //   "R25": {
    //     "K1": -53816529.85383356,
    //     "K2": -58056817.08157091,
    //     "K3": 598287.4282322973,
    //     "K4": -79898779.966212,
    //     "K5": 94668785.22133628,
    //     "K6": 62981267.966917485,
    //     "K7": 76858300.85728523,
    //     "K8": 70836591.66180766,
    //     "K9": -3313831.4919922203,
    //     "K10": -40499597.69367053,
    //     "K11": -19706371.445279464
    //   },
    //   "R26": {
    //     "K1": -12541161.497555375,
    //     "K2": 51057250.24075261,
    //     "K3": 16103676.302845657,
    //     "K4": 78376045.82477638,
    //     "K5": -6888716.070834771,
    //     "K6": -83785609.10945278,
    //     "K7": 57028380.863610536,
    //     "K8": -62322716.54864259,
    //     "K9": -76414180.86863378,
    //     "K10": -64547700.606662594,
    //     "K11": -31602627.68384397
    //   },
    //   "R27": {
    //     "K1": 96735931.65937439,
    //     "K2": -24868491.554228634,
    //     "K3": -17127790.038373813,
    //     "K4": 52400117.43919876,
    //     "K5": -96378581.34590557,
    //     "K6": 36162584.9898538,
    //     "K7": -33004774.320016846,
    //     "K8": 15441502.7158961,
    //     "K9": -26487729.17961386,
    //     "K10": -13711977.692142248,
    //     "K11": -67484139.79037759
    //   },
    //   "R28": {
    //     "K1": 19694221.016647533,
    //     "K2": -63240691.32161165,
    //     "K3": 76074916.31896642,
    //     "K4": 59027469.392128915,
    //     "K5": 29541325.482785523,
    //     "K6": -51079419.84838944,
    //     "K7": 85571750.36816517,
    //     "K8": -78535835.9653812,
    //     "K9": 1783468.0940441042,
    //     "K10": -80472961.08738093,
    //     "K11": 27657198.82747422
    //   },
    //   "R29": {
    //     "K1": -26461709.035757825,
    //     "K2": -93170454.29183465,
    //     "K3": -80103108.2655387,
    //     "K4": -34389401.46855116,
    //     "K5": -12926858.673646405,
    //     "K6": 20992692.14812383,
    //     "K7": -3501149.7462073267,
    //     "K8": 10157711.04871361,
    //     "K9": 62579198.51477575,
    //     "K10": -35638161.49865344,
    //     "K11": 93800943.99387842
    //   },
    //   "R30": {
    //     "K1": 41416012.88009289,
    //     "K2": 31349122.414954692,
    //     "K3": -51372727.92430338,
    //     "K4": 1340475.2782042474,
    //     "K5": 10886357.968213513,
    //     "K6": -79677417.62510201,
    //     "K7": 38428837.750784874,
    //     "K8": 15187164.38060683,
    //     "K9": -73884772.07190096,
    //     "K10": 41360368.7987465,
    //     "K11": 94106196.91157073
    //   },
    //   "R32": {
    //     "K1": -16207683.372665465,
    //     "K2": -8288134.354124039,
    //     "K3": -35730883.88498373,
    //     "K4": -5167797.610396534,
    //     "K5": 21761529.885333747,
    //     "K6": -30283190.84153916,
    //     "K7": -82342223.86810078,
    //     "K8": 44670904.63185039,
    //     "K9": -8978826.487487137,
    //     "K10": 74171165.79581293,
    //     "K11": 34228335.408802
    //   },
    //   "R33": {
    //     "K1": 24856374.583259284,
    //     "K2": 37110434.08636287,
    //     "K3": 69951513.43977764,
    //     "K4": -88593914.80340251,
    //     "K5": 25089492.933927238,
    //     "K6": -67752527.8529064,
    //     "K7": 1523257.4943851382,
    //     "K8": 11709955.694153205,
    //     "K9": 9869232.394000083,
    //     "K10": 83057146.68841356,
    //     "K11": -72530455.50253426
    //   },
    //   "R34": {
    //     "K1": 81819076.44745126,
    //     "K2": -93398324.30597585,
    //     "K3": 32770172.875583634,
    //     "K4": -10925128.140863687,
    //     "K5": -26971964.958718702,
    //     "K6": 44641324.11573753,
    //     "K7": 76978418.24389881,
    //     "K8": -27667452.7337009,
    //     "K9": 4201459.761636883,
    //     "K10": -36132006.69965004,
    //     "K11": -56026889.810518466
    //   },
    //   "R36": {
    //     "K1": -70551114.9679849,
    //     "K2": -48746814.688053906,
    //     "K3": -66930419.536378995,
    //     "K4": -12864315.78212808,
    //     "K5": -78049251.3509607,
    //     "K6": -52801459.5868405,
    //     "K7": 35056949.13558623,
    //     "K8": 94724470.29424581,
    //     "K9": -54259090.46380908,
    //     "K10": 54164272.897994846,
    //     "K11": 17347389.279971242
    //   },
    //   "R37": {
    //     "K1": 60616477.89978027,
    //     "K2": 60921455.5621365,
    //     "K3": 97984917.70165959,
    //     "K4": 30659900.694031656,
    //     "K5": -61290366.87423097,
    //     "K6": 70238381.20333114,
    //     "K7": -92883010.84694171,
    //     "K8": 15664587.736070022,
    //     "K9": 91489345.32286042,
    //     "K10": -69517505.83468787,
    //     "K11": 86169958.04588306
    //   },
    //   "R38": {
    //     "K1": 12655190.76549837,
    //     "K2": -97471284.8095395,
    //     "K3": 29051098.28418885,
    //     "K4": -56773842.61848504,
    //     "K5": 2755746.0532120764,
    //     "K6": -70423770.88355139,
    //     "K7": -4673772.050939366,
    //     "K8": 56557830.48760462,
    //     "K9": 77764332.06276444,
    //     "K10": -6352483.197574317,
    //     "K11": 74693144.34386697
    //   },
    //   "R39": {
    //     "K1": 31428751.82803859,
    //     "K2": -14604272.678600833,
    //     "K3": 17809876.176148936,
    //     "K4": 83743793.05690134,
    //     "K5": -491415.13068664074,
    //     "K6": -71260949.43784116,
    //     "K7": -32956109.65280655,
    //     "K8": -76901706.26390645,
    //     "K9": 52055159.02655336,
    //     "K10": -29257344.367688283,
    //     "K11": -42806429.82910146
    //   },
    //   "R40": {
    //     "K1": -85210557.18747456,
    //     "K2": 36760147.779381424,
    //     "K3": -83519304.3860357,
    //     "K4": -6562013.343732342,
    //     "K5": 51065220.703496724,
    //     "K6": -11942299.802671343,
    //     "K7": 32545079.068491846,
    //     "K8": 43416244.452961236,
    //     "K9": -37799668.02102268,
    //     "K10": 52814275.62232074,
    //     "K11": 1391988.0810652375
    //   },
    //   "R41": {
    //     "K1": 26791706.04249443,
    //     "K2": -22518616.05569859,
    //     "K3": -70613348.72540255,
    //     "K4": -90238441.11778012,
    //     "K5": 78411487.88779503,
    //     "K6": -28255055.234634608,
    //     "K7": -43688887.324217476,
    //     "K8": -24436213.330500677,
    //     "K9": -88499813.70245157,
    //     "K10": 85864471.83740336,
    //     "K11": -44438412.46404619
    //   },
    //   "Pielikumi": {
    //     "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>"
    //       }
    //     },
    //     "PielikumsRindai20": {
    //       "Fails": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       },
    //       "Komentars": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       }
    //     },
    //     "PielikumsRindai21": {
    //       "Fails": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       },
    //       "Komentars": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       }
    //     },
    //     "PielikumsRindai22": {
    //       "Fails": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       },
    //       "Komentars": {
    //         "value": "<Error: Too many levels of nesting to fake this schema>"
    //       }
    //     },
    //     "PielikumsRindai40": {
    //       "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": 48659465,
    //   "UID": "eu voluptate laborum",
    //   "NmrKods": "",
    //   "Precizejums": true,
    //   "PrecizejamaisDokuments": -13962072,
    //   "PrecizejumaPamatojums": "nisi ea velit"
    // }

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

    Get ComStringOf Of hoJResp "Epasts" To sEpasts
    Get ComStringOf Of hoJResp "Talrunis" To sTalrunis
    Get ComIntOf Of hoJResp "Gads" To iGads
    Get ComIntOf Of hoJResp "Menesis" To iMenesis
    Get ComStringOf Of hoJResp "Datums" To sDatums
    Get ComStringOf Of hoJResp "Statuss" To sStatuss
    Get ComStringOf Of hoJResp "R09" To sR09
    Get ComStringOf Of hoJResp "R10" To sR10
    Get ComStringOf Of hoJResp "Sagatavotajs" To sSagatavotajs
    Get ComStringOf Of hoJResp "SamTermins" To sSamTermins
    Get ComStringOf Of hoJResp "R11.K1" To sK1
    Get ComStringOf Of hoJResp "R11.K2" To sK2
    Get ComStringOf Of hoJResp "R11.K3" To sK3
    Get ComStringOf Of hoJResp "R11.K4" To sK4
    Get ComStringOf Of hoJResp "R11.K5" To sK5
    Get ComStringOf Of hoJResp "R11.K6" To sK6
    Get ComStringOf Of hoJResp "R11.K7" To sK7
    Get ComStringOf Of hoJResp "R11.K8" To sK8
    Get ComStringOf Of hoJResp "R11.K9" To sK9
    Get ComStringOf Of hoJResp "R11.K10" To sK10
    Get ComStringOf Of hoJResp "R11.K11" To sK11
    Get ComStringOf Of hoJResp "R12.K1" To sR12K1
    Get ComStringOf Of hoJResp "R12.K2" To sR12K2
    Get ComStringOf Of hoJResp "R12.K3" To sR12K3
    Get ComStringOf Of hoJResp "R12.K4" To sR12K4
    Get ComStringOf Of hoJResp "R12.K5" To sR12K5
    Get ComStringOf Of hoJResp "R12.K6" To sR12K6
    Get ComStringOf Of hoJResp "R12.K7" To sR12K7
    Get ComStringOf Of hoJResp "R12.K8" To sR12K8
    Get ComStringOf Of hoJResp "R12.K9" To sR12K9
    Get ComStringOf Of hoJResp "R12.K10" To sR12K10
    Get ComStringOf Of hoJResp "R12.K11" To sR12K11
    Get ComStringOf Of hoJResp "R13.K1" To sR13K1
    Get ComStringOf Of hoJResp "R13.K2" To sR13K2
    Get ComStringOf Of hoJResp "R13.K3" To sR13K3
    Get ComStringOf Of hoJResp "R13.K4" To sR13K4
    Get ComStringOf Of hoJResp "R13.K5" To sR13K5
    Get ComStringOf Of hoJResp "R13.K6" To sR13K6
    Get ComStringOf Of hoJResp "R13.K7" To sR13K7
    Get ComStringOf Of hoJResp "R13.K8" To sR13K8
    Get ComStringOf Of hoJResp "R13.K9" To sR13K9
    Get ComStringOf Of hoJResp "R13.K10" To sR13K10
    Get ComStringOf Of hoJResp "R13.K11" To sR13K11
    Get ComStringOf Of hoJResp "R14.K1" To sR14K1
    Get ComStringOf Of hoJResp "R14.K2" To sR14K2
    Get ComStringOf Of hoJResp "R14.K3" To sR14K3
    Get ComStringOf Of hoJResp "R14.K4" To sR14K4
    Get ComStringOf Of hoJResp "R14.K5" To sR14K5
    Get ComStringOf Of hoJResp "R14.K6" To sR14K6
    Get ComStringOf Of hoJResp "R14.K7" To sR14K7
    Get ComStringOf Of hoJResp "R14.K8" To sR14K8
    Get ComStringOf Of hoJResp "R14.K9" To sR14K9
    Get ComStringOf Of hoJResp "R14.K10" To sR14K10
    Get ComStringOf Of hoJResp "R14.K11" To sR14K11
    Get ComStringOf Of hoJResp "R15.K1" To sR15K1
    Get ComStringOf Of hoJResp "R15.K2" To sR15K2
    Get ComStringOf Of hoJResp "R15.K3" To sR15K3
    Get ComStringOf Of hoJResp "R15.K4" To sR15K4
    Get ComStringOf Of hoJResp "R15.K5" To sR15K5
    Get ComStringOf Of hoJResp "R15.K6" To sR15K6
    Get ComStringOf Of hoJResp "R15.K7" To sR15K7
    Get ComStringOf Of hoJResp "R15.K8" To sR15K8
    Get ComStringOf Of hoJResp "R15.K9" To sR15K9
    Get ComStringOf Of hoJResp "R15.K10" To sR15K10
    Get ComStringOf Of hoJResp "R15.K11" To sR15K11
    Get ComStringOf Of hoJResp "R16.K1" To sR16K1
    Get ComStringOf Of hoJResp "R16.K2" To sR16K2
    Get ComStringOf Of hoJResp "R16.K3" To sR16K3
    Get ComStringOf Of hoJResp "R16.K4" To sR16K4
    Get ComStringOf Of hoJResp "R16.K5" To sR16K5
    Get ComStringOf Of hoJResp "R16.K6" To sR16K6
    Get ComStringOf Of hoJResp "R16.K7" To sR16K7
    Get ComStringOf Of hoJResp "R16.K8" To sR16K8
    Get ComStringOf Of hoJResp "R16.K9" To sR16K9
    Get ComStringOf Of hoJResp "R16.K10" To sR16K10
    Get ComStringOf Of hoJResp "R16.K11" To sR16K11
    Get ComStringOf Of hoJResp "R17.K1" To sR17K1
    Get ComStringOf Of hoJResp "R17.K2" To sR17K2
    Get ComStringOf Of hoJResp "R17.K3" To sR17K3
    Get ComStringOf Of hoJResp "R17.K4" To sR17K4
    Get ComStringOf Of hoJResp "R17.K5" To sR17K5
    Get ComStringOf Of hoJResp "R17.K6" To sR17K6
    Get ComStringOf Of hoJResp "R17.K7" To sR17K7
    Get ComStringOf Of hoJResp "R17.K8" To sR17K8
    Get ComStringOf Of hoJResp "R17.K9" To sR17K9
    Get ComStringOf Of hoJResp "R17.K10" To sR17K10
    Get ComStringOf Of hoJResp "R17.K11" To sR17K11
    Get ComStringOf Of hoJResp "R18.K1" To sR18K1
    Get ComStringOf Of hoJResp "R18.K2" To sR18K2
    Get ComStringOf Of hoJResp "R18.K3" To sR18K3
    Get ComStringOf Of hoJResp "R18.K4" To sR18K4
    Get ComStringOf Of hoJResp "R18.K5" To sR18K5
    Get ComStringOf Of hoJResp "R18.K6" To sR18K6
    Get ComStringOf Of hoJResp "R18.K7" To sR18K7
    Get ComStringOf Of hoJResp "R18.K8" To sR18K8
    Get ComStringOf Of hoJResp "R18.K9" To sR18K9
    Get ComStringOf Of hoJResp "R18.K10" To sR18K10
    Get ComStringOf Of hoJResp "R18.K11" To sR18K11
    Get ComStringOf Of hoJResp "R19.K1" To sR19K1
    Get ComStringOf Of hoJResp "R19.K2" To sR19K2
    Get ComStringOf Of hoJResp "R19.K3" To sR19K3
    Get ComStringOf Of hoJResp "R19.K4" To sR19K4
    Get ComStringOf Of hoJResp "R19.K5" To sR19K5
    Get ComStringOf Of hoJResp "R19.K6" To sR19K6
    Get ComStringOf Of hoJResp "R19.K7" To sR19K7
    Get ComStringOf Of hoJResp "R19.K8" To sR19K8
    Get ComStringOf Of hoJResp "R19.K9" To sR19K9
    Get ComStringOf Of hoJResp "R19.K10" To sR19K10
    Get ComStringOf Of hoJResp "R19.K11" To sR19K11
    Get ComStringOf Of hoJResp "R20.K1" To sR20K1
    Get ComStringOf Of hoJResp "R20.K2" To sR20K2
    Get ComStringOf Of hoJResp "R20.K3" To sR20K3
    Get ComStringOf Of hoJResp "R20.K4" To sR20K4
    Get ComStringOf Of hoJResp "R20.K5" To sR20K5
    Get ComStringOf Of hoJResp "R20.K6" To sR20K6
    Get ComStringOf Of hoJResp "R20.K7" To sR20K7
    Get ComStringOf Of hoJResp "R20.K8" To sR20K8
    Get ComStringOf Of hoJResp "R20.K9" To sR20K9
    Get ComStringOf Of hoJResp "R20.K10" To sR20K10
    Get ComStringOf Of hoJResp "R20.K11" To sR20K11
    Get ComStringOf Of hoJResp "R21.K1" To sR21K1
    Get ComStringOf Of hoJResp "R21.K2" To sR21K2
    Get ComStringOf Of hoJResp "R21.K3" To sR21K3
    Get ComStringOf Of hoJResp "R21.K4" To sR21K4
    Get ComStringOf Of hoJResp "R21.K5" To sR21K5
    Get ComStringOf Of hoJResp "R21.K6" To sR21K6
    Get ComStringOf Of hoJResp "R21.K7" To sR21K7
    Get ComStringOf Of hoJResp "R21.K8" To sR21K8
    Get ComStringOf Of hoJResp "R21.K9" To sR21K9
    Get ComStringOf Of hoJResp "R21.K10" To sR21K10
    Get ComStringOf Of hoJResp "R21.K11" To sR21K11
    Get ComStringOf Of hoJResp "R22.K1" To sR22K1
    Get ComStringOf Of hoJResp "R22.K2" To sR22K2
    Get ComStringOf Of hoJResp "R22.K3" To sR22K3
    Get ComStringOf Of hoJResp "R22.K4" To sR22K4
    Get ComStringOf Of hoJResp "R22.K5" To sR22K5
    Get ComStringOf Of hoJResp "R22.K6" To sR22K6
    Get ComStringOf Of hoJResp "R22.K7" To sR22K7
    Get ComStringOf Of hoJResp "R22.K8" To sR22K8
    Get ComStringOf Of hoJResp "R22.K9" To sR22K9
    Get ComStringOf Of hoJResp "R22.K10" To sR22K10
    Get ComStringOf Of hoJResp "R22.K11" To sR22K11
    Get ComStringOf Of hoJResp "R24.K1" To sR24K1
    Get ComStringOf Of hoJResp "R24.K2" To sR24K2
    Get ComStringOf Of hoJResp "R24.K3" To sR24K3
    Get ComStringOf Of hoJResp "R24.K4" To sR24K4
    Get ComStringOf Of hoJResp "R24.K5" To sR24K5
    Get ComStringOf Of hoJResp "R24.K6" To sR24K6
    Get ComStringOf Of hoJResp "R24.K7" To sR24K7
    Get ComStringOf Of hoJResp "R24.K8" To sR24K8
    Get ComStringOf Of hoJResp "R24.K9" To sR24K9
    Get ComStringOf Of hoJResp "R24.K10" To sR24K10
    Get ComStringOf Of hoJResp "R24.K11" To sR24K11
    Get ComStringOf Of hoJResp "R25.K1" To sR25K1
    Get ComStringOf Of hoJResp "R25.K2" To sR25K2
    Get ComStringOf Of hoJResp "R25.K3" To sR25K3
    Get ComStringOf Of hoJResp "R25.K4" To sR25K4
    Get ComStringOf Of hoJResp "R25.K5" To sR25K5
    Get ComStringOf Of hoJResp "R25.K6" To sR25K6
    Get ComStringOf Of hoJResp "R25.K7" To sR25K7
    Get ComStringOf Of hoJResp "R25.K8" To sR25K8
    Get ComStringOf Of hoJResp "R25.K9" To sR25K9
    Get ComStringOf Of hoJResp "R25.K10" To sR25K10
    Get ComStringOf Of hoJResp "R25.K11" To sR25K11
    Get ComStringOf Of hoJResp "R26.K1" To sR26K1
    Get ComStringOf Of hoJResp "R26.K2" To sR26K2
    Get ComStringOf Of hoJResp "R26.K3" To sR26K3
    Get ComStringOf Of hoJResp "R26.K4" To sR26K4
    Get ComStringOf Of hoJResp "R26.K5" To sR26K5
    Get ComStringOf Of hoJResp "R26.K6" To sR26K6
    Get ComStringOf Of hoJResp "R26.K7" To sR26K7
    Get ComStringOf Of hoJResp "R26.K8" To sR26K8
    Get ComStringOf Of hoJResp "R26.K9" To sR26K9
    Get ComStringOf Of hoJResp "R26.K10" To sR26K10
    Get ComStringOf Of hoJResp "R26.K11" To sR26K11
    Get ComStringOf Of hoJResp "R27.K1" To sR27K1
    Get ComStringOf Of hoJResp "R27.K2" To sR27K2
    Get ComStringOf Of hoJResp "R27.K3" To sR27K3
    Get ComStringOf Of hoJResp "R27.K4" To sR27K4
    Get ComStringOf Of hoJResp "R27.K5" To sR27K5
    Get ComStringOf Of hoJResp "R27.K6" To sR27K6
    Get ComStringOf Of hoJResp "R27.K7" To sR27K7
    Get ComStringOf Of hoJResp "R27.K8" To sR27K8
    Get ComStringOf Of hoJResp "R27.K9" To sR27K9
    Get ComStringOf Of hoJResp "R27.K10" To sR27K10
    Get ComStringOf Of hoJResp "R27.K11" To sR27K11
    Get ComStringOf Of hoJResp "R28.K1" To sR28K1
    Get ComStringOf Of hoJResp "R28.K2" To sR28K2
    Get ComStringOf Of hoJResp "R28.K3" To sR28K3
    Get ComStringOf Of hoJResp "R28.K4" To sR28K4
    Get ComStringOf Of hoJResp "R28.K5" To sR28K5
    Get ComStringOf Of hoJResp "R28.K6" To sR28K6
    Get ComStringOf Of hoJResp "R28.K7" To sR28K7
    Get ComStringOf Of hoJResp "R28.K8" To sR28K8
    Get ComStringOf Of hoJResp "R28.K9" To sR28K9
    Get ComStringOf Of hoJResp "R28.K10" To sR28K10
    Get ComStringOf Of hoJResp "R28.K11" To sR28K11
    Get ComStringOf Of hoJResp "R29.K1" To sR29K1
    Get ComStringOf Of hoJResp "R29.K2" To sR29K2
    Get ComStringOf Of hoJResp "R29.K3" To sR29K3
    Get ComStringOf Of hoJResp "R29.K4" To sR29K4
    Get ComStringOf Of hoJResp "R29.K5" To sR29K5
    Get ComStringOf Of hoJResp "R29.K6" To sR29K6
    Get ComStringOf Of hoJResp "R29.K7" To sR29K7
    Get ComStringOf Of hoJResp "R29.K8" To sR29K8
    Get ComStringOf Of hoJResp "R29.K9" To sR29K9
    Get ComStringOf Of hoJResp "R29.K10" To sR29K10
    Get ComStringOf Of hoJResp "R29.K11" To sR29K11
    Get ComStringOf Of hoJResp "R30.K1" To sR30K1
    Get ComStringOf Of hoJResp "R30.K2" To sR30K2
    Get ComStringOf Of hoJResp "R30.K3" To sR30K3
    Get ComStringOf Of hoJResp "R30.K4" To sR30K4
    Get ComStringOf Of hoJResp "R30.K5" To sR30K5
    Get ComStringOf Of hoJResp "R30.K6" To sR30K6
    Get ComStringOf Of hoJResp "R30.K7" To sR30K7
    Get ComStringOf Of hoJResp "R30.K8" To sR30K8
    Get ComStringOf Of hoJResp "R30.K9" To sR30K9
    Get ComStringOf Of hoJResp "R30.K10" To sR30K10
    Get ComStringOf Of hoJResp "R30.K11" To sR30K11
    Get ComStringOf Of hoJResp "R32.K1" To sR32K1
    Get ComStringOf Of hoJResp "R32.K2" To sR32K2
    Get ComStringOf Of hoJResp "R32.K3" To sR32K3
    Get ComStringOf Of hoJResp "R32.K4" To sR32K4
    Get ComStringOf Of hoJResp "R32.K5" To sR32K5
    Get ComStringOf Of hoJResp "R32.K6" To sR32K6
    Get ComStringOf Of hoJResp "R32.K7" To sR32K7
    Get ComStringOf Of hoJResp "R32.K8" To sR32K8
    Get ComStringOf Of hoJResp "R32.K9" To sR32K9
    Get ComStringOf Of hoJResp "R32.K10" To sR32K10
    Get ComStringOf Of hoJResp "R32.K11" To sR32K11
    Get ComStringOf Of hoJResp "R33.K1" To sR33K1
    Get ComStringOf Of hoJResp "R33.K2" To sR33K2
    Get ComStringOf Of hoJResp "R33.K3" To sR33K3
    Get ComStringOf Of hoJResp "R33.K4" To sR33K4
    Get ComStringOf Of hoJResp "R33.K5" To sR33K5
    Get ComStringOf Of hoJResp "R33.K6" To sR33K6
    Get ComStringOf Of hoJResp "R33.K7" To sR33K7
    Get ComStringOf Of hoJResp "R33.K8" To sR33K8
    Get ComStringOf Of hoJResp "R33.K9" To sR33K9
    Get ComStringOf Of hoJResp "R33.K10" To sR33K10
    Get ComStringOf Of hoJResp "R33.K11" To sR33K11
    Get ComStringOf Of hoJResp "R34.K1" To sR34K1
    Get ComStringOf Of hoJResp "R34.K2" To sR34K2
    Get ComStringOf Of hoJResp "R34.K3" To sR34K3
    Get ComStringOf Of hoJResp "R34.K4" To sR34K4
    Get ComStringOf Of hoJResp "R34.K5" To sR34K5
    Get ComStringOf Of hoJResp "R34.K6" To sR34K6
    Get ComStringOf Of hoJResp "R34.K7" To sR34K7
    Get ComStringOf Of hoJResp "R34.K8" To sR34K8
    Get ComStringOf Of hoJResp "R34.K9" To sR34K9
    Get ComStringOf Of hoJResp "R34.K10" To sR34K10
    Get ComStringOf Of hoJResp "R34.K11" To sR34K11
    Get ComStringOf Of hoJResp "R36.K1" To sR36K1
    Get ComStringOf Of hoJResp "R36.K2" To sR36K2
    Get ComStringOf Of hoJResp "R36.K3" To sR36K3
    Get ComStringOf Of hoJResp "R36.K4" To sR36K4
    Get ComStringOf Of hoJResp "R36.K5" To sR36K5
    Get ComStringOf Of hoJResp "R36.K6" To sR36K6
    Get ComStringOf Of hoJResp "R36.K7" To sR36K7
    Get ComStringOf Of hoJResp "R36.K8" To sR36K8
    Get ComStringOf Of hoJResp "R36.K9" To sR36K9
    Get ComStringOf Of hoJResp "R36.K10" To sR36K10
    Get ComStringOf Of hoJResp "R36.K11" To sR36K11
    Get ComStringOf Of hoJResp "R37.K1" To sR37K1
    Get ComStringOf Of hoJResp "R37.K2" To sR37K2
    Get ComStringOf Of hoJResp "R37.K3" To sR37K3
    Get ComStringOf Of hoJResp "R37.K4" To sR37K4
    Get ComStringOf Of hoJResp "R37.K5" To sR37K5
    Get ComStringOf Of hoJResp "R37.K6" To sR37K6
    Get ComStringOf Of hoJResp "R37.K7" To sR37K7
    Get ComStringOf Of hoJResp "R37.K8" To sR37K8
    Get ComStringOf Of hoJResp "R37.K9" To sR37K9
    Get ComStringOf Of hoJResp "R37.K10" To sR37K10
    Get ComStringOf Of hoJResp "R37.K11" To sR37K11
    Get ComStringOf Of hoJResp "R38.K1" To sR38K1
    Get ComStringOf Of hoJResp "R38.K2" To sR38K2
    Get ComStringOf Of hoJResp "R38.K3" To sR38K3
    Get ComStringOf Of hoJResp "R38.K4" To sR38K4
    Get ComStringOf Of hoJResp "R38.K5" To sR38K5
    Get ComStringOf Of hoJResp "R38.K6" To sR38K6
    Get ComStringOf Of hoJResp "R38.K7" To sR38K7
    Get ComStringOf Of hoJResp "R38.K8" To sR38K8
    Get ComStringOf Of hoJResp "R38.K9" To sR38K9
    Get ComStringOf Of hoJResp "R38.K10" To sR38K10
    Get ComStringOf Of hoJResp "R38.K11" To sR38K11
    Get ComStringOf Of hoJResp "R39.K1" To sR39K1
    Get ComStringOf Of hoJResp "R39.K2" To sR39K2
    Get ComStringOf Of hoJResp "R39.K3" To sR39K3
    Get ComStringOf Of hoJResp "R39.K4" To sR39K4
    Get ComStringOf Of hoJResp "R39.K5" To sR39K5
    Get ComStringOf Of hoJResp "R39.K6" To sR39K6
    Get ComStringOf Of hoJResp "R39.K7" To sR39K7
    Get ComStringOf Of hoJResp "R39.K8" To sR39K8
    Get ComStringOf Of hoJResp "R39.K9" To sR39K9
    Get ComStringOf Of hoJResp "R39.K10" To sR39K10
    Get ComStringOf Of hoJResp "R39.K11" To sR39K11
    Get ComStringOf Of hoJResp "R40.K1" To sR40K1
    Get ComStringOf Of hoJResp "R40.K2" To sR40K2
    Get ComStringOf Of hoJResp "R40.K3" To sR40K3
    Get ComStringOf Of hoJResp "R40.K4" To sR40K4
    Get ComStringOf Of hoJResp "R40.K5" To sR40K5
    Get ComStringOf Of hoJResp "R40.K6" To sR40K6
    Get ComStringOf Of hoJResp "R40.K7" To sR40K7
    Get ComStringOf Of hoJResp "R40.K8" To sR40K8
    Get ComStringOf Of hoJResp "R40.K9" To sR40K9
    Get ComStringOf Of hoJResp "R40.K10" To sR40K10
    Get ComStringOf Of hoJResp "R40.K11" To sR40K11
    Get ComStringOf Of hoJResp "R41.K1" To sR41K1
    Get ComStringOf Of hoJResp "R41.K2" To sR41K2
    Get ComStringOf Of hoJResp "R41.K3" To sR41K3
    Get ComStringOf Of hoJResp "R41.K4" To sR41K4
    Get ComStringOf Of hoJResp "R41.K5" To sR41K5
    Get ComStringOf Of hoJResp "R41.K6" To sR41K6
    Get ComStringOf Of hoJResp "R41.K7" To sR41K7
    Get ComStringOf Of hoJResp "R41.K8" To sR41K8
    Get ComStringOf Of hoJResp "R41.K9" To sR41K9
    Get ComStringOf Of hoJResp "R41.K10" To sR41K10
    Get ComStringOf Of hoJResp "R41.K11" To sR41K11
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai18.Fails.value" To sValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai18.Komentars.value" To sKomentarsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai19.Fails.value" To sFailsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai19.Komentars.value" To sKomentarsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai20.Fails.value" To sFailsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai20.Komentars.value" To sKomentarsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai21.Fails.value" To sFailsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai21.Komentars.value" To sKomentarsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai22.Fails.value" To sFailsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai22.Komentars.value" To sKomentarsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai40.Fails.value" To sFailsValue
    Get ComStringOf Of hoJResp "Pielikumi.PielikumsRindai40.Komentars.value" To sKomentarsValue
    Get ComIntOf Of hoJResp "Id" To iId
    Get ComStringOf Of hoJResp "UID" To sUID
    Get ComStringOf Of hoJResp "NmrKods" To sNmrKods
    Get ComBoolOf Of hoJResp "Precizejums" To iPrecizejums
    Get ComIntOf Of hoJResp "PrecizejamaisDokuments" To iPrecizejamaisDokuments
    Get ComStringOf Of hoJResp "PrecizejumaPamatojums" To sPrecizejumaPamatojums
    Move 0 To i
    Get ComSizeOfArray Of hoJResp "Pielikumi.CitiDokumenti" To iCount_i
    While (i < iCount_i)
        Set ComI Of hoJResp To i
        Get ComStringOf Of hoJResp "Pielikumi.CitiDokumenti[i].value" To sValue
        Move (i + 1) To i
    Loop



End_Procedure

Curl Command

curl -X GET
	-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/anav3/:id

Postman Collection Item JSON

{
  "name": "Dokuments \"Alkoholisko dzērienu akcīzes nodokļa deklarācija\".",
  "request": {
    "method": "GET",
    "header": [
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "url": {
      "raw": "{{baseUrl}}/api/doc/anav3/:id",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "anav3",
        ":id"
      ],
      "variable": [
        {
          "key": "id",
          "value": "25210683",
          "description": "(Required) Dokumenta id."
        }
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/anav3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "anav3",
            ":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\": \"sit consectetur proiden\",\n  \"Talrunis\": \"exercitatio\",\n  \"Gads\": 41525966,\n  \"Menesis\": 1,\n  \"Datums\": \"2000-01-31T00:00:00\",\n  \"Statuss\": \"irure Excepteur cillum est\",\n  \"R09\": \"esse irure eiusmod dolore\",\n  \"R10\": \"et\",\n  \"Sagatavotajs\": \"commodo sunt ad dolore ut\",\n  \"SamTermins\": \"2000-01-31T00:00:00\",\n  \"R11\": {\n    \"K1\": 39654307.9794763,\n    \"K2\": 95206489.76173073,\n    \"K3\": 69621562.03778541,\n    \"K4\": -43473445.81098142,\n    \"K5\": 3734292.3273079097,\n    \"K6\": 22944168.154526472,\n    \"K7\": 52977048.93355891,\n    \"K8\": -40245628.25442129,\n    \"K9\": -50505683.995016605,\n    \"K10\": -41242641.96773098,\n    \"K11\": -7595874.8109074235\n  },\n  \"R12\": {\n    \"K1\": -51818471.414243296,\n    \"K2\": -60649497.202963464,\n    \"K3\": -3679732.075939238,\n    \"K4\": -81767325.89610443,\n    \"K5\": 6512977.492256939,\n    \"K6\": 44516819.91345316,\n    \"K7\": 86683756.16726193,\n    \"K8\": -5085291.953524828,\n    \"K9\": 42965992.07206637,\n    \"K10\": 75565044.39499044,\n    \"K11\": 88333519.18947959\n  },\n  \"R13\": {\n    \"K1\": 85378319.58924028,\n    \"K2\": 69049741.28540203,\n    \"K3\": -85930423.57675488,\n    \"K4\": 96557267.4267995,\n    \"K5\": 35586091.18758938,\n    \"K6\": 4415807.7766118795,\n    \"K7\": 85872095.70702115,\n    \"K8\": -34265144.59995822,\n    \"K9\": 41175518.75610381,\n    \"K10\": 41738542.70197573,\n    \"K11\": -24045516.04998742\n  },\n  \"R14\": {\n    \"K1\": -88527111.8945882,\n    \"K2\": -36106576.919619694,\n    \"K3\": -86993298.25289856,\n    \"K4\": 2507310.8521988243,\n    \"K5\": -70948918.3523953,\n    \"K6\": 72921344.85359329,\n    \"K7\": -46022763.14603264,\n    \"K8\": 40703562.46330893,\n    \"K9\": -95983475.19361585,\n    \"K10\": 73478198.95637825,\n    \"K11\": 68333497.69419277\n  },\n  \"R15\": {\n    \"K1\": 49799217.73455027,\n    \"K2\": -81973465.45824589,\n    \"K3\": 26443730.69187163,\n    \"K4\": 11561396.059545934,\n    \"K5\": -35205927.15265187,\n    \"K6\": -63246201.49032185,\n    \"K7\": -86836814.91046071,\n    \"K8\": 54004956.73262754,\n    \"K9\": -39924968.9437799,\n    \"K10\": -53986230.12526356,\n    \"K11\": -71925242.13591085\n  },\n  \"R16\": {\n    \"K1\": -52679977.89026087,\n    \"K2\": -77236582.92503108,\n    \"K3\": 51708017.62352905,\n    \"K4\": 17554016.65212792,\n    \"K5\": 31819451.05470319,\n    \"K6\": 5946866.696746692,\n    \"K7\": 53501704.237122715,\n    \"K8\": -54811508.80492649,\n    \"K9\": -55637865.57962156,\n    \"K10\": -25186232.520846948,\n    \"K11\": 37941603.2986792\n  },\n  \"R17\": {\n    \"K1\": 85692483.17169079,\n    \"K2\": -45357519.01086358,\n    \"K3\": -1289375.4376874715,\n    \"K4\": 97699645.20378852,\n    \"K5\": -82297765.67567657,\n    \"K6\": 18170007.240818366,\n    \"K7\": -66480653.38381097,\n    \"K8\": 31963728.153270006,\n    \"K9\": 12415954.664070308,\n    \"K10\": 24711130.61581485,\n    \"K11\": 80466533.28773373\n  },\n  \"R18\": {\n    \"K1\": 98281241.87529373,\n    \"K2\": 57591909.24584225,\n    \"K3\": -36557051.927430354,\n    \"K4\": -65959092.90755051,\n    \"K5\": -25176714.44804193,\n    \"K6\": -71010973.62023205,\n    \"K7\": 54650025.60613659,\n    \"K8\": 79261452.45337185,\n    \"K9\": -80114161.1437464,\n    \"K10\": -71001338.85447599,\n    \"K11\": -2501161.776873946\n  },\n  \"R19\": {\n    \"K1\": -10055210.696588323,\n    \"K2\": 60872558.24988711,\n    \"K3\": -61925049.61258529,\n    \"K4\": 27871624.263147384,\n    \"K5\": 87297020.39378232,\n    \"K6\": -21848897.73363255,\n    \"K7\": 30405908.47939484,\n    \"K8\": 79091344.99215776,\n    \"K9\": -29582126.991014943,\n    \"K10\": -3549288.3930006623,\n    \"K11\": -86291271.18866836\n  },\n  \"R20\": {\n    \"K1\": -46429293.03945129,\n    \"K2\": 97361131.3384259,\n    \"K3\": 5052296.768175468,\n    \"K4\": 83498083.74292973,\n    \"K5\": 67187.85843795538,\n    \"K6\": 98529859.18834385,\n    \"K7\": -91286470.54033361,\n    \"K8\": -22017052.01711692,\n    \"K9\": 43722533.055188596,\n    \"K10\": 89495989.5657503,\n    \"K11\": -67683636.5283108\n  },\n  \"R21\": {\n    \"K1\": 97965687.44835654,\n    \"K2\": -13080119.139022365,\n    \"K3\": -64248865.534758836,\n    \"K4\": -39218405.37977244,\n    \"K5\": 42108585.0351865,\n    \"K6\": 63488436.2716845,\n    \"K7\": 26628119.43172972,\n    \"K8\": 35341300.9166666,\n    \"K9\": -8835523.193584204,\n    \"K10\": -25413350.05131127,\n    \"K11\": 82609455.16005117\n  },\n  \"R22\": {\n    \"K1\": 98362843.47706878,\n    \"K2\": -57001999.48947882,\n    \"K3\": -53303999.43238091,\n    \"K4\": 64053102.41426751,\n    \"K5\": -46204049.95878182,\n    \"K6\": 23920089.43234618,\n    \"K7\": 67843658.7652064,\n    \"K8\": 76063664.05061245,\n    \"K9\": -49295436.248785675,\n    \"K10\": -87431456.85206324,\n    \"K11\": 38660874.90612745\n  },\n  \"R24\": {\n    \"K1\": 38613053.291586876,\n    \"K2\": -6393679.874609277,\n    \"K3\": -67329283.8564341,\n    \"K4\": 18023349.977757215,\n    \"K5\": 77112121.31141755,\n    \"K6\": -14659732.198149025,\n    \"K7\": 93320025.85989559,\n    \"K8\": 40621210.62665334,\n    \"K9\": -59883657.39969938,\n    \"K10\": 65776247.93971893,\n    \"K11\": 91863478.54787269\n  },\n  \"R25\": {\n    \"K1\": -53816529.85383356,\n    \"K2\": -58056817.08157091,\n    \"K3\": 598287.4282322973,\n    \"K4\": -79898779.966212,\n    \"K5\": 94668785.22133628,\n    \"K6\": 62981267.966917485,\n    \"K7\": 76858300.85728523,\n    \"K8\": 70836591.66180766,\n    \"K9\": -3313831.4919922203,\n    \"K10\": -40499597.69367053,\n    \"K11\": -19706371.445279464\n  },\n  \"R26\": {\n    \"K1\": -12541161.497555375,\n    \"K2\": 51057250.24075261,\n    \"K3\": 16103676.302845657,\n    \"K4\": 78376045.82477638,\n    \"K5\": -6888716.070834771,\n    \"K6\": -83785609.10945278,\n    \"K7\": 57028380.863610536,\n    \"K8\": -62322716.54864259,\n    \"K9\": -76414180.86863378,\n    \"K10\": -64547700.606662594,\n    \"K11\": -31602627.68384397\n  },\n  \"R27\": {\n    \"K1\": 96735931.65937439,\n    \"K2\": -24868491.554228634,\n    \"K3\": -17127790.038373813,\n    \"K4\": 52400117.43919876,\n    \"K5\": -96378581.34590557,\n    \"K6\": 36162584.9898538,\n    \"K7\": -33004774.320016846,\n    \"K8\": 15441502.7158961,\n    \"K9\": -26487729.17961386,\n    \"K10\": -13711977.692142248,\n    \"K11\": -67484139.79037759\n  },\n  \"R28\": {\n    \"K1\": 19694221.016647533,\n    \"K2\": -63240691.32161165,\n    \"K3\": 76074916.31896642,\n    \"K4\": 59027469.392128915,\n    \"K5\": 29541325.482785523,\n    \"K6\": -51079419.84838944,\n    \"K7\": 85571750.36816517,\n    \"K8\": -78535835.9653812,\n    \"K9\": 1783468.0940441042,\n    \"K10\": -80472961.08738093,\n    \"K11\": 27657198.82747422\n  },\n  \"R29\": {\n    \"K1\": -26461709.035757825,\n    \"K2\": -93170454.29183465,\n    \"K3\": -80103108.2655387,\n    \"K4\": -34389401.46855116,\n    \"K5\": -12926858.673646405,\n    \"K6\": 20992692.14812383,\n    \"K7\": -3501149.7462073267,\n    \"K8\": 10157711.04871361,\n    \"K9\": 62579198.51477575,\n    \"K10\": -35638161.49865344,\n    \"K11\": 93800943.99387842\n  },\n  \"R30\": {\n    \"K1\": 41416012.88009289,\n    \"K2\": 31349122.414954692,\n    \"K3\": -51372727.92430338,\n    \"K4\": 1340475.2782042474,\n    \"K5\": 10886357.968213513,\n    \"K6\": -79677417.62510201,\n    \"K7\": 38428837.750784874,\n    \"K8\": 15187164.38060683,\n    \"K9\": -73884772.07190096,\n    \"K10\": 41360368.7987465,\n    \"K11\": 94106196.91157073\n  },\n  \"R32\": {\n    \"K1\": -16207683.372665465,\n    \"K2\": -8288134.354124039,\n    \"K3\": -35730883.88498373,\n    \"K4\": -5167797.610396534,\n    \"K5\": 21761529.885333747,\n    \"K6\": -30283190.84153916,\n    \"K7\": -82342223.86810078,\n    \"K8\": 44670904.63185039,\n    \"K9\": -8978826.487487137,\n    \"K10\": 74171165.79581293,\n    \"K11\": 34228335.408802\n  },\n  \"R33\": {\n    \"K1\": 24856374.583259284,\n    \"K2\": 37110434.08636287,\n    \"K3\": 69951513.43977764,\n    \"K4\": -88593914.80340251,\n    \"K5\": 25089492.933927238,\n    \"K6\": -67752527.8529064,\n    \"K7\": 1523257.4943851382,\n    \"K8\": 11709955.694153205,\n    \"K9\": 9869232.394000083,\n    \"K10\": 83057146.68841356,\n    \"K11\": -72530455.50253426\n  },\n  \"R34\": {\n    \"K1\": 81819076.44745126,\n    \"K2\": -93398324.30597585,\n    \"K3\": 32770172.875583634,\n    \"K4\": -10925128.140863687,\n    \"K5\": -26971964.958718702,\n    \"K6\": 44641324.11573753,\n    \"K7\": 76978418.24389881,\n    \"K8\": -27667452.7337009,\n    \"K9\": 4201459.761636883,\n    \"K10\": -36132006.69965004,\n    \"K11\": -56026889.810518466\n  },\n  \"R36\": {\n    \"K1\": -70551114.9679849,\n    \"K2\": -48746814.688053906,\n    \"K3\": -66930419.536378995,\n    \"K4\": -12864315.78212808,\n    \"K5\": -78049251.3509607,\n    \"K6\": -52801459.5868405,\n    \"K7\": 35056949.13558623,\n    \"K8\": 94724470.29424581,\n    \"K9\": -54259090.46380908,\n    \"K10\": 54164272.897994846,\n    \"K11\": 17347389.279971242\n  },\n  \"R37\": {\n    \"K1\": 60616477.89978027,\n    \"K2\": 60921455.5621365,\n    \"K3\": 97984917.70165959,\n    \"K4\": 30659900.694031656,\n    \"K5\": -61290366.87423097,\n    \"K6\": 70238381.20333114,\n    \"K7\": -92883010.84694171,\n    \"K8\": 15664587.736070022,\n    \"K9\": 91489345.32286042,\n    \"K10\": -69517505.83468787,\n    \"K11\": 86169958.04588306\n  },\n  \"R38\": {\n    \"K1\": 12655190.76549837,\n    \"K2\": -97471284.8095395,\n    \"K3\": 29051098.28418885,\n    \"K4\": -56773842.61848504,\n    \"K5\": 2755746.0532120764,\n    \"K6\": -70423770.88355139,\n    \"K7\": -4673772.050939366,\n    \"K8\": 56557830.48760462,\n    \"K9\": 77764332.06276444,\n    \"K10\": -6352483.197574317,\n    \"K11\": 74693144.34386697\n  },\n  \"R39\": {\n    \"K1\": 31428751.82803859,\n    \"K2\": -14604272.678600833,\n    \"K3\": 17809876.176148936,\n    \"K4\": 83743793.05690134,\n    \"K5\": -491415.13068664074,\n    \"K6\": -71260949.43784116,\n    \"K7\": -32956109.65280655,\n    \"K8\": -76901706.26390645,\n    \"K9\": 52055159.02655336,\n    \"K10\": -29257344.367688283,\n    \"K11\": -42806429.82910146\n  },\n  \"R40\": {\n    \"K1\": -85210557.18747456,\n    \"K2\": 36760147.779381424,\n    \"K3\": -83519304.3860357,\n    \"K4\": -6562013.343732342,\n    \"K5\": 51065220.703496724,\n    \"K6\": -11942299.802671343,\n    \"K7\": 32545079.068491846,\n    \"K8\": 43416244.452961236,\n    \"K9\": -37799668.02102268,\n    \"K10\": 52814275.62232074,\n    \"K11\": 1391988.0810652375\n  },\n  \"R41\": {\n    \"K1\": 26791706.04249443,\n    \"K2\": -22518616.05569859,\n    \"K3\": -70613348.72540255,\n    \"K4\": -90238441.11778012,\n    \"K5\": 78411487.88779503,\n    \"K6\": -28255055.234634608,\n    \"K7\": -43688887.324217476,\n    \"K8\": -24436213.330500677,\n    \"K9\": -88499813.70245157,\n    \"K10\": 85864471.83740336,\n    \"K11\": -44438412.46404619\n  },\n  \"Pielikumi\": {\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    \"PielikumsRindai20\": {\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    \"PielikumsRindai21\": {\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    \"PielikumsRindai22\": {\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    \"PielikumsRindai40\": {\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\": 48659465,\n  \"UID\": \"eu voluptate laborum\",\n  \"NmrKods\": \"\",\n  \"Precizejums\": true,\n  \"PrecizejamaisDokuments\": -13962072,\n  \"PrecizejumaPamatojums\": \"nisi ea velit\"\n}"
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/anav3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "anav3",
            ":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/anav3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "anav3",
            ":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/anav3/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "anav3",
            ":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": ""
    }
  ]
}