Chilkat Online Tools

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

Back to Collection Items

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

    let http = CkoHttp()!
    var success: Bool

    http.setRequestHeader("Accept", value: "application/json")

    let sbResponseBody = CkoStringBuilder()!
    success = http.quickGetSb("https://eds.vid.gov.lv/api/doc/annv5/:id", sbContent: sbResponseBody)
    if success == false {
        print("\(http.lastErrorText!)")
        return
    }

    let jResp = CkoJsonObject()!
    jResp.loadSb(sbResponseBody)
    jResp.emitCompact = false

    print("Response Body:")
    print("\(jResp.emit()!)")

    var respStatusCode: Int = http.lastStatus.intValue
    print("Response Status Code = \(respStatusCode)")
    if respStatusCode >= 400 {
        print("Response Header:")
        print("\(http.lastHeader!)")
        print("Failed.")
        return
    }

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

    // {
    //   "Epasts": "adipisicing dolor do id aliqua",
    //   "Talrunis": "enim proi",
    //   "Gads": 88966504,
    //   "Menesis": 9,
    //   "Datums": "2000-01-31T00:00:00",
    //   "MaksTerm": "2000-01-31T00:00:00",
    //   "NmStatuss": "Lorem sit cillum",
    //   "R08": "consectetur mollit",
    //   "R09": "commodo incididunt exercitation veniam anim",
    //   "Sagatavotajs": "anim",
    //   "R10": {
    //     "K1": 54561036.059885085,
    //     "K2": 80157806.66328225,
    //     "K3": 26688345.399236992,
    //     "K4": -48808190.27245113,
    //     "K5": -17416380.25642529,
    //     "K6": 97288484.37906054,
    //     "K7": 74278499.74381235,
    //     "K8": -35044383.37263998,
    //     "K9": -88926649.34537731,
    //     "K10": -71386837.72167207,
    //     "K11": 92446958.57749608,
    //     "K12": 64904902.19575098,
    //     "K13": -818080.8898649216
    //   },
    //   "R11": {
    //     "K1": 8211590.655684993,
    //     "K2": 23007715.515310958,
    //     "K3": 21326814.693438932,
    //     "K4": 70019907.54170892,
    //     "K5": 80824068.26875967,
    //     "K6": -76709185.5815651,
    //     "K7": -77284641.88125952,
    //     "K8": 60714416.85436404,
    //     "K9": -4624671.294085532,
    //     "K10": 84446044.96796063,
    //     "K11": 25458686.542443365,
    //     "K12": 28883784.38785146,
    //     "K13": 97105281.2249586
    //   },
    //   "R12": {
    //     "K1": -73138570.33068891,
    //     "K2": 28331744.935890675,
    //     "K3": 59174760.020377904,
    //     "K4": -29168880.3402725,
    //     "K5": 50648492.350583434,
    //     "K6": -30330148.662513018,
    //     "K7": 95265340.63135964,
    //     "K8": 22348745.91182767,
    //     "K9": -74076564.04836969,
    //     "K10": -50732872.92652098,
    //     "K11": 94109332.7471897,
    //     "K12": -59706038.42454527,
    //     "K13": 96172655.93525714
    //   },
    //   "R13": {
    //     "K1": 35988536.99688882,
    //     "K2": -58854837.720504835,
    //     "K3": 33913491.35000192,
    //     "K4": 18428249.729926094,
    //     "K5": -84860962.53709783,
    //     "K6": -45473674.08660339,
    //     "K7": -3650117.7527612895,
    //     "K8": -40521121.262089774,
    //     "K9": 22209040.895266786,
    //     "K10": -99819889.557094,
    //     "K11": -83312804.90283595,
    //     "K12": 94353352.51000518,
    //     "K13": 6303735.905158713
    //   },
    //   "R14": {
    //     "K1": -47229106.06431245,
    //     "K2": 95644858.4595584,
    //     "K3": -51209742.271006405,
    //     "K4": 81982584.86635605,
    //     "K5": 72846357.96965313,
    //     "K6": -55788299.70514021,
    //     "K7": -34899872.91637977,
    //     "K8": -20147039.31167361,
    //     "K9": -73484640.76646803,
    //     "K10": 30530001.280372903,
    //     "K11": -74639724.24117258,
    //     "K12": -2744641.6791486144,
    //     "K13": -72859644.71635956
    //   },
    //   "R15": {
    //     "K1": 50254612.65735486,
    //     "K2": 25421448.106947467,
    //     "K3": 20612463.57478796,
    //     "K4": -88570886.00333159,
    //     "K5": 30832885.224981472,
    //     "K6": 9190825.397057444,
    //     "K7": -47810613.520443864,
    //     "K8": -52522824.18575924,
    //     "K9": -41945448.37677165,
    //     "K10": 56728700.35647994,
    //     "K11": -67262965.36422569,
    //     "K12": 26725645.44481601,
    //     "K13": -18280898.40754856
    //   },
    //   "R16": {
    //     "K1": 70503378.07780638,
    //     "K2": -38978986.53099534,
    //     "K3": -86795089.20736754,
    //     "K4": 54946716.548746765,
    //     "K5": 12612753.364892319,
    //     "K6": 49741674.60580671,
    //     "K7": -92518071.32641047,
    //     "K8": -56717689.14090647,
    //     "K9": 3905647.7371486723,
    //     "K10": -58956796.964352034,
    //     "K11": -8863893.727915823,
    //     "K12": -36371553.59563047,
    //     "K13": -55250861.15577506
    //   },
    //   "R17": {
    //     "K1": -79921937.76614597,
    //     "K2": 84500530.3034398,
    //     "K3": 63893205.49969518,
    //     "K4": 90460882.55641526,
    //     "K5": 51279926.8653087,
    //     "K6": -38537232.24655523,
    //     "K7": 90944639.56475219,
    //     "K8": -61140797.919737585,
    //     "K9": 81454459.44338715,
    //     "K10": -58092913.97342391,
    //     "K11": -72783395.93634206,
    //     "K12": 83714199.93862727,
    //     "K13": -6602999.822305962
    //   },
    //   "R18": {
    //     "K1": 81125476.96221593,
    //     "K2": -15678241.982997805,
    //     "K3": 29847160.866979644,
    //     "K4": 32575102.32457909,
    //     "K5": 53705689.48072979,
    //     "K6": 26560676.102667153,
    //     "K7": -57297151.32330386,
    //     "K8": 81883939.70865473,
    //     "K9": 78017838.93346009,
    //     "K10": 97297993.24237734,
    //     "K11": -5733052.59053418,
    //     "K12": -40994360.14220475,
    //     "K13": -86386742.0340326
    //   },
    //   "R19": {
    //     "K1": 1988672.918696329,
    //     "K2": -16342198.185467005,
    //     "K3": -10106733.709240377,
    //     "K4": -55644268.37336937,
    //     "K5": -66457544.80861367,
    //     "K6": 53547987.50141114,
    //     "K7": 27350743.5202661,
    //     "K8": 12153239.274647161,
    //     "K9": 55085063.30202469,
    //     "K10": -79028221.07131793,
    //     "K11": -19873110.015942737,
    //     "K12": 99677280.5047172,
    //     "K13": -28631416.27327445
    //   },
    //   "R21": {
    //     "K1": 39972112.27278048,
    //     "K2": -42118658.930664174,
    //     "K3": 16262635.234746099,
    //     "K4": -64042128.87518197,
    //     "K5": -66798842.680669695,
    //     "K6": 37731970.979158014,
    //     "K7": -31469159.497928783,
    //     "K8": -79702677.64927405,
    //     "K9": -12003548.058782026,
    //     "K10": 27009438.889746606,
    //     "K11": 56330832.66602519,
    //     "K12": 42959705.926460356,
    //     "K13": 31625367.47786802
    //   },
    //   "R22": {
    //     "K1": 84943303.45695382,
    //     "K2": 66950861.6606465,
    //     "K3": 19137089.20687473,
    //     "K4": -94615260.36361007,
    //     "K5": 82783304.8978081,
    //     "K6": 88898065.638132,
    //     "K7": 12912504.722114041,
    //     "K8": -31240197.408636346,
    //     "K9": 32074822.132917017,
    //     "K10": 52179491.009408385,
    //     "K11": 76987080.85023928,
    //     "K12": -55669258.890840955,
    //     "K13": 92492746.51219729
    //   },
    //   "R23": {
    //     "K1": 33233357.124759212,
    //     "K2": -77500589.61288348,
    //     "K3": -28588605.029998735,
    //     "K4": -85741285.9722408,
    //     "K5": 55162099.69075939,
    //     "K6": -94362537.83993389,
    //     "K7": -40738102.46895642,
    //     "K8": -71152537.89628536,
    //     "K9": 90814229.80336836,
    //     "K10": 96398353.46234035,
    //     "K11": 796264.9468028247,
    //     "K12": -35678905.2723296,
    //     "K13": -17355301.956623003
    //   },
    //   "R24": {
    //     "K1": 85117477.84713766,
    //     "K2": 48608815.91164884,
    //     "K3": 16330685.606443569,
    //     "K4": 38981094.11610511,
    //     "K5": 723023.3953915238,
    //     "K6": -33522066.66338762,
    //     "K7": -2508640.6388278455,
    //     "K8": 76850434.16760865,
    //     "K9": -2015767.7278687954,
    //     "K10": -10964366.13584721,
    //     "K11": 52891343.51662207,
    //     "K12": 3231318.0755123943,
    //     "K13": -82377727.86533397
    //   },
    //   "R25": {
    //     "K1": 27053862.593084693,
    //     "K2": -68487597.67087218,
    //     "K3": -63435172.686566025,
    //     "K4": 99433711.72748461,
    //     "K5": 88593702.24730924,
    //     "K6": -16228055.005771711,
    //     "K7": 84824722.58573067,
    //     "K8": -25643813.136481255,
    //     "K9": 32804278.22628145,
    //     "K10": -8876510.854601085,
    //     "K11": -25051142.416079268,
    //     "K12": -80420376.94804779,
    //     "K13": -41790619.75363392
    //   },
    //   "R26": {
    //     "K1": -43301474.36394261,
    //     "K2": -39347512.15183914,
    //     "K3": -47754522.59578588,
    //     "K4": 41490182.75911936,
    //     "K5": 46141725.165501356,
    //     "K6": 70342976.82559392,
    //     "K7": 92472099.99450186,
    //     "K8": -62385131.69777149,
    //     "K9": -9442593.305877984,
    //     "K10": -2942238.7861555666,
    //     "K11": 13243041.514666617,
    //     "K12": 41756474.82200414,
    //     "K13": 2365238.0130057484
    //   },
    //   "R28": {
    //     "K1": -67656796.2230135,
    //     "K2": -24101485.490911186,
    //     "K3": 26549235.174843088,
    //     "K4": 3909749.949918866,
    //     "K5": -42582424.00000855,
    //     "K6": 16604105.890433908,
    //     "K7": 98650591.05628678,
    //     "K8": -29028219.73833269,
    //     "K9": -9045080.474506676,
    //     "K10": 14920954.57089229,
    //     "K11": -52475264.703479186,
    //     "K12": 90325121.22074991,
    //     "K13": -61203267.622858435
    //   },
    //   "R29": {
    //     "K1": 13957829.093164831,
    //     "K2": 73901839.5892523,
    //     "K3": -38455941.96104081,
    //     "K4": 15925960.005299851,
    //     "K5": 72904041.9864107,
    //     "K6": -80687177.60049963,
    //     "K7": -4633822.42569223,
    //     "K8": 91880741.61911461,
    //     "K9": -53381617.959063955,
    //     "K10": 7102869.867953256,
    //     "K11": 45656841.23339057,
    //     "K12": 17608872.307566687,
    //     "K13": 67117795.54256973
    //   },
    //   "R30": {
    //     "K1": 69459336.51394305,
    //     "K2": 19591115.900983125,
    //     "K3": 65871733.469289094,
    //     "K4": 65306227.08221343,
    //     "K5": 69668095.33120698,
    //     "K6": 25279081.42791216,
    //     "K7": -83956549.03228618,
    //     "K8": -91167638.05094416,
    //     "K9": 78551050.00103259,
    //     "K10": -31479795.46844226,
    //     "K11": -82811638.54663417,
    //     "K12": 85576463.13794911,
    //     "K13": 41921790.821296275
    //   },
    //   "R32": {
    //     "K1": -95124551.85510214,
    //     "K2": 63920389.01589677,
    //     "K3": -72593928.93873486,
    //     "K4": -64446975.25890932,
    //     "K5": 28686574.770068333,
    //     "K6": -7372803.285709217,
    //     "K7": -16066311.866565824,
    //     "K8": -34798905.52538736,
    //     "K9": 96330325.0778881,
    //     "K10": -2848384.0606798828,
    //     "K11": 20292409.67830886,
    //     "K12": 93243016.06422222,
    //     "K13": -35205432.34803006
    //   },
    //   "R33": {
    //     "K1": 88219840.70675746,
    //     "K2": -77247810.33047545,
    //     "K3": -40969508.67067752,
    //     "K4": -61422267.46456712,
    //     "K5": 99929611.6545366,
    //     "K6": -10563200.378209457,
    //     "K7": -78109284.67052722,
    //     "K8": 76425795.06280148,
    //     "K9": 79292993.27556828,
    //     "K10": 85392682.13323775,
    //     "K11": -4727825.177197203,
    //     "K12": -14727507.739842638,
    //     "K13": -70296668.28068507
    //   },
    //   "R34": {
    //     "K1": -49699147.24186339,
    //     "K2": 48029636.647608906,
    //     "K3": -84514862.8218416,
    //     "K4": 27556755.80536358,
    //     "K5": 16913851.04386884,
    //     "K6": -37210584.70137515,
    //     "K7": 36947135.08742139,
    //     "K8": 1182505.8034349233,
    //     "K9": -26305027.34856659,
    //     "K10": -20466261.111457214,
    //     "K11": 96904180.30886611,
    //     "K12": -96960561.87605353,
    //     "K13": -70958667.20242566
    //   },
    //   "R35": {
    //     "K1": -94903037.03404047,
    //     "K2": 68914098.42550737,
    //     "K3": -40524211.71328393,
    //     "K4": 30689592.841940045,
    //     "K5": 85490996.22593585,
    //     "K6": -15258918.836923078,
    //     "K7": 1991364.7085271925,
    //     "K8": -69970119.28270017,
    //     "K9": 36626191.270272374,
    //     "K10": -64303540.53738574,
    //     "K11": -63950698.167531475,
    //     "K12": 6293019.110458434,
    //     "K13": 42744176.276637584
    //   },
    //   "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": -72146640,
    //   "UID": "incididunt",
    //   "NmrKods": "dolore eni",
    //   "Precizejums": true,
    //   "PrecizejamaisDokuments": -45897934,
    //   "PrecizejumaPamatojums": "qui ea"
    // }

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

    var value: String?

    var Epasts: String? = jResp.string(of: "Epasts")
    var Talrunis: String? = jResp.string(of: "Talrunis")
    var Gads: Int = jResp.int(of: "Gads").intValue
    var Menesis: Int = jResp.int(of: "Menesis").intValue
    var Datums: String? = jResp.string(of: "Datums")
    var MaksTerm: String? = jResp.string(of: "MaksTerm")
    var NmStatuss: String? = jResp.string(of: "NmStatuss")
    var R08: String? = jResp.string(of: "R08")
    var R09: String? = jResp.string(of: "R09")
    var Sagatavotajs: String? = jResp.string(of: "Sagatavotajs")
    var K1: String? = jResp.string(of: "R10.K1")
    var K2: String? = jResp.string(of: "R10.K2")
    var K3: String? = jResp.string(of: "R10.K3")
    var K4: String? = jResp.string(of: "R10.K4")
    var K5: String? = jResp.string(of: "R10.K5")
    var K6: String? = jResp.string(of: "R10.K6")
    var K7: String? = jResp.string(of: "R10.K7")
    var K8: String? = jResp.string(of: "R10.K8")
    var K9: String? = jResp.string(of: "R10.K9")
    var K10: String? = jResp.string(of: "R10.K10")
    var K11: String? = jResp.string(of: "R10.K11")
    var K12: String? = jResp.string(of: "R10.K12")
    var K13: String? = jResp.string(of: "R10.K13")
    var R11K1: String? = jResp.string(of: "R11.K1")
    var R11K2: String? = jResp.string(of: "R11.K2")
    var R11K3: String? = jResp.string(of: "R11.K3")
    var R11K4: String? = jResp.string(of: "R11.K4")
    var R11K5: String? = jResp.string(of: "R11.K5")
    var R11K6: String? = jResp.string(of: "R11.K6")
    var R11K7: String? = jResp.string(of: "R11.K7")
    var R11K8: String? = jResp.string(of: "R11.K8")
    var R11K9: String? = jResp.string(of: "R11.K9")
    var R11K10: String? = jResp.string(of: "R11.K10")
    var R11K11: String? = jResp.string(of: "R11.K11")
    var R11K12: String? = jResp.string(of: "R11.K12")
    var R11K13: String? = jResp.string(of: "R11.K13")
    var R12K1: String? = jResp.string(of: "R12.K1")
    var R12K2: String? = jResp.string(of: "R12.K2")
    var R12K3: String? = jResp.string(of: "R12.K3")
    var R12K4: String? = jResp.string(of: "R12.K4")
    var R12K5: String? = jResp.string(of: "R12.K5")
    var R12K6: String? = jResp.string(of: "R12.K6")
    var R12K7: String? = jResp.string(of: "R12.K7")
    var R12K8: String? = jResp.string(of: "R12.K8")
    var R12K9: String? = jResp.string(of: "R12.K9")
    var R12K10: String? = jResp.string(of: "R12.K10")
    var R12K11: String? = jResp.string(of: "R12.K11")
    var R12K12: String? = jResp.string(of: "R12.K12")
    var R12K13: String? = jResp.string(of: "R12.K13")
    var R13K1: String? = jResp.string(of: "R13.K1")
    var R13K2: String? = jResp.string(of: "R13.K2")
    var R13K3: String? = jResp.string(of: "R13.K3")
    var R13K4: String? = jResp.string(of: "R13.K4")
    var R13K5: String? = jResp.string(of: "R13.K5")
    var R13K6: String? = jResp.string(of: "R13.K6")
    var R13K7: String? = jResp.string(of: "R13.K7")
    var R13K8: String? = jResp.string(of: "R13.K8")
    var R13K9: String? = jResp.string(of: "R13.K9")
    var R13K10: String? = jResp.string(of: "R13.K10")
    var R13K11: String? = jResp.string(of: "R13.K11")
    var R13K12: String? = jResp.string(of: "R13.K12")
    var R13K13: String? = jResp.string(of: "R13.K13")
    var R14K1: String? = jResp.string(of: "R14.K1")
    var R14K2: String? = jResp.string(of: "R14.K2")
    var R14K3: String? = jResp.string(of: "R14.K3")
    var R14K4: String? = jResp.string(of: "R14.K4")
    var R14K5: String? = jResp.string(of: "R14.K5")
    var R14K6: String? = jResp.string(of: "R14.K6")
    var R14K7: String? = jResp.string(of: "R14.K7")
    var R14K8: String? = jResp.string(of: "R14.K8")
    var R14K9: String? = jResp.string(of: "R14.K9")
    var R14K10: String? = jResp.string(of: "R14.K10")
    var R14K11: String? = jResp.string(of: "R14.K11")
    var R14K12: String? = jResp.string(of: "R14.K12")
    var R14K13: String? = jResp.string(of: "R14.K13")
    var R15K1: String? = jResp.string(of: "R15.K1")
    var R15K2: String? = jResp.string(of: "R15.K2")
    var R15K3: String? = jResp.string(of: "R15.K3")
    var R15K4: String? = jResp.string(of: "R15.K4")
    var R15K5: String? = jResp.string(of: "R15.K5")
    var R15K6: String? = jResp.string(of: "R15.K6")
    var R15K7: String? = jResp.string(of: "R15.K7")
    var R15K8: String? = jResp.string(of: "R15.K8")
    var R15K9: String? = jResp.string(of: "R15.K9")
    var R15K10: String? = jResp.string(of: "R15.K10")
    var R15K11: String? = jResp.string(of: "R15.K11")
    var R15K12: String? = jResp.string(of: "R15.K12")
    var R15K13: String? = jResp.string(of: "R15.K13")
    var R16K1: String? = jResp.string(of: "R16.K1")
    var R16K2: String? = jResp.string(of: "R16.K2")
    var R16K3: String? = jResp.string(of: "R16.K3")
    var R16K4: String? = jResp.string(of: "R16.K4")
    var R16K5: String? = jResp.string(of: "R16.K5")
    var R16K6: String? = jResp.string(of: "R16.K6")
    var R16K7: String? = jResp.string(of: "R16.K7")
    var R16K8: String? = jResp.string(of: "R16.K8")
    var R16K9: String? = jResp.string(of: "R16.K9")
    var R16K10: String? = jResp.string(of: "R16.K10")
    var R16K11: String? = jResp.string(of: "R16.K11")
    var R16K12: String? = jResp.string(of: "R16.K12")
    var R16K13: String? = jResp.string(of: "R16.K13")
    var R17K1: String? = jResp.string(of: "R17.K1")
    var R17K2: String? = jResp.string(of: "R17.K2")
    var R17K3: String? = jResp.string(of: "R17.K3")
    var R17K4: String? = jResp.string(of: "R17.K4")
    var R17K5: String? = jResp.string(of: "R17.K5")
    var R17K6: String? = jResp.string(of: "R17.K6")
    var R17K7: String? = jResp.string(of: "R17.K7")
    var R17K8: String? = jResp.string(of: "R17.K8")
    var R17K9: String? = jResp.string(of: "R17.K9")
    var R17K10: String? = jResp.string(of: "R17.K10")
    var R17K11: String? = jResp.string(of: "R17.K11")
    var R17K12: String? = jResp.string(of: "R17.K12")
    var R17K13: String? = jResp.string(of: "R17.K13")
    var R18K1: String? = jResp.string(of: "R18.K1")
    var R18K2: String? = jResp.string(of: "R18.K2")
    var R18K3: String? = jResp.string(of: "R18.K3")
    var R18K4: String? = jResp.string(of: "R18.K4")
    var R18K5: String? = jResp.string(of: "R18.K5")
    var R18K6: String? = jResp.string(of: "R18.K6")
    var R18K7: String? = jResp.string(of: "R18.K7")
    var R18K8: String? = jResp.string(of: "R18.K8")
    var R18K9: String? = jResp.string(of: "R18.K9")
    var R18K10: String? = jResp.string(of: "R18.K10")
    var R18K11: String? = jResp.string(of: "R18.K11")
    var R18K12: String? = jResp.string(of: "R18.K12")
    var R18K13: String? = jResp.string(of: "R18.K13")
    var R19K1: String? = jResp.string(of: "R19.K1")
    var R19K2: String? = jResp.string(of: "R19.K2")
    var R19K3: String? = jResp.string(of: "R19.K3")
    var R19K4: String? = jResp.string(of: "R19.K4")
    var R19K5: String? = jResp.string(of: "R19.K5")
    var R19K6: String? = jResp.string(of: "R19.K6")
    var R19K7: String? = jResp.string(of: "R19.K7")
    var R19K8: String? = jResp.string(of: "R19.K8")
    var R19K9: String? = jResp.string(of: "R19.K9")
    var R19K10: String? = jResp.string(of: "R19.K10")
    var R19K11: String? = jResp.string(of: "R19.K11")
    var R19K12: String? = jResp.string(of: "R19.K12")
    var R19K13: String? = jResp.string(of: "R19.K13")
    var R21K1: String? = jResp.string(of: "R21.K1")
    var R21K2: String? = jResp.string(of: "R21.K2")
    var R21K3: String? = jResp.string(of: "R21.K3")
    var R21K4: String? = jResp.string(of: "R21.K4")
    var R21K5: String? = jResp.string(of: "R21.K5")
    var R21K6: String? = jResp.string(of: "R21.K6")
    var R21K7: String? = jResp.string(of: "R21.K7")
    var R21K8: String? = jResp.string(of: "R21.K8")
    var R21K9: String? = jResp.string(of: "R21.K9")
    var R21K10: String? = jResp.string(of: "R21.K10")
    var R21K11: String? = jResp.string(of: "R21.K11")
    var R21K12: String? = jResp.string(of: "R21.K12")
    var R21K13: String? = jResp.string(of: "R21.K13")
    var R22K1: String? = jResp.string(of: "R22.K1")
    var R22K2: String? = jResp.string(of: "R22.K2")
    var R22K3: String? = jResp.string(of: "R22.K3")
    var R22K4: String? = jResp.string(of: "R22.K4")
    var R22K5: String? = jResp.string(of: "R22.K5")
    var R22K6: String? = jResp.string(of: "R22.K6")
    var R22K7: String? = jResp.string(of: "R22.K7")
    var R22K8: String? = jResp.string(of: "R22.K8")
    var R22K9: String? = jResp.string(of: "R22.K9")
    var R22K10: String? = jResp.string(of: "R22.K10")
    var R22K11: String? = jResp.string(of: "R22.K11")
    var R22K12: String? = jResp.string(of: "R22.K12")
    var R22K13: String? = jResp.string(of: "R22.K13")
    var R23K1: String? = jResp.string(of: "R23.K1")
    var R23K2: String? = jResp.string(of: "R23.K2")
    var R23K3: String? = jResp.string(of: "R23.K3")
    var R23K4: String? = jResp.string(of: "R23.K4")
    var R23K5: String? = jResp.string(of: "R23.K5")
    var R23K6: String? = jResp.string(of: "R23.K6")
    var R23K7: String? = jResp.string(of: "R23.K7")
    var R23K8: String? = jResp.string(of: "R23.K8")
    var R23K9: String? = jResp.string(of: "R23.K9")
    var R23K10: String? = jResp.string(of: "R23.K10")
    var R23K11: String? = jResp.string(of: "R23.K11")
    var R23K12: String? = jResp.string(of: "R23.K12")
    var R23K13: String? = jResp.string(of: "R23.K13")
    var R24K1: String? = jResp.string(of: "R24.K1")
    var R24K2: String? = jResp.string(of: "R24.K2")
    var R24K3: String? = jResp.string(of: "R24.K3")
    var R24K4: String? = jResp.string(of: "R24.K4")
    var R24K5: String? = jResp.string(of: "R24.K5")
    var R24K6: String? = jResp.string(of: "R24.K6")
    var R24K7: String? = jResp.string(of: "R24.K7")
    var R24K8: String? = jResp.string(of: "R24.K8")
    var R24K9: String? = jResp.string(of: "R24.K9")
    var R24K10: String? = jResp.string(of: "R24.K10")
    var R24K11: String? = jResp.string(of: "R24.K11")
    var R24K12: String? = jResp.string(of: "R24.K12")
    var R24K13: String? = jResp.string(of: "R24.K13")
    var R25K1: String? = jResp.string(of: "R25.K1")
    var R25K2: String? = jResp.string(of: "R25.K2")
    var R25K3: String? = jResp.string(of: "R25.K3")
    var R25K4: String? = jResp.string(of: "R25.K4")
    var R25K5: String? = jResp.string(of: "R25.K5")
    var R25K6: String? = jResp.string(of: "R25.K6")
    var R25K7: String? = jResp.string(of: "R25.K7")
    var R25K8: String? = jResp.string(of: "R25.K8")
    var R25K9: String? = jResp.string(of: "R25.K9")
    var R25K10: String? = jResp.string(of: "R25.K10")
    var R25K11: String? = jResp.string(of: "R25.K11")
    var R25K12: String? = jResp.string(of: "R25.K12")
    var R25K13: String? = jResp.string(of: "R25.K13")
    var R26K1: String? = jResp.string(of: "R26.K1")
    var R26K2: String? = jResp.string(of: "R26.K2")
    var R26K3: String? = jResp.string(of: "R26.K3")
    var R26K4: String? = jResp.string(of: "R26.K4")
    var R26K5: String? = jResp.string(of: "R26.K5")
    var R26K6: String? = jResp.string(of: "R26.K6")
    var R26K7: String? = jResp.string(of: "R26.K7")
    var R26K8: String? = jResp.string(of: "R26.K8")
    var R26K9: String? = jResp.string(of: "R26.K9")
    var R26K10: String? = jResp.string(of: "R26.K10")
    var R26K11: String? = jResp.string(of: "R26.K11")
    var R26K12: String? = jResp.string(of: "R26.K12")
    var R26K13: String? = jResp.string(of: "R26.K13")
    var R28K1: String? = jResp.string(of: "R28.K1")
    var R28K2: String? = jResp.string(of: "R28.K2")
    var R28K3: String? = jResp.string(of: "R28.K3")
    var R28K4: String? = jResp.string(of: "R28.K4")
    var R28K5: String? = jResp.string(of: "R28.K5")
    var R28K6: String? = jResp.string(of: "R28.K6")
    var R28K7: String? = jResp.string(of: "R28.K7")
    var R28K8: String? = jResp.string(of: "R28.K8")
    var R28K9: String? = jResp.string(of: "R28.K9")
    var R28K10: String? = jResp.string(of: "R28.K10")
    var R28K11: String? = jResp.string(of: "R28.K11")
    var R28K12: String? = jResp.string(of: "R28.K12")
    var R28K13: String? = jResp.string(of: "R28.K13")
    var R29K1: String? = jResp.string(of: "R29.K1")
    var R29K2: String? = jResp.string(of: "R29.K2")
    var R29K3: String? = jResp.string(of: "R29.K3")
    var R29K4: String? = jResp.string(of: "R29.K4")
    var R29K5: String? = jResp.string(of: "R29.K5")
    var R29K6: String? = jResp.string(of: "R29.K6")
    var R29K7: String? = jResp.string(of: "R29.K7")
    var R29K8: String? = jResp.string(of: "R29.K8")
    var R29K9: String? = jResp.string(of: "R29.K9")
    var R29K10: String? = jResp.string(of: "R29.K10")
    var R29K11: String? = jResp.string(of: "R29.K11")
    var R29K12: String? = jResp.string(of: "R29.K12")
    var R29K13: String? = jResp.string(of: "R29.K13")
    var R30K1: String? = jResp.string(of: "R30.K1")
    var R30K2: String? = jResp.string(of: "R30.K2")
    var R30K3: String? = jResp.string(of: "R30.K3")
    var R30K4: String? = jResp.string(of: "R30.K4")
    var R30K5: String? = jResp.string(of: "R30.K5")
    var R30K6: String? = jResp.string(of: "R30.K6")
    var R30K7: String? = jResp.string(of: "R30.K7")
    var R30K8: String? = jResp.string(of: "R30.K8")
    var R30K9: String? = jResp.string(of: "R30.K9")
    var R30K10: String? = jResp.string(of: "R30.K10")
    var R30K11: String? = jResp.string(of: "R30.K11")
    var R30K12: String? = jResp.string(of: "R30.K12")
    var R30K13: String? = jResp.string(of: "R30.K13")
    var R32K1: String? = jResp.string(of: "R32.K1")
    var R32K2: String? = jResp.string(of: "R32.K2")
    var R32K3: String? = jResp.string(of: "R32.K3")
    var R32K4: String? = jResp.string(of: "R32.K4")
    var R32K5: String? = jResp.string(of: "R32.K5")
    var R32K6: String? = jResp.string(of: "R32.K6")
    var R32K7: String? = jResp.string(of: "R32.K7")
    var R32K8: String? = jResp.string(of: "R32.K8")
    var R32K9: String? = jResp.string(of: "R32.K9")
    var R32K10: String? = jResp.string(of: "R32.K10")
    var R32K11: String? = jResp.string(of: "R32.K11")
    var R32K12: String? = jResp.string(of: "R32.K12")
    var R32K13: String? = jResp.string(of: "R32.K13")
    var R33K1: String? = jResp.string(of: "R33.K1")
    var R33K2: String? = jResp.string(of: "R33.K2")
    var R33K3: String? = jResp.string(of: "R33.K3")
    var R33K4: String? = jResp.string(of: "R33.K4")
    var R33K5: String? = jResp.string(of: "R33.K5")
    var R33K6: String? = jResp.string(of: "R33.K6")
    var R33K7: String? = jResp.string(of: "R33.K7")
    var R33K8: String? = jResp.string(of: "R33.K8")
    var R33K9: String? = jResp.string(of: "R33.K9")
    var R33K10: String? = jResp.string(of: "R33.K10")
    var R33K11: String? = jResp.string(of: "R33.K11")
    var R33K12: String? = jResp.string(of: "R33.K12")
    var R33K13: String? = jResp.string(of: "R33.K13")
    var R34K1: String? = jResp.string(of: "R34.K1")
    var R34K2: String? = jResp.string(of: "R34.K2")
    var R34K3: String? = jResp.string(of: "R34.K3")
    var R34K4: String? = jResp.string(of: "R34.K4")
    var R34K5: String? = jResp.string(of: "R34.K5")
    var R34K6: String? = jResp.string(of: "R34.K6")
    var R34K7: String? = jResp.string(of: "R34.K7")
    var R34K8: String? = jResp.string(of: "R34.K8")
    var R34K9: String? = jResp.string(of: "R34.K9")
    var R34K10: String? = jResp.string(of: "R34.K10")
    var R34K11: String? = jResp.string(of: "R34.K11")
    var R34K12: String? = jResp.string(of: "R34.K12")
    var R34K13: String? = jResp.string(of: "R34.K13")
    var R35K1: String? = jResp.string(of: "R35.K1")
    var R35K2: String? = jResp.string(of: "R35.K2")
    var R35K3: String? = jResp.string(of: "R35.K3")
    var R35K4: String? = jResp.string(of: "R35.K4")
    var R35K5: String? = jResp.string(of: "R35.K5")
    var R35K6: String? = jResp.string(of: "R35.K6")
    var R35K7: String? = jResp.string(of: "R35.K7")
    var R35K8: String? = jResp.string(of: "R35.K8")
    var R35K9: String? = jResp.string(of: "R35.K9")
    var R35K10: String? = jResp.string(of: "R35.K10")
    var R35K11: String? = jResp.string(of: "R35.K11")
    var R35K12: String? = jResp.string(of: "R35.K12")
    var R35K13: String? = jResp.string(of: "R35.K13")
    var Value: String? = jResp.string(of: "R37.PielikumsRindai15.Fails.value")
    var KomentarsValue: String? = jResp.string(of: "R37.PielikumsRindai15.Komentars.value")
    var FailsValue: String? = jResp.string(of: "R37.PielikumsRindai16.Fails.value")
    KomentarsValue = jResp.string(of: "R37.PielikumsRindai16.Komentars.value")
    FailsValue = jResp.string(of: "R37.PielikumsRindai17.Fails.value")
    KomentarsValue = jResp.string(of: "R37.PielikumsRindai17.Komentars.value")
    FailsValue = jResp.string(of: "R37.PielikumsRindai18.Fails.value")
    KomentarsValue = jResp.string(of: "R37.PielikumsRindai18.Komentars.value")
    FailsValue = jResp.string(of: "R37.PielikumsRindai19.Fails.value")
    KomentarsValue = jResp.string(of: "R37.PielikumsRindai19.Komentars.value")
    FailsValue = jResp.string(of: "R37.PielikumsRindai33.Fails.value")
    KomentarsValue = jResp.string(of: "R37.PielikumsRindai33.Komentars.value")
    var Id: Int = jResp.int(of: "Id").intValue
    var UID: String? = jResp.string(of: "UID")
    var NmrKods: String? = jResp.string(of: "NmrKods")
    var Precizejums: Bool = jResp.bool(of: "Precizejums")
    var PrecizejamaisDokuments: Int = jResp.int(of: "PrecizejamaisDokuments").intValue
    var PrecizejumaPamatojums: String? = jResp.string(of: "PrecizejumaPamatojums")
    var i: Int = 0
    var count_i: Int = jResp.size(ofArray: "R37.CitiDokumenti").intValue
    while i < count_i {
        jResp.i = i
        value = jResp.string(of: "R37.CitiDokumenti[i].value")
        i = i + 1
    }


}

