Swift / EDS API / Dokuments "Alkoholisko dzērienu 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/anav3/: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": "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
var value: String?
var Epasts: String? = jResp.StringOf("Epasts")
var Talrunis: String? = jResp.StringOf("Talrunis")
var Gads: Int = jResp.IntOf("Gads").intValue
var Menesis: Int = jResp.IntOf("Menesis").intValue
var Datums: String? = jResp.StringOf("Datums")
var Statuss: String? = jResp.StringOf("Statuss")
var R09: String? = jResp.StringOf("R09")
var R10: String? = jResp.StringOf("R10")
var Sagatavotajs: String? = jResp.StringOf("Sagatavotajs")
var SamTermins: String? = jResp.StringOf("SamTermins")
var K1: String? = jResp.StringOf("R11.K1")
var K2: String? = jResp.StringOf("R11.K2")
var K3: String? = jResp.StringOf("R11.K3")
var K4: String? = jResp.StringOf("R11.K4")
var K5: String? = jResp.StringOf("R11.K5")
var K6: String? = jResp.StringOf("R11.K6")
var K7: String? = jResp.StringOf("R11.K7")
var K8: String? = jResp.StringOf("R11.K8")
var K9: String? = jResp.StringOf("R11.K9")
var K10: String? = jResp.StringOf("R11.K10")
var K11: String? = jResp.StringOf("R11.K11")
var R12K1: String? = jResp.StringOf("R12.K1")
var R12K2: String? = jResp.StringOf("R12.K2")
var R12K3: String? = jResp.StringOf("R12.K3")
var R12K4: String? = jResp.StringOf("R12.K4")
var R12K5: String? = jResp.StringOf("R12.K5")
var R12K6: String? = jResp.StringOf("R12.K6")
var R12K7: String? = jResp.StringOf("R12.K7")
var R12K8: String? = jResp.StringOf("R12.K8")
var R12K9: String? = jResp.StringOf("R12.K9")
var R12K10: String? = jResp.StringOf("R12.K10")
var R12K11: String? = jResp.StringOf("R12.K11")
var R13K1: String? = jResp.StringOf("R13.K1")
var R13K2: String? = jResp.StringOf("R13.K2")
var R13K3: String? = jResp.StringOf("R13.K3")
var R13K4: String? = jResp.StringOf("R13.K4")
var R13K5: String? = jResp.StringOf("R13.K5")
var R13K6: String? = jResp.StringOf("R13.K6")
var R13K7: String? = jResp.StringOf("R13.K7")
var R13K8: String? = jResp.StringOf("R13.K8")
var R13K9: String? = jResp.StringOf("R13.K9")
var R13K10: String? = jResp.StringOf("R13.K10")
var R13K11: String? = jResp.StringOf("R13.K11")
var R14K1: String? = jResp.StringOf("R14.K1")
var R14K2: String? = jResp.StringOf("R14.K2")
var R14K3: String? = jResp.StringOf("R14.K3")
var R14K4: String? = jResp.StringOf("R14.K4")
var R14K5: String? = jResp.StringOf("R14.K5")
var R14K6: String? = jResp.StringOf("R14.K6")
var R14K7: String? = jResp.StringOf("R14.K7")
var R14K8: String? = jResp.StringOf("R14.K8")
var R14K9: String? = jResp.StringOf("R14.K9")
var R14K10: String? = jResp.StringOf("R14.K10")
var R14K11: String? = jResp.StringOf("R14.K11")
var R15K1: String? = jResp.StringOf("R15.K1")
var R15K2: String? = jResp.StringOf("R15.K2")
var R15K3: String? = jResp.StringOf("R15.K3")
var R15K4: String? = jResp.StringOf("R15.K4")
var R15K5: String? = jResp.StringOf("R15.K5")
var R15K6: String? = jResp.StringOf("R15.K6")
var R15K7: String? = jResp.StringOf("R15.K7")
var R15K8: String? = jResp.StringOf("R15.K8")
var R15K9: String? = jResp.StringOf("R15.K9")
var R15K10: String? = jResp.StringOf("R15.K10")
var R15K11: String? = jResp.StringOf("R15.K11")
var R16K1: String? = jResp.StringOf("R16.K1")
var R16K2: String? = jResp.StringOf("R16.K2")
var R16K3: String? = jResp.StringOf("R16.K3")
var R16K4: String? = jResp.StringOf("R16.K4")
var R16K5: String? = jResp.StringOf("R16.K5")
var R16K6: String? = jResp.StringOf("R16.K6")
var R16K7: String? = jResp.StringOf("R16.K7")
var R16K8: String? = jResp.StringOf("R16.K8")
var R16K9: String? = jResp.StringOf("R16.K9")
var R16K10: String? = jResp.StringOf("R16.K10")
var R16K11: String? = jResp.StringOf("R16.K11")
var R17K1: String? = jResp.StringOf("R17.K1")
var R17K2: String? = jResp.StringOf("R17.K2")
var R17K3: String? = jResp.StringOf("R17.K3")
var R17K4: String? = jResp.StringOf("R17.K4")
var R17K5: String? = jResp.StringOf("R17.K5")
var R17K6: String? = jResp.StringOf("R17.K6")
var R17K7: String? = jResp.StringOf("R17.K7")
var R17K8: String? = jResp.StringOf("R17.K8")
var R17K9: String? = jResp.StringOf("R17.K9")
var R17K10: String? = jResp.StringOf("R17.K10")
var R17K11: String? = jResp.StringOf("R17.K11")
var R18K1: String? = jResp.StringOf("R18.K1")
var R18K2: String? = jResp.StringOf("R18.K2")
var R18K3: String? = jResp.StringOf("R18.K3")
var R18K4: String? = jResp.StringOf("R18.K4")
var R18K5: String? = jResp.StringOf("R18.K5")
var R18K6: String? = jResp.StringOf("R18.K6")
var R18K7: String? = jResp.StringOf("R18.K7")
var R18K8: String? = jResp.StringOf("R18.K8")
var R18K9: String? = jResp.StringOf("R18.K9")
var R18K10: String? = jResp.StringOf("R18.K10")
var R18K11: String? = jResp.StringOf("R18.K11")
var R19K1: String? = jResp.StringOf("R19.K1")
var R19K2: String? = jResp.StringOf("R19.K2")
var R19K3: String? = jResp.StringOf("R19.K3")
var R19K4: String? = jResp.StringOf("R19.K4")
var R19K5: String? = jResp.StringOf("R19.K5")
var R19K6: String? = jResp.StringOf("R19.K6")
var R19K7: String? = jResp.StringOf("R19.K7")
var R19K8: String? = jResp.StringOf("R19.K8")
var R19K9: String? = jResp.StringOf("R19.K9")
var R19K10: String? = jResp.StringOf("R19.K10")
var R19K11: String? = jResp.StringOf("R19.K11")
var R20K1: String? = jResp.StringOf("R20.K1")
var R20K2: String? = jResp.StringOf("R20.K2")
var R20K3: String? = jResp.StringOf("R20.K3")
var R20K4: String? = jResp.StringOf("R20.K4")
var R20K5: String? = jResp.StringOf("R20.K5")
var R20K6: String? = jResp.StringOf("R20.K6")
var R20K7: String? = jResp.StringOf("R20.K7")
var R20K8: String? = jResp.StringOf("R20.K8")
var R20K9: String? = jResp.StringOf("R20.K9")
var R20K10: String? = jResp.StringOf("R20.K10")
var R20K11: String? = jResp.StringOf("R20.K11")
var R21K1: String? = jResp.StringOf("R21.K1")
var R21K2: String? = jResp.StringOf("R21.K2")
var R21K3: String? = jResp.StringOf("R21.K3")
var R21K4: String? = jResp.StringOf("R21.K4")
var R21K5: String? = jResp.StringOf("R21.K5")
var R21K6: String? = jResp.StringOf("R21.K6")
var R21K7: String? = jResp.StringOf("R21.K7")
var R21K8: String? = jResp.StringOf("R21.K8")
var R21K9: String? = jResp.StringOf("R21.K9")
var R21K10: String? = jResp.StringOf("R21.K10")
var R21K11: String? = jResp.StringOf("R21.K11")
var R22K1: String? = jResp.StringOf("R22.K1")
var R22K2: String? = jResp.StringOf("R22.K2")
var R22K3: String? = jResp.StringOf("R22.K3")
var R22K4: String? = jResp.StringOf("R22.K4")
var R22K5: String? = jResp.StringOf("R22.K5")
var R22K6: String? = jResp.StringOf("R22.K6")
var R22K7: String? = jResp.StringOf("R22.K7")
var R22K8: String? = jResp.StringOf("R22.K8")
var R22K9: String? = jResp.StringOf("R22.K9")
var R22K10: String? = jResp.StringOf("R22.K10")
var R22K11: String? = jResp.StringOf("R22.K11")
var R24K1: String? = jResp.StringOf("R24.K1")
var R24K2: String? = jResp.StringOf("R24.K2")
var R24K3: String? = jResp.StringOf("R24.K3")
var R24K4: String? = jResp.StringOf("R24.K4")
var R24K5: String? = jResp.StringOf("R24.K5")
var R24K6: String? = jResp.StringOf("R24.K6")
var R24K7: String? = jResp.StringOf("R24.K7")
var R24K8: String? = jResp.StringOf("R24.K8")
var R24K9: String? = jResp.StringOf("R24.K9")
var R24K10: String? = jResp.StringOf("R24.K10")
var R24K11: String? = jResp.StringOf("R24.K11")
var R25K1: String? = jResp.StringOf("R25.K1")
var R25K2: String? = jResp.StringOf("R25.K2")
var R25K3: String? = jResp.StringOf("R25.K3")
var R25K4: String? = jResp.StringOf("R25.K4")
var R25K5: String? = jResp.StringOf("R25.K5")
var R25K6: String? = jResp.StringOf("R25.K6")
var R25K7: String? = jResp.StringOf("R25.K7")
var R25K8: String? = jResp.StringOf("R25.K8")
var R25K9: String? = jResp.StringOf("R25.K9")
var R25K10: String? = jResp.StringOf("R25.K10")
var R25K11: String? = jResp.StringOf("R25.K11")
var R26K1: String? = jResp.StringOf("R26.K1")
var R26K2: String? = jResp.StringOf("R26.K2")
var R26K3: String? = jResp.StringOf("R26.K3")
var R26K4: String? = jResp.StringOf("R26.K4")
var R26K5: String? = jResp.StringOf("R26.K5")
var R26K6: String? = jResp.StringOf("R26.K6")
var R26K7: String? = jResp.StringOf("R26.K7")
var R26K8: String? = jResp.StringOf("R26.K8")
var R26K9: String? = jResp.StringOf("R26.K9")
var R26K10: String? = jResp.StringOf("R26.K10")
var R26K11: String? = jResp.StringOf("R26.K11")
var R27K1: String? = jResp.StringOf("R27.K1")
var R27K2: String? = jResp.StringOf("R27.K2")
var R27K3: String? = jResp.StringOf("R27.K3")
var R27K4: String? = jResp.StringOf("R27.K4")
var R27K5: String? = jResp.StringOf("R27.K5")
var R27K6: String? = jResp.StringOf("R27.K6")
var R27K7: String? = jResp.StringOf("R27.K7")
var R27K8: String? = jResp.StringOf("R27.K8")
var R27K9: String? = jResp.StringOf("R27.K9")
var R27K10: String? = jResp.StringOf("R27.K10")
var R27K11: String? = jResp.StringOf("R27.K11")
var R28K1: String? = jResp.StringOf("R28.K1")
var R28K2: String? = jResp.StringOf("R28.K2")
var R28K3: String? = jResp.StringOf("R28.K3")
var R28K4: String? = jResp.StringOf("R28.K4")
var R28K5: String? = jResp.StringOf("R28.K5")
var R28K6: String? = jResp.StringOf("R28.K6")
var R28K7: String? = jResp.StringOf("R28.K7")
var R28K8: String? = jResp.StringOf("R28.K8")
var R28K9: String? = jResp.StringOf("R28.K9")
var R28K10: String? = jResp.StringOf("R28.K10")
var R28K11: String? = jResp.StringOf("R28.K11")
var R29K1: String? = jResp.StringOf("R29.K1")
var R29K2: String? = jResp.StringOf("R29.K2")
var R29K3: String? = jResp.StringOf("R29.K3")
var R29K4: String? = jResp.StringOf("R29.K4")
var R29K5: String? = jResp.StringOf("R29.K5")
var R29K6: String? = jResp.StringOf("R29.K6")
var R29K7: String? = jResp.StringOf("R29.K7")
var R29K8: String? = jResp.StringOf("R29.K8")
var R29K9: String? = jResp.StringOf("R29.K9")
var R29K10: String? = jResp.StringOf("R29.K10")
var R29K11: String? = jResp.StringOf("R29.K11")
var R30K1: String? = jResp.StringOf("R30.K1")
var R30K2: String? = jResp.StringOf("R30.K2")
var R30K3: String? = jResp.StringOf("R30.K3")
var R30K4: String? = jResp.StringOf("R30.K4")
var R30K5: String? = jResp.StringOf("R30.K5")
var R30K6: String? = jResp.StringOf("R30.K6")
var R30K7: String? = jResp.StringOf("R30.K7")
var R30K8: String? = jResp.StringOf("R30.K8")
var R30K9: String? = jResp.StringOf("R30.K9")
var R30K10: String? = jResp.StringOf("R30.K10")
var R30K11: String? = jResp.StringOf("R30.K11")
var R32K1: String? = jResp.StringOf("R32.K1")
var R32K2: String? = jResp.StringOf("R32.K2")
var R32K3: String? = jResp.StringOf("R32.K3")
var R32K4: String? = jResp.StringOf("R32.K4")
var R32K5: String? = jResp.StringOf("R32.K5")
var R32K6: String? = jResp.StringOf("R32.K6")
var R32K7: String? = jResp.StringOf("R32.K7")
var R32K8: String? = jResp.StringOf("R32.K8")
var R32K9: String? = jResp.StringOf("R32.K9")
var R32K10: String? = jResp.StringOf("R32.K10")
var R32K11: String? = jResp.StringOf("R32.K11")
var R33K1: String? = jResp.StringOf("R33.K1")
var R33K2: String? = jResp.StringOf("R33.K2")
var R33K3: String? = jResp.StringOf("R33.K3")
var R33K4: String? = jResp.StringOf("R33.K4")
var R33K5: String? = jResp.StringOf("R33.K5")
var R33K6: String? = jResp.StringOf("R33.K6")
var R33K7: String? = jResp.StringOf("R33.K7")
var R33K8: String? = jResp.StringOf("R33.K8")
var R33K9: String? = jResp.StringOf("R33.K9")
var R33K10: String? = jResp.StringOf("R33.K10")
var R33K11: String? = jResp.StringOf("R33.K11")
var R34K1: String? = jResp.StringOf("R34.K1")
var R34K2: String? = jResp.StringOf("R34.K2")
var R34K3: String? = jResp.StringOf("R34.K3")
var R34K4: String? = jResp.StringOf("R34.K4")
var R34K5: String? = jResp.StringOf("R34.K5")
var R34K6: String? = jResp.StringOf("R34.K6")
var R34K7: String? = jResp.StringOf("R34.K7")
var R34K8: String? = jResp.StringOf("R34.K8")
var R34K9: String? = jResp.StringOf("R34.K9")
var R34K10: String? = jResp.StringOf("R34.K10")
var R34K11: String? = jResp.StringOf("R34.K11")
var R36K1: String? = jResp.StringOf("R36.K1")
var R36K2: String? = jResp.StringOf("R36.K2")
var R36K3: String? = jResp.StringOf("R36.K3")
var R36K4: String? = jResp.StringOf("R36.K4")
var R36K5: String? = jResp.StringOf("R36.K5")
var R36K6: String? = jResp.StringOf("R36.K6")
var R36K7: String? = jResp.StringOf("R36.K7")
var R36K8: String? = jResp.StringOf("R36.K8")
var R36K9: String? = jResp.StringOf("R36.K9")
var R36K10: String? = jResp.StringOf("R36.K10")
var R36K11: String? = jResp.StringOf("R36.K11")
var R37K1: String? = jResp.StringOf("R37.K1")
var R37K2: String? = jResp.StringOf("R37.K2")
var R37K3: String? = jResp.StringOf("R37.K3")
var R37K4: String? = jResp.StringOf("R37.K4")
var R37K5: String? = jResp.StringOf("R37.K5")
var R37K6: String? = jResp.StringOf("R37.K6")
var R37K7: String? = jResp.StringOf("R37.K7")
var R37K8: String? = jResp.StringOf("R37.K8")
var R37K9: String? = jResp.StringOf("R37.K9")
var R37K10: String? = jResp.StringOf("R37.K10")
var R37K11: String? = jResp.StringOf("R37.K11")
var R38K1: String? = jResp.StringOf("R38.K1")
var R38K2: String? = jResp.StringOf("R38.K2")
var R38K3: String? = jResp.StringOf("R38.K3")
var R38K4: String? = jResp.StringOf("R38.K4")
var R38K5: String? = jResp.StringOf("R38.K5")
var R38K6: String? = jResp.StringOf("R38.K6")
var R38K7: String? = jResp.StringOf("R38.K7")
var R38K8: String? = jResp.StringOf("R38.K8")
var R38K9: String? = jResp.StringOf("R38.K9")
var R38K10: String? = jResp.StringOf("R38.K10")
var R38K11: String? = jResp.StringOf("R38.K11")
var R39K1: String? = jResp.StringOf("R39.K1")
var R39K2: String? = jResp.StringOf("R39.K2")
var R39K3: String? = jResp.StringOf("R39.K3")
var R39K4: String? = jResp.StringOf("R39.K4")
var R39K5: String? = jResp.StringOf("R39.K5")
var R39K6: String? = jResp.StringOf("R39.K6")
var R39K7: String? = jResp.StringOf("R39.K7")
var R39K8: String? = jResp.StringOf("R39.K8")
var R39K9: String? = jResp.StringOf("R39.K9")
var R39K10: String? = jResp.StringOf("R39.K10")
var R39K11: String? = jResp.StringOf("R39.K11")
var R40K1: String? = jResp.StringOf("R40.K1")
var R40K2: String? = jResp.StringOf("R40.K2")
var R40K3: String? = jResp.StringOf("R40.K3")
var R40K4: String? = jResp.StringOf("R40.K4")
var R40K5: String? = jResp.StringOf("R40.K5")
var R40K6: String? = jResp.StringOf("R40.K6")
var R40K7: String? = jResp.StringOf("R40.K7")
var R40K8: String? = jResp.StringOf("R40.K8")
var R40K9: String? = jResp.StringOf("R40.K9")
var R40K10: String? = jResp.StringOf("R40.K10")
var R40K11: String? = jResp.StringOf("R40.K11")
var R41K1: String? = jResp.StringOf("R41.K1")
var R41K2: String? = jResp.StringOf("R41.K2")
var R41K3: String? = jResp.StringOf("R41.K3")
var R41K4: String? = jResp.StringOf("R41.K4")
var R41K5: String? = jResp.StringOf("R41.K5")
var R41K6: String? = jResp.StringOf("R41.K6")
var R41K7: String? = jResp.StringOf("R41.K7")
var R41K8: String? = jResp.StringOf("R41.K8")
var R41K9: String? = jResp.StringOf("R41.K9")
var R41K10: String? = jResp.StringOf("R41.K10")
var R41K11: String? = jResp.StringOf("R41.K11")
var Value: String? = jResp.StringOf("Pielikumi.PielikumsRindai18.Fails.value")
var KomentarsValue: String? = jResp.StringOf("Pielikumi.PielikumsRindai18.Komentars.value")
var FailsValue: String? = jResp.StringOf("Pielikumi.PielikumsRindai19.Fails.value")
KomentarsValue = jResp.StringOf("Pielikumi.PielikumsRindai19.Komentars.value")
FailsValue = jResp.StringOf("Pielikumi.PielikumsRindai20.Fails.value")
KomentarsValue = jResp.StringOf("Pielikumi.PielikumsRindai20.Komentars.value")
FailsValue = jResp.StringOf("Pielikumi.PielikumsRindai21.Fails.value")
KomentarsValue = jResp.StringOf("Pielikumi.PielikumsRindai21.Komentars.value")
FailsValue = jResp.StringOf("Pielikumi.PielikumsRindai22.Fails.value")
KomentarsValue = jResp.StringOf("Pielikumi.PielikumsRindai22.Komentars.value")
FailsValue = jResp.StringOf("Pielikumi.PielikumsRindai40.Fails.value")
KomentarsValue = jResp.StringOf("Pielikumi.PielikumsRindai40.Komentars.value")
var Id: Int = jResp.IntOf("Id").intValue
var UID: String? = jResp.StringOf("UID")
var NmrKods: String? = jResp.StringOf("NmrKods")
var Precizejums: Bool = jResp.BoolOf("Precizejums")
var PrecizejamaisDokuments: Int = jResp.IntOf("PrecizejamaisDokuments").intValue
var PrecizejumaPamatojums: String? = jResp.StringOf("PrecizejumaPamatojums")
var i: Int = 0
var count_i: Int = jResp.SizeOfArray("Pielikumi.CitiDokumenti").intValue
while i < count_i {
jResp.I = i
value = jResp.StringOf("Pielikumi.CitiDokumenti[i].value")
i = i + 1
}
}
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": ""
}
]
}