Curl Command

curl -X GET
	-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/annv5/: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/annv5/:id",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "annv5",
        ":id"
      ],
      "variable": [
        {
          "key": "id",
          "value": "25210683",
          "description": "(Required) Dokumenta id."
        }
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv5/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv5",
            ":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\": \"adipisicing dolor do id aliqua\",\n  \"Talrunis\": \"enim proi\",\n  \"Gads\": 88966504,\n  \"Menesis\": 9,\n  \"Datums\": \"2000-01-31T00:00:00\",\n  \"MaksTerm\": \"2000-01-31T00:00:00\",\n  \"NmStatuss\": \"Lorem sit cillum\",\n  \"R08\": \"consectetur mollit\",\n  \"R09\": \"commodo incididunt exercitation veniam anim\",\n  \"Sagatavotajs\": \"anim\",\n  \"R10\": {\n    \"K1\": 54561036.059885085,\n    \"K2\": 80157806.66328225,\n    \"K3\": 26688345.399236992,\n    \"K4\": -48808190.27245113,\n    \"K5\": -17416380.25642529,\n    \"K6\": 97288484.37906054,\n    \"K7\": 74278499.74381235,\n    \"K8\": -35044383.37263998,\n    \"K9\": -88926649.34537731,\n    \"K10\": -71386837.72167207,\n    \"K11\": 92446958.57749608,\n    \"K12\": 64904902.19575098,\n    \"K13\": -818080.8898649216\n  },\n  \"R11\": {\n    \"K1\": 8211590.655684993,\n    \"K2\": 23007715.515310958,\n    \"K3\": 21326814.693438932,\n    \"K4\": 70019907.54170892,\n    \"K5\": 80824068.26875967,\n    \"K6\": -76709185.5815651,\n    \"K7\": -77284641.88125952,\n    \"K8\": 60714416.85436404,\n    \"K9\": -4624671.294085532,\n    \"K10\": 84446044.96796063,\n    \"K11\": 25458686.542443365,\n    \"K12\": 28883784.38785146,\n    \"K13\": 97105281.2249586\n  },\n  \"R12\": {\n    \"K1\": -73138570.33068891,\n    \"K2\": 28331744.935890675,\n    \"K3\": 59174760.020377904,\n    \"K4\": -29168880.3402725,\n    \"K5\": 50648492.350583434,\n    \"K6\": -30330148.662513018,\n    \"K7\": 95265340.63135964,\n    \"K8\": 22348745.91182767,\n    \"K9\": -74076564.04836969,\n    \"K10\": -50732872.92652098,\n    \"K11\": 94109332.7471897,\n    \"K12\": -59706038.42454527,\n    \"K13\": 96172655.93525714\n  },\n  \"R13\": {\n    \"K1\": 35988536.99688882,\n    \"K2\": -58854837.720504835,\n    \"K3\": 33913491.35000192,\n    \"K4\": 18428249.729926094,\n    \"K5\": -84860962.53709783,\n    \"K6\": -45473674.08660339,\n    \"K7\": -3650117.7527612895,\n    \"K8\": -40521121.262089774,\n    \"K9\": 22209040.895266786,\n    \"K10\": -99819889.557094,\n    \"K11\": -83312804.90283595,\n    \"K12\": 94353352.51000518,\n    \"K13\": 6303735.905158713\n  },\n  \"R14\": {\n    \"K1\": -47229106.06431245,\n    \"K2\": 95644858.4595584,\n    \"K3\": -51209742.271006405,\n    \"K4\": 81982584.86635605,\n    \"K5\": 72846357.96965313,\n    \"K6\": -55788299.70514021,\n    \"K7\": -34899872.91637977,\n    \"K8\": -20147039.31167361,\n    \"K9\": -73484640.76646803,\n    \"K10\": 30530001.280372903,\n    \"K11\": -74639724.24117258,\n    \"K12\": -2744641.6791486144,\n    \"K13\": -72859644.71635956\n  },\n  \"R15\": {\n    \"K1\": 50254612.65735486,\n    \"K2\": 25421448.106947467,\n    \"K3\": 20612463.57478796,\n    \"K4\": -88570886.00333159,\n    \"K5\": 30832885.224981472,\n    \"K6\": 9190825.397057444,\n    \"K7\": -47810613.520443864,\n    \"K8\": -52522824.18575924,\n    \"K9\": -41945448.37677165,\n    \"K10\": 56728700.35647994,\n    \"K11\": -67262965.36422569,\n    \"K12\": 26725645.44481601,\n    \"K13\": -18280898.40754856\n  },\n  \"R16\": {\n    \"K1\": 70503378.07780638,\n    \"K2\": -38978986.53099534,\n    \"K3\": -86795089.20736754,\n    \"K4\": 54946716.548746765,\n    \"K5\": 12612753.364892319,\n    \"K6\": 49741674.60580671,\n    \"K7\": -92518071.32641047,\n    \"K8\": -56717689.14090647,\n    \"K9\": 3905647.7371486723,\n    \"K10\": -58956796.964352034,\n    \"K11\": -8863893.727915823,\n    \"K12\": -36371553.59563047,\n    \"K13\": -55250861.15577506\n  },\n  \"R17\": {\n    \"K1\": -79921937.76614597,\n    \"K2\": 84500530.3034398,\n    \"K3\": 63893205.49969518,\n    \"K4\": 90460882.55641526,\n    \"K5\": 51279926.8653087,\n    \"K6\": -38537232.24655523,\n    \"K7\": 90944639.56475219,\n    \"K8\": -61140797.919737585,\n    \"K9\": 81454459.44338715,\n    \"K10\": -58092913.97342391,\n    \"K11\": -72783395.93634206,\n    \"K12\": 83714199.93862727,\n    \"K13\": -6602999.822305962\n  },\n  \"R18\": {\n    \"K1\": 81125476.96221593,\n    \"K2\": -15678241.982997805,\n    \"K3\": 29847160.866979644,\n    \"K4\": 32575102.32457909,\n    \"K5\": 53705689.48072979,\n    \"K6\": 26560676.102667153,\n    \"K7\": -57297151.32330386,\n    \"K8\": 81883939.70865473,\n    \"K9\": 78017838.93346009,\n    \"K10\": 97297993.24237734,\n    \"K11\": -5733052.59053418,\n    \"K12\": -40994360.14220475,\n    \"K13\": -86386742.0340326\n  },\n  \"R19\": {\n    \"K1\": 1988672.918696329,\n    \"K2\": -16342198.185467005,\n    \"K3\": -10106733.709240377,\n    \"K4\": -55644268.37336937,\n    \"K5\": -66457544.80861367,\n    \"K6\": 53547987.50141114,\n    \"K7\": 27350743.5202661,\n    \"K8\": 12153239.274647161,\n    \"K9\": 55085063.30202469,\n    \"K10\": -79028221.07131793,\n    \"K11\": -19873110.015942737,\n    \"K12\": 99677280.5047172,\n    \"K13\": -28631416.27327445\n  },\n  \"R21\": {\n    \"K1\": 39972112.27278048,\n    \"K2\": -42118658.930664174,\n    \"K3\": 16262635.234746099,\n    \"K4\": -64042128.87518197,\n    \"K5\": -66798842.680669695,\n    \"K6\": 37731970.979158014,\n    \"K7\": -31469159.497928783,\n    \"K8\": -79702677.64927405,\n    \"K9\": -12003548.058782026,\n    \"K10\": 27009438.889746606,\n    \"K11\": 56330832.66602519,\n    \"K12\": 42959705.926460356,\n    \"K13\": 31625367.47786802\n  },\n  \"R22\": {\n    \"K1\": 84943303.45695382,\n    \"K2\": 66950861.6606465,\n    \"K3\": 19137089.20687473,\n    \"K4\": -94615260.36361007,\n    \"K5\": 82783304.8978081,\n    \"K6\": 88898065.638132,\n    \"K7\": 12912504.722114041,\n    \"K8\": -31240197.408636346,\n    \"K9\": 32074822.132917017,\n    \"K10\": 52179491.009408385,\n    \"K11\": 76987080.85023928,\n    \"K12\": -55669258.890840955,\n    \"K13\": 92492746.51219729\n  },\n  \"R23\": {\n    \"K1\": 33233357.124759212,\n    \"K2\": -77500589.61288348,\n    \"K3\": -28588605.029998735,\n    \"K4\": -85741285.9722408,\n    \"K5\": 55162099.69075939,\n    \"K6\": -94362537.83993389,\n    \"K7\": -40738102.46895642,\n    \"K8\": -71152537.89628536,\n    \"K9\": 90814229.80336836,\n    \"K10\": 96398353.46234035,\n    \"K11\": 796264.9468028247,\n    \"K12\": -35678905.2723296,\n    \"K13\": -17355301.956623003\n  },\n  \"R24\": {\n    \"K1\": 85117477.84713766,\n    \"K2\": 48608815.91164884,\n    \"K3\": 16330685.606443569,\n    \"K4\": 38981094.11610511,\n    \"K5\": 723023.3953915238,\n    \"K6\": -33522066.66338762,\n    \"K7\": -2508640.6388278455,\n    \"K8\": 76850434.16760865,\n    \"K9\": -2015767.7278687954,\n    \"K10\": -10964366.13584721,\n    \"K11\": 52891343.51662207,\n    \"K12\": 3231318.0755123943,\n    \"K13\": -82377727.86533397\n  },\n  \"R25\": {\n    \"K1\": 27053862.593084693,\n    \"K2\": -68487597.67087218,\n    \"K3\": -63435172.686566025,\n    \"K4\": 99433711.72748461,\n    \"K5\": 88593702.24730924,\n    \"K6\": -16228055.005771711,\n    \"K7\": 84824722.58573067,\n    \"K8\": -25643813.136481255,\n    \"K9\": 32804278.22628145,\n    \"K10\": -8876510.854601085,\n    \"K11\": -25051142.416079268,\n    \"K12\": -80420376.94804779,\n    \"K13\": -41790619.75363392\n  },\n  \"R26\": {\n    \"K1\": -43301474.36394261,\n    \"K2\": -39347512.15183914,\n    \"K3\": -47754522.59578588,\n    \"K4\": 41490182.75911936,\n    \"K5\": 46141725.165501356,\n    \"K6\": 70342976.82559392,\n    \"K7\": 92472099.99450186,\n    \"K8\": -62385131.69777149,\n    \"K9\": -9442593.305877984,\n    \"K10\": -2942238.7861555666,\n    \"K11\": 13243041.514666617,\n    \"K12\": 41756474.82200414,\n    \"K13\": 2365238.0130057484\n  },\n  \"R28\": {\n    \"K1\": -67656796.2230135,\n    \"K2\": -24101485.490911186,\n    \"K3\": 26549235.174843088,\n    \"K4\": 3909749.949918866,\n    \"K5\": -42582424.00000855,\n    \"K6\": 16604105.890433908,\n    \"K7\": 98650591.05628678,\n    \"K8\": -29028219.73833269,\n    \"K9\": -9045080.474506676,\n    \"K10\": 14920954.57089229,\n    \"K11\": -52475264.703479186,\n    \"K12\": 90325121.22074991,\n    \"K13\": -61203267.622858435\n  },\n  \"R29\": {\n    \"K1\": 13957829.093164831,\n    \"K2\": 73901839.5892523,\n    \"K3\": -38455941.96104081,\n    \"K4\": 15925960.005299851,\n    \"K5\": 72904041.9864107,\n    \"K6\": -80687177.60049963,\n    \"K7\": -4633822.42569223,\n    \"K8\": 91880741.61911461,\n    \"K9\": -53381617.959063955,\n    \"K10\": 7102869.867953256,\n    \"K11\": 45656841.23339057,\n    \"K12\": 17608872.307566687,\n    \"K13\": 67117795.54256973\n  },\n  \"R30\": {\n    \"K1\": 69459336.51394305,\n    \"K2\": 19591115.900983125,\n    \"K3\": 65871733.469289094,\n    \"K4\": 65306227.08221343,\n    \"K5\": 69668095.33120698,\n    \"K6\": 25279081.42791216,\n    \"K7\": -83956549.03228618,\n    \"K8\": -91167638.05094416,\n    \"K9\": 78551050.00103259,\n    \"K10\": -31479795.46844226,\n    \"K11\": -82811638.54663417,\n    \"K12\": 85576463.13794911,\n    \"K13\": 41921790.821296275\n  },\n  \"R32\": {\n    \"K1\": -95124551.85510214,\n    \"K2\": 63920389.01589677,\n    \"K3\": -72593928.93873486,\n    \"K4\": -64446975.25890932,\n    \"K5\": 28686574.770068333,\n    \"K6\": -7372803.285709217,\n    \"K7\": -16066311.866565824,\n    \"K8\": -34798905.52538736,\n    \"K9\": 96330325.0778881,\n    \"K10\": -2848384.0606798828,\n    \"K11\": 20292409.67830886,\n    \"K12\": 93243016.06422222,\n    \"K13\": -35205432.34803006\n  },\n  \"R33\": {\n    \"K1\": 88219840.70675746,\n    \"K2\": -77247810.33047545,\n    \"K3\": -40969508.67067752,\n    \"K4\": -61422267.46456712,\n    \"K5\": 99929611.6545366,\n    \"K6\": -10563200.378209457,\n    \"K7\": -78109284.67052722,\n    \"K8\": 76425795.06280148,\n    \"K9\": 79292993.27556828,\n    \"K10\": 85392682.13323775,\n    \"K11\": -4727825.177197203,\n    \"K12\": -14727507.739842638,\n    \"K13\": -70296668.28068507\n  },\n  \"R34\": {\n    \"K1\": -49699147.24186339,\n    \"K2\": 48029636.647608906,\n    \"K3\": -84514862.8218416,\n    \"K4\": 27556755.80536358,\n    \"K5\": 16913851.04386884,\n    \"K6\": -37210584.70137515,\n    \"K7\": 36947135.08742139,\n    \"K8\": 1182505.8034349233,\n    \"K9\": -26305027.34856659,\n    \"K10\": -20466261.111457214,\n    \"K11\": 96904180.30886611,\n    \"K12\": -96960561.87605353,\n    \"K13\": -70958667.20242566\n  },\n  \"R35\": {\n    \"K1\": -94903037.03404047,\n    \"K2\": 68914098.42550737,\n    \"K3\": -40524211.71328393,\n    \"K4\": 30689592.841940045,\n    \"K5\": 85490996.22593585,\n    \"K6\": -15258918.836923078,\n    \"K7\": 1991364.7085271925,\n    \"K8\": -69970119.28270017,\n    \"K9\": 36626191.270272374,\n    \"K10\": -64303540.53738574,\n    \"K11\": -63950698.167531475,\n    \"K12\": 6293019.110458434,\n    \"K13\": 42744176.276637584\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\": -72146640,\n  \"UID\": \"incididunt\",\n  \"NmrKods\": \"dolore eni\",\n  \"Precizejums\": true,\n  \"PrecizejamaisDokuments\": -45897934,\n  \"PrecizejumaPamatojums\": \"qui ea\"\n}"
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "GET",
        "header": [
        ],
        "url": {
          "raw": "{{baseUrl}}/api/doc/annv5/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv5",
            ":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/annv5/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv5",
            ":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/annv5/:id",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "annv5",
            ":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": ""
    }
  ]
}