Objective-C / EDS API / Dokuments "Naftas produktu akcīzes nodokļa deklarācija".
Back to Collection Items
#import <CkoHttp.h>
#import <CkoStringBuilder.h>
#import <CkoJsonObject.h>
#import <NSString.h>
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
CkoHttp *http = [[CkoHttp alloc] init];
BOOL success;
[http SetRequestHeader: @"Accept" value: @"application/json"];
CkoStringBuilder *sbResponseBody = [[CkoStringBuilder alloc] init];
success = [http QuickGetSb: @"https://eds.vid.gov.lv/api/doc/annv3/:id" sbContent: sbResponseBody];
if (success == NO) {
NSLog(@"%@",http.LastErrorText);
return;
}
CkoJsonObject *jResp = [[CkoJsonObject alloc] init];
[jResp LoadSb: sbResponseBody];
jResp.EmitCompact = NO;
NSLog(@"%@",@"Response Body:");
NSLog(@"%@",[jResp Emit]);
int respStatusCode = [http.LastStatus intValue];
NSLog(@"%@%d",@"Response Status Code = ",respStatusCode);
if (respStatusCode >= 400) {
NSLog(@"%@",@"Response Header:");
NSLog(@"%@",http.LastHeader);
NSLog(@"%@",@"Failed.");
return;
}
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "Epasts": "amet nulla incididunt velit",
// "Talrunis": "cupidatat",
// "Gads": 65123793,
// "Menesis": 1,
// "Datums": "2000-01-31T00:00:00",
// "MaksTerm": "2000-01-31T00:00:00",
// "NmStatuss": "culpa deserunt eiusmod",
// "R08": "eiusmod ex Exce",
// "R09": "incididunt ipsum",
// "Sagatavotajs": "ipsum occaecat velit deserunt elit",
// "R10": {
// "K1": 69011754.90285358,
// "K2": -286474.6996511519,
// "K3": -11770878.493984953,
// "K4": 41719405.189673424,
// "K5": 85870200.14192808,
// "K6": 39589872.04420751,
// "K7": 51397767.8996591,
// "K8": 55571455.62865502,
// "K9": -76702183.1212379,
// "K10": -28474693.97053413,
// "K11": -46737859.039462306,
// "K12": -82573888.63207585,
// "K13": -70158761.36809416,
// "K14": 85900068.49806038
// },
// "R11": {
// "K1": -29800804.37247619,
// "K2": -35066503.0054643,
// "K3": -69175786.56213808,
// "K4": -4016157.839073837,
// "K5": 97099183.8659884,
// "K6": -58101739.06038889,
// "K7": -78979160.79295988,
// "K8": -70096428.85637559,
// "K9": 34582920.550558865,
// "K10": -6122790.466697082,
// "K11": -62807023.9465063,
// "K12": 19535726.419573158,
// "K13": -23693003.608283818,
// "K14": 96377854.71285895
// },
// "R12": {
// "K1": 87378012.40657729,
// "K2": -27350911.810965165,
// "K3": 94527050.58391708,
// "K4": 21360404.99224791,
// "K5": -29808198.645335168,
// "K6": 39156776.223213136,
// "K7": 24129726.045016974,
// "K8": 9296475.717829809,
// "K9": 82658090.11044899,
// "K10": -30666.993065729737,
// "K11": -4882017.379342288,
// "K12": 13961508.645864919,
// "K13": 18741577.605267107,
// "K14": 59150614.8674168
// },
// "R13": {
// "K1": -65103989.44215647,
// "K2": 22918342.522944972,
// "K3": 13346606.449489862,
// "K4": 78681659.25435358,
// "K5": 99538886.19077235,
// "K6": -70227435.85379434,
// "K7": -34755089.54101198,
// "K8": -60635259.987631105,
// "K9": -12036440.340121105,
// "K10": -90600607.56641927,
// "K11": 3602952.135728106,
// "K12": -30626183.083574563,
// "K13": 2766316.3714336753,
// "K14": -90986638.1227932
// },
// "R14": {
// "K1": 40765863.954432696,
// "K2": -67182370.45010902,
// "K3": 11704952.64645721,
// "K4": -84999057.04654682,
// "K5": -36048290.58649277,
// "K6": 62443585.84163031,
// "K7": -32091709.58579573,
// "K8": 43625042.31660575,
// "K9": 16885544.619369015,
// "K10": 80251259.64512235,
// "K11": 27318731.967805788,
// "K12": -14319355.59212181,
// "K13": 41539796.58688739,
// "K14": 88701128.01173308
// },
// "R15": {
// "K1": -73742078.22814016,
// "K2": 69693131.667204,
// "K3": -12824841.672871351,
// "K4": -22432843.69190924,
// "K5": -25380617.015425906,
// "K6": 84675620.93220896,
// "K7": 99203348.01453814,
// "K8": 70724303.85988456,
// "K9": -98075512.73943722,
// "K10": -47586259.396855325,
// "K11": -50142282.39072187,
// "K12": -21101219.808153406,
// "K13": 1297868.7648593038,
// "K14": -24502689.533988237
// },
// "R16": {
// "K1": -74716385.73514321,
// "K2": -30943767.37516588,
// "K3": -44399932.76375906,
// "K4": 97725275.84666863,
// "K5": 66676996.76606268,
// "K6": 70624436.77358449,
// "K7": -7465955.914643452,
// "K8": 54575323.67242882,
// "K9": -8226899.7871031165,
// "K10": 22459047.79521121,
// "K11": 62984419.460039735,
// "K12": -38206328.807595424,
// "K13": 4590092.543481678,
// "K14": 13438461.298249975
// },
// "R17": {
// "K1": -79276235.37118165,
// "K2": 88310970.07092902,
// "K3": 45338636.402314276,
// "K4": -12069175.57364422,
// "K5": -51247006.81518837,
// "K6": -29487667.020108163,
// "K7": -73308992.77850014,
// "K8": -33074376.447444066,
// "K9": -177327.0789398104,
// "K10": 29802067.812471345,
// "K11": -88333827.83231154,
// "K12": 4541758.027439117,
// "K13": -94479383.87846522,
// "K14": 71061466.05379507
// },
// "R18": {
// "K1": 49157671.97426507,
// "K2": 69861262.56142816,
// "K3": 71178403.34087607,
// "K4": 92454364.55228323,
// "K5": 57063199.17423582,
// "K6": 92226720.2758199,
// "K7": 36492133.54092264,
// "K8": -40110671.71385498,
// "K9": -60517419.6178218,
// "K10": -54041375.469130725,
// "K11": -33424556.83445298,
// "K12": 62335423.58725083,
// "K13": -94396793.40749945,
// "K14": 80252277.86649683
// },
// "R19": {
// "K1": 123715.51453527808,
// "K2": -30024289.465088308,
// "K3": 20831821.576838523,
// "K4": 13751186.00750947,
// "K5": -82562248.40154359,
// "K6": -91918658.27465749,
// "K7": 53664426.47689101,
// "K8": -98266332.30762978,
// "K9": 83178105.28106353,
// "K10": -99333857.54222001,
// "K11": 53695967.461390644,
// "K12": -28408415.947372362,
// "K13": 76269594.75703493,
// "K14": 31912799.067684934
// },
// "R21": {
// "K1": -44715463.05692659,
// "K2": 35259445.42232731,
// "K3": -73543212.95697933,
// "K4": 51062825.70996052,
// "K5": -24866924.962759823,
// "K6": -99782144.91487187,
// "K7": 34426916.9880867,
// "K8": 80196114.54963037,
// "K9": -82033296.18403381,
// "K10": 51632187.13585627,
// "K11": -31052880.19715458,
// "K12": -84933115.76651567,
// "K13": -18239617.81592995,
// "K14": -79838514.38359855
// },
// "R22": {
// "K1": -40657959.122213595,
// "K2": -35666457.192132436,
// "K3": -54900133.81453851,
// "K4": -50660550.33409076,
// "K5": 56372959.6100699,
// "K6": -22617966.86505577,
// "K7": -25785132.50306958,
// "K8": -80599255.28435676,
// "K9": 34162524.82784064,
// "K10": 60312008.3953411,
// "K11": -78494808.23443687,
// "K12": -54561406.25574868,
// "K13": -95947709.11534333,
// "K14": -50199990.21337842
// },
// "R23": {
// "K1": 41675545.57682341,
// "K2": -8213686.921727166,
// "K3": 52303188.87026709,
// "K4": 35451686.00720307,
// "K5": -70464918.60214852,
// "K6": 83371946.7007502,
// "K7": -72710355.44172299,
// "K8": -70039250.24744335,
// "K9": -5124505.089271426,
// "K10": 52554245.53818181,
// "K11": -9546174.943117559,
// "K12": -97484758.60810348,
// "K13": -4113345.3718183786,
// "K14": -50426233.13131713
// },
// "R24": {
// "K1": 66133466.26420823,
// "K2": -91964569.1839817,
// "K3": -4096172.611068338,
// "K4": 32181593.09547071,
// "K5": -76106645.14385906,
// "K6": -95263921.22593985,
// "K7": 48077115.43286115,
// "K8": -63433082.57376678,
// "K9": 98066585.07445216,
// "K10": 73490964.03584486,
// "K11": 47120763.647226095,
// "K12": 2914591.4395706058,
// "K13": 47568164.221423656,
// "K14": -18514471.703478158
// },
// "R25": {
// "K1": -62046475.12956058,
// "K2": -38748807.6190357,
// "K3": 49463934.0935137,
// "K4": -58401680.16387279,
// "K5": 29052171.52058515,
// "K6": -11062992.885137752,
// "K7": 43145282.76044333,
// "K8": -36580995.051727384,
// "K9": 99778589.80893427,
// "K10": -68592671.16203561,
// "K11": 2687004.18798095,
// "K12": -86400621.13214996,
// "K13": 77518804.34014541,
// "K14": -12645410.150312617
// },
// "R26": {
// "K1": -78591896.14125341,
// "K2": -33541977.987893023,
// "K3": -7126957.559500501,
// "K4": -81283519.89619827,
// "K5": 62149847.61238295,
// "K6": -55398211.15769437,
// "K7": -62452233.28487213,
// "K8": -7969978.069563672,
// "K9": -11435938.536992833,
// "K10": -88980847.07671581,
// "K11": 18580757.84160991,
// "K12": -38332654.85404911,
// "K13": -69024700.81814651,
// "K14": -97678730.99893686
// },
// "R28": {
// "K1": 92344399.21691194,
// "K2": 10253142.701950192,
// "K3": 84221877.49756199,
// "K4": -93633150.34182805,
// "K5": -1870238.6556153148,
// "K6": -23360941.28930016,
// "K7": 83081373.79069,
// "K8": 14986066.553176299,
// "K9": -53534597.61668642,
// "K10": 91966957.19912711,
// "K11": 828880.8995863944,
// "K12": -22621159.383924723,
// "K13": -57517677.94118683,
// "K14": -43960533.52528262
// },
// "R29": {
// "K1": 65098068.548140675,
// "K2": -62628847.71550619,
// "K3": -44645096.38325689,
// "K4": -70382336.380874,
// "K5": 77764871.23749784,
// "K6": 85471988.04898414,
// "K7": -92682519.16448605,
// "K8": 14477516.365955934,
// "K9": -54485567.545958124,
// "K10": -58390662.08840067,
// "K11": -25786685.54566148,
// "K12": -12775479.956604004,
// "K13": -24986968.96927038,
// "K14": 61530633.76396072
// },
// "R30": {
// "K1": -60408540.21200048,
// "K2": -95382025.37231442,
// "K3": -82203699.10495462,
// "K4": -13019465.837596565,
// "K5": 48909150.779518306,
// "K6": 35851167.10334942,
// "K7": 40932012.4235768,
// "K8": 69260655.89888439,
// "K9": -3802098.942574486,
// "K10": 45939169.58042014,
// "K11": 76142036.76493588,
// "K12": 673525.662062645,
// "K13": -41669688.51011612,
// "K14": 53421817.67200649
// },
// "R32": {
// "K1": -89219505.33041811,
// "K2": 84086950.08672878,
// "K3": -47621981.65450138,
// "K4": -43320449.76828926,
// "K5": -32075059.245812193,
// "K6": 46658032.035206795,
// "K7": 74567283.10016194,
// "K8": -39210983.69562697,
// "K9": -94627388.8717959,
// "K10": 51416151.03172833,
// "K11": -67059563.23692037,
// "K12": 14054536.63035208,
// "K13": 1584464.747822255,
// "K14": 6139643.822236434
// },
// "R33": {
// "K1": 8509480.473880112,
// "K2": 54038030.33899832,
// "K3": -67320688.18142922,
// "K4": 157803.89888755977,
// "K5": -93464588.74322496,
// "K6": -73086803.47495252,
// "K7": 28811001.462504923,
// "K8": -858734.274120152,
// "K9": -83736640.3299682,
// "K10": -30443417.911967963,
// "K11": -59182930.12059839,
// "K12": 90991775.95187068,
// "K13": -93258202.86744104,
// "K14": 75065806.16454467
// },
// "R34": {
// "K1": 64366266.04542029,
// "K2": 55875279.07302797,
// "K3": -30412639.03126569,
// "K4": 20928264.1107547,
// "K5": 96073421.19970256,
// "K6": 6238152.798862994,
// "K7": 82602234.65809983,
// "K8": -51657176.4649302,
// "K9": 78178158.87128153,
// "K10": -49439763.84407458,
// "K11": -33046722.950156137,
// "K12": -49408589.47432081,
// "K13": -17148102.76511787,
// "K14": 30072675.67667733
// },
// "R35": {
// "K1": -75256865.62902214,
// "K2": -14233162.403070495,
// "K3": 89920332.7760945,
// "K4": -27753270.94936633,
// "K5": -19643007.61510174,
// "K6": 16777781.736409515,
// "K7": 17366393.979396924,
// "K8": 13701608.75001809,
// "K9": 43470850.388211966,
// "K10": -81511501.13858594,
// "K11": -68098284.54304525,
// "K12": 10830500.441741318,
// "K13": 69405383.63544184,
// "K14": -37015749.94596557
// },
// "R37": {
// "PielikumsRindai15": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "PielikumsRindai16": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "PielikumsRindai17": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "PielikumsRindai18": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "PielikumsRindai19": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "PielikumsRindai33": {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// },
// "CitiDokumenti": [
// {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// }
// ]
// },
// "Id": 64149875,
// "UID": "ipsum culpa",
// "NmrKods": "anim proi",
// "Precizejums": false,
// "PrecizejamaisDokuments": -88089515,
// "PrecizejumaPamatojums": "Lorem officia"
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
NSString *value = 0;
NSString *Epasts = [jResp StringOf: @"Epasts"];
NSString *Talrunis = [jResp StringOf: @"Talrunis"];
int Gads = [[jResp IntOf: @"Gads"] intValue];
int Menesis = [[jResp IntOf: @"Menesis"] intValue];
NSString *Datums = [jResp StringOf: @"Datums"];
NSString *MaksTerm = [jResp StringOf: @"MaksTerm"];
NSString *NmStatuss = [jResp StringOf: @"NmStatuss"];
NSString *R08 = [jResp StringOf: @"R08"];
NSString *R09 = [jResp StringOf: @"R09"];
NSString *Sagatavotajs = [jResp StringOf: @"Sagatavotajs"];
NSString *K1 = [jResp StringOf: @"R10.K1"];
NSString *K2 = [jResp StringOf: @"R10.K2"];
NSString *K3 = [jResp StringOf: @"R10.K3"];
NSString *K4 = [jResp StringOf: @"R10.K4"];
NSString *K5 = [jResp StringOf: @"R10.K5"];
NSString *K6 = [jResp StringOf: @"R10.K6"];
NSString *K7 = [jResp StringOf: @"R10.K7"];
NSString *K8 = [jResp StringOf: @"R10.K8"];
NSString *K9 = [jResp StringOf: @"R10.K9"];
NSString *K10 = [jResp StringOf: @"R10.K10"];
NSString *K11 = [jResp StringOf: @"R10.K11"];
NSString *K12 = [jResp StringOf: @"R10.K12"];
NSString *K13 = [jResp StringOf: @"R10.K13"];
NSString *K14 = [jResp StringOf: @"R10.K14"];
NSString *R11K1 = [jResp StringOf: @"R11.K1"];
NSString *R11K2 = [jResp StringOf: @"R11.K2"];
NSString *R11K3 = [jResp StringOf: @"R11.K3"];
NSString *R11K4 = [jResp StringOf: @"R11.K4"];
NSString *R11K5 = [jResp StringOf: @"R11.K5"];
NSString *R11K6 = [jResp StringOf: @"R11.K6"];
NSString *R11K7 = [jResp StringOf: @"R11.K7"];
NSString *R11K8 = [jResp StringOf: @"R11.K8"];
NSString *R11K9 = [jResp StringOf: @"R11.K9"];
NSString *R11K10 = [jResp StringOf: @"R11.K10"];
NSString *R11K11 = [jResp StringOf: @"R11.K11"];
NSString *R11K12 = [jResp StringOf: @"R11.K12"];
NSString *R11K13 = [jResp StringOf: @"R11.K13"];
NSString *R11K14 = [jResp StringOf: @"R11.K14"];
NSString *R12K1 = [jResp StringOf: @"R12.K1"];
NSString *R12K2 = [jResp StringOf: @"R12.K2"];
NSString *R12K3 = [jResp StringOf: @"R12.K3"];
NSString *R12K4 = [jResp StringOf: @"R12.K4"];
NSString *R12K5 = [jResp StringOf: @"R12.K5"];
NSString *R12K6 = [jResp StringOf: @"R12.K6"];
NSString *R12K7 = [jResp StringOf: @"R12.K7"];
NSString *R12K8 = [jResp StringOf: @"R12.K8"];
NSString *R12K9 = [jResp StringOf: @"R12.K9"];
NSString *R12K10 = [jResp StringOf: @"R12.K10"];
NSString *R12K11 = [jResp StringOf: @"R12.K11"];
NSString *R12K12 = [jResp StringOf: @"R12.K12"];
NSString *R12K13 = [jResp StringOf: @"R12.K13"];
NSString *R12K14 = [jResp StringOf: @"R12.K14"];
NSString *R13K1 = [jResp StringOf: @"R13.K1"];
NSString *R13K2 = [jResp StringOf: @"R13.K2"];
NSString *R13K3 = [jResp StringOf: @"R13.K3"];
NSString *R13K4 = [jResp StringOf: @"R13.K4"];
NSString *R13K5 = [jResp StringOf: @"R13.K5"];
NSString *R13K6 = [jResp StringOf: @"R13.K6"];
NSString *R13K7 = [jResp StringOf: @"R13.K7"];
NSString *R13K8 = [jResp StringOf: @"R13.K8"];
NSString *R13K9 = [jResp StringOf: @"R13.K9"];
NSString *R13K10 = [jResp StringOf: @"R13.K10"];
NSString *R13K11 = [jResp StringOf: @"R13.K11"];
NSString *R13K12 = [jResp StringOf: @"R13.K12"];
NSString *R13K13 = [jResp StringOf: @"R13.K13"];
NSString *R13K14 = [jResp StringOf: @"R13.K14"];
NSString *R14K1 = [jResp StringOf: @"R14.K1"];
NSString *R14K2 = [jResp StringOf: @"R14.K2"];
NSString *R14K3 = [jResp StringOf: @"R14.K3"];
NSString *R14K4 = [jResp StringOf: @"R14.K4"];
NSString *R14K5 = [jResp StringOf: @"R14.K5"];
NSString *R14K6 = [jResp StringOf: @"R14.K6"];
NSString *R14K7 = [jResp StringOf: @"R14.K7"];
NSString *R14K8 = [jResp StringOf: @"R14.K8"];
NSString *R14K9 = [jResp StringOf: @"R14.K9"];
NSString *R14K10 = [jResp StringOf: @"R14.K10"];
NSString *R14K11 = [jResp StringOf: @"R14.K11"];
NSString *R14K12 = [jResp StringOf: @"R14.K12"];
NSString *R14K13 = [jResp StringOf: @"R14.K13"];
NSString *R14K14 = [jResp StringOf: @"R14.K14"];
NSString *R15K1 = [jResp StringOf: @"R15.K1"];
NSString *R15K2 = [jResp StringOf: @"R15.K2"];
NSString *R15K3 = [jResp StringOf: @"R15.K3"];
NSString *R15K4 = [jResp StringOf: @"R15.K4"];
NSString *R15K5 = [jResp StringOf: @"R15.K5"];
NSString *R15K6 = [jResp StringOf: @"R15.K6"];
NSString *R15K7 = [jResp StringOf: @"R15.K7"];
NSString *R15K8 = [jResp StringOf: @"R15.K8"];
NSString *R15K9 = [jResp StringOf: @"R15.K9"];
NSString *R15K10 = [jResp StringOf: @"R15.K10"];
NSString *R15K11 = [jResp StringOf: @"R15.K11"];
NSString *R15K12 = [jResp StringOf: @"R15.K12"];
NSString *R15K13 = [jResp StringOf: @"R15.K13"];
NSString *R15K14 = [jResp StringOf: @"R15.K14"];
NSString *R16K1 = [jResp StringOf: @"R16.K1"];
NSString *R16K2 = [jResp StringOf: @"R16.K2"];
NSString *R16K3 = [jResp StringOf: @"R16.K3"];
NSString *R16K4 = [jResp StringOf: @"R16.K4"];
NSString *R16K5 = [jResp StringOf: @"R16.K5"];
NSString *R16K6 = [jResp StringOf: @"R16.K6"];
NSString *R16K7 = [jResp StringOf: @"R16.K7"];
NSString *R16K8 = [jResp StringOf: @"R16.K8"];
NSString *R16K9 = [jResp StringOf: @"R16.K9"];
NSString *R16K10 = [jResp StringOf: @"R16.K10"];
NSString *R16K11 = [jResp StringOf: @"R16.K11"];
NSString *R16K12 = [jResp StringOf: @"R16.K12"];
NSString *R16K13 = [jResp StringOf: @"R16.K13"];
NSString *R16K14 = [jResp StringOf: @"R16.K14"];
NSString *R17K1 = [jResp StringOf: @"R17.K1"];
NSString *R17K2 = [jResp StringOf: @"R17.K2"];
NSString *R17K3 = [jResp StringOf: @"R17.K3"];
NSString *R17K4 = [jResp StringOf: @"R17.K4"];
NSString *R17K5 = [jResp StringOf: @"R17.K5"];
NSString *R17K6 = [jResp StringOf: @"R17.K6"];
NSString *R17K7 = [jResp StringOf: @"R17.K7"];
NSString *R17K8 = [jResp StringOf: @"R17.K8"];
NSString *R17K9 = [jResp StringOf: @"R17.K9"];
NSString *R17K10 = [jResp StringOf: @"R17.K10"];
NSString *R17K11 = [jResp StringOf: @"R17.K11"];
NSString *R17K12 = [jResp StringOf: @"R17.K12"];
NSString *R17K13 = [jResp StringOf: @"R17.K13"];
NSString *R17K14 = [jResp StringOf: @"R17.K14"];
NSString *R18K1 = [jResp StringOf: @"R18.K1"];
NSString *R18K2 = [jResp StringOf: @"R18.K2"];
NSString *R18K3 = [jResp StringOf: @"R18.K3"];
NSString *R18K4 = [jResp StringOf: @"R18.K4"];
NSString *R18K5 = [jResp StringOf: @"R18.K5"];
NSString *R18K6 = [jResp StringOf: @"R18.K6"];
NSString *R18K7 = [jResp StringOf: @"R18.K7"];
NSString *R18K8 = [jResp StringOf: @"R18.K8"];
NSString *R18K9 = [jResp StringOf: @"R18.K9"];
NSString *R18K10 = [jResp StringOf: @"R18.K10"];
NSString *R18K11 = [jResp StringOf: @"R18.K11"];
NSString *R18K12 = [jResp StringOf: @"R18.K12"];
NSString *R18K13 = [jResp StringOf: @"R18.K13"];
NSString *R18K14 = [jResp StringOf: @"R18.K14"];
NSString *R19K1 = [jResp StringOf: @"R19.K1"];
NSString *R19K2 = [jResp StringOf: @"R19.K2"];
NSString *R19K3 = [jResp StringOf: @"R19.K3"];
NSString *R19K4 = [jResp StringOf: @"R19.K4"];
NSString *R19K5 = [jResp StringOf: @"R19.K5"];
NSString *R19K6 = [jResp StringOf: @"R19.K6"];
NSString *R19K7 = [jResp StringOf: @"R19.K7"];
NSString *R19K8 = [jResp StringOf: @"R19.K8"];
NSString *R19K9 = [jResp StringOf: @"R19.K9"];
NSString *R19K10 = [jResp StringOf: @"R19.K10"];
NSString *R19K11 = [jResp StringOf: @"R19.K11"];
NSString *R19K12 = [jResp StringOf: @"R19.K12"];
NSString *R19K13 = [jResp StringOf: @"R19.K13"];
NSString *R19K14 = [jResp StringOf: @"R19.K14"];
NSString *R21K1 = [jResp StringOf: @"R21.K1"];
NSString *R21K2 = [jResp StringOf: @"R21.K2"];
NSString *R21K3 = [jResp StringOf: @"R21.K3"];
NSString *R21K4 = [jResp StringOf: @"R21.K4"];
NSString *R21K5 = [jResp StringOf: @"R21.K5"];
NSString *R21K6 = [jResp StringOf: @"R21.K6"];
NSString *R21K7 = [jResp StringOf: @"R21.K7"];
NSString *R21K8 = [jResp StringOf: @"R21.K8"];
NSString *R21K9 = [jResp StringOf: @"R21.K9"];
NSString *R21K10 = [jResp StringOf: @"R21.K10"];
NSString *R21K11 = [jResp StringOf: @"R21.K11"];
NSString *R21K12 = [jResp StringOf: @"R21.K12"];
NSString *R21K13 = [jResp StringOf: @"R21.K13"];
NSString *R21K14 = [jResp StringOf: @"R21.K14"];
NSString *R22K1 = [jResp StringOf: @"R22.K1"];
NSString *R22K2 = [jResp StringOf: @"R22.K2"];
NSString *R22K3 = [jResp StringOf: @"R22.K3"];
NSString *R22K4 = [jResp StringOf: @"R22.K4"];
NSString *R22K5 = [jResp StringOf: @"R22.K5"];
NSString *R22K6 = [jResp StringOf: @"R22.K6"];
NSString *R22K7 = [jResp StringOf: @"R22.K7"];
NSString *R22K8 = [jResp StringOf: @"R22.K8"];
NSString *R22K9 = [jResp StringOf: @"R22.K9"];
NSString *R22K10 = [jResp StringOf: @"R22.K10"];
NSString *R22K11 = [jResp StringOf: @"R22.K11"];
NSString *R22K12 = [jResp StringOf: @"R22.K12"];
NSString *R22K13 = [jResp StringOf: @"R22.K13"];
NSString *R22K14 = [jResp StringOf: @"R22.K14"];
NSString *R23K1 = [jResp StringOf: @"R23.K1"];
NSString *R23K2 = [jResp StringOf: @"R23.K2"];
NSString *R23K3 = [jResp StringOf: @"R23.K3"];
NSString *R23K4 = [jResp StringOf: @"R23.K4"];
NSString *R23K5 = [jResp StringOf: @"R23.K5"];
NSString *R23K6 = [jResp StringOf: @"R23.K6"];
NSString *R23K7 = [jResp StringOf: @"R23.K7"];
NSString *R23K8 = [jResp StringOf: @"R23.K8"];
NSString *R23K9 = [jResp StringOf: @"R23.K9"];
NSString *R23K10 = [jResp StringOf: @"R23.K10"];
NSString *R23K11 = [jResp StringOf: @"R23.K11"];
NSString *R23K12 = [jResp StringOf: @"R23.K12"];
NSString *R23K13 = [jResp StringOf: @"R23.K13"];
NSString *R23K14 = [jResp StringOf: @"R23.K14"];
NSString *R24K1 = [jResp StringOf: @"R24.K1"];
NSString *R24K2 = [jResp StringOf: @"R24.K2"];
NSString *R24K3 = [jResp StringOf: @"R24.K3"];
NSString *R24K4 = [jResp StringOf: @"R24.K4"];
NSString *R24K5 = [jResp StringOf: @"R24.K5"];
NSString *R24K6 = [jResp StringOf: @"R24.K6"];
NSString *R24K7 = [jResp StringOf: @"R24.K7"];
NSString *R24K8 = [jResp StringOf: @"R24.K8"];
NSString *R24K9 = [jResp StringOf: @"R24.K9"];
NSString *R24K10 = [jResp StringOf: @"R24.K10"];
NSString *R24K11 = [jResp StringOf: @"R24.K11"];
NSString *R24K12 = [jResp StringOf: @"R24.K12"];
NSString *R24K13 = [jResp StringOf: @"R24.K13"];
NSString *R24K14 = [jResp StringOf: @"R24.K14"];
NSString *R25K1 = [jResp StringOf: @"R25.K1"];
NSString *R25K2 = [jResp StringOf: @"R25.K2"];
NSString *R25K3 = [jResp StringOf: @"R25.K3"];
NSString *R25K4 = [jResp StringOf: @"R25.K4"];
NSString *R25K5 = [jResp StringOf: @"R25.K5"];
NSString *R25K6 = [jResp StringOf: @"R25.K6"];
NSString *R25K7 = [jResp StringOf: @"R25.K7"];
NSString *R25K8 = [jResp StringOf: @"R25.K8"];
NSString *R25K9 = [jResp StringOf: @"R25.K9"];
NSString *R25K10 = [jResp StringOf: @"R25.K10"];
NSString *R25K11 = [jResp StringOf: @"R25.K11"];
NSString *R25K12 = [jResp StringOf: @"R25.K12"];
NSString *R25K13 = [jResp StringOf: @"R25.K13"];
NSString *R25K14 = [jResp StringOf: @"R25.K14"];
NSString *R26K1 = [jResp StringOf: @"R26.K1"];
NSString *R26K2 = [jResp StringOf: @"R26.K2"];
NSString *R26K3 = [jResp StringOf: @"R26.K3"];
NSString *R26K4 = [jResp StringOf: @"R26.K4"];
NSString *R26K5 = [jResp StringOf: @"R26.K5"];
NSString *R26K6 = [jResp StringOf: @"R26.K6"];
NSString *R26K7 = [jResp StringOf: @"R26.K7"];
NSString *R26K8 = [jResp StringOf: @"R26.K8"];
NSString *R26K9 = [jResp StringOf: @"R26.K9"];
NSString *R26K10 = [jResp StringOf: @"R26.K10"];
NSString *R26K11 = [jResp StringOf: @"R26.K11"];
NSString *R26K12 = [jResp StringOf: @"R26.K12"];
NSString *R26K13 = [jResp StringOf: @"R26.K13"];
NSString *R26K14 = [jResp StringOf: @"R26.K14"];
NSString *R28K1 = [jResp StringOf: @"R28.K1"];
NSString *R28K2 = [jResp StringOf: @"R28.K2"];
NSString *R28K3 = [jResp StringOf: @"R28.K3"];
NSString *R28K4 = [jResp StringOf: @"R28.K4"];
NSString *R28K5 = [jResp StringOf: @"R28.K5"];
NSString *R28K6 = [jResp StringOf: @"R28.K6"];
NSString *R28K7 = [jResp StringOf: @"R28.K7"];
NSString *R28K8 = [jResp StringOf: @"R28.K8"];
NSString *R28K9 = [jResp StringOf: @"R28.K9"];
NSString *R28K10 = [jResp StringOf: @"R28.K10"];
NSString *R28K11 = [jResp StringOf: @"R28.K11"];
NSString *R28K12 = [jResp StringOf: @"R28.K12"];
NSString *R28K13 = [jResp StringOf: @"R28.K13"];
NSString *R28K14 = [jResp StringOf: @"R28.K14"];
NSString *R29K1 = [jResp StringOf: @"R29.K1"];
NSString *R29K2 = [jResp StringOf: @"R29.K2"];
NSString *R29K3 = [jResp StringOf: @"R29.K3"];
NSString *R29K4 = [jResp StringOf: @"R29.K4"];
NSString *R29K5 = [jResp StringOf: @"R29.K5"];
NSString *R29K6 = [jResp StringOf: @"R29.K6"];
NSString *R29K7 = [jResp StringOf: @"R29.K7"];
NSString *R29K8 = [jResp StringOf: @"R29.K8"];
NSString *R29K9 = [jResp StringOf: @"R29.K9"];
NSString *R29K10 = [jResp StringOf: @"R29.K10"];
NSString *R29K11 = [jResp StringOf: @"R29.K11"];
NSString *R29K12 = [jResp StringOf: @"R29.K12"];
NSString *R29K13 = [jResp StringOf: @"R29.K13"];
NSString *R29K14 = [jResp StringOf: @"R29.K14"];
NSString *R30K1 = [jResp StringOf: @"R30.K1"];
NSString *R30K2 = [jResp StringOf: @"R30.K2"];
NSString *R30K3 = [jResp StringOf: @"R30.K3"];
NSString *R30K4 = [jResp StringOf: @"R30.K4"];
NSString *R30K5 = [jResp StringOf: @"R30.K5"];
NSString *R30K6 = [jResp StringOf: @"R30.K6"];
NSString *R30K7 = [jResp StringOf: @"R30.K7"];
NSString *R30K8 = [jResp StringOf: @"R30.K8"];
NSString *R30K9 = [jResp StringOf: @"R30.K9"];
NSString *R30K10 = [jResp StringOf: @"R30.K10"];
NSString *R30K11 = [jResp StringOf: @"R30.K11"];
NSString *R30K12 = [jResp StringOf: @"R30.K12"];
NSString *R30K13 = [jResp StringOf: @"R30.K13"];
NSString *R30K14 = [jResp StringOf: @"R30.K14"];
NSString *R32K1 = [jResp StringOf: @"R32.K1"];
NSString *R32K2 = [jResp StringOf: @"R32.K2"];
NSString *R32K3 = [jResp StringOf: @"R32.K3"];
NSString *R32K4 = [jResp StringOf: @"R32.K4"];
NSString *R32K5 = [jResp StringOf: @"R32.K5"];
NSString *R32K6 = [jResp StringOf: @"R32.K6"];
NSString *R32K7 = [jResp StringOf: @"R32.K7"];
NSString *R32K8 = [jResp StringOf: @"R32.K8"];
NSString *R32K9 = [jResp StringOf: @"R32.K9"];
NSString *R32K10 = [jResp StringOf: @"R32.K10"];
NSString *R32K11 = [jResp StringOf: @"R32.K11"];
NSString *R32K12 = [jResp StringOf: @"R32.K12"];
NSString *R32K13 = [jResp StringOf: @"R32.K13"];
NSString *R32K14 = [jResp StringOf: @"R32.K14"];
NSString *R33K1 = [jResp StringOf: @"R33.K1"];
NSString *R33K2 = [jResp StringOf: @"R33.K2"];
NSString *R33K3 = [jResp StringOf: @"R33.K3"];
NSString *R33K4 = [jResp StringOf: @"R33.K4"];
NSString *R33K5 = [jResp StringOf: @"R33.K5"];
NSString *R33K6 = [jResp StringOf: @"R33.K6"];
NSString *R33K7 = [jResp StringOf: @"R33.K7"];
NSString *R33K8 = [jResp StringOf: @"R33.K8"];
NSString *R33K9 = [jResp StringOf: @"R33.K9"];
NSString *R33K10 = [jResp StringOf: @"R33.K10"];
NSString *R33K11 = [jResp StringOf: @"R33.K11"];
NSString *R33K12 = [jResp StringOf: @"R33.K12"];
NSString *R33K13 = [jResp StringOf: @"R33.K13"];
NSString *R33K14 = [jResp StringOf: @"R33.K14"];
NSString *R34K1 = [jResp StringOf: @"R34.K1"];
NSString *R34K2 = [jResp StringOf: @"R34.K2"];
NSString *R34K3 = [jResp StringOf: @"R34.K3"];
NSString *R34K4 = [jResp StringOf: @"R34.K4"];
NSString *R34K5 = [jResp StringOf: @"R34.K5"];
NSString *R34K6 = [jResp StringOf: @"R34.K6"];
NSString *R34K7 = [jResp StringOf: @"R34.K7"];
NSString *R34K8 = [jResp StringOf: @"R34.K8"];
NSString *R34K9 = [jResp StringOf: @"R34.K9"];
NSString *R34K10 = [jResp StringOf: @"R34.K10"];
NSString *R34K11 = [jResp StringOf: @"R34.K11"];
NSString *R34K12 = [jResp StringOf: @"R34.K12"];
NSString *R34K13 = [jResp StringOf: @"R34.K13"];
NSString *R34K14 = [jResp StringOf: @"R34.K14"];
NSString *R35K1 = [jResp StringOf: @"R35.K1"];
NSString *R35K2 = [jResp StringOf: @"R35.K2"];
NSString *R35K3 = [jResp StringOf: @"R35.K3"];
NSString *R35K4 = [jResp StringOf: @"R35.K4"];
NSString *R35K5 = [jResp StringOf: @"R35.K5"];
NSString *R35K6 = [jResp StringOf: @"R35.K6"];
NSString *R35K7 = [jResp StringOf: @"R35.K7"];
NSString *R35K8 = [jResp StringOf: @"R35.K8"];
NSString *R35K9 = [jResp StringOf: @"R35.K9"];
NSString *R35K10 = [jResp StringOf: @"R35.K10"];
NSString *R35K11 = [jResp StringOf: @"R35.K11"];
NSString *R35K12 = [jResp StringOf: @"R35.K12"];
NSString *R35K13 = [jResp StringOf: @"R35.K13"];
NSString *R35K14 = [jResp StringOf: @"R35.K14"];
NSString *Value = [jResp StringOf: @"R37.PielikumsRindai15.Fails.value"];
NSString *KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai15.Komentars.value"];
NSString *FailsValue = [jResp StringOf: @"R37.PielikumsRindai16.Fails.value"];
KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai16.Komentars.value"];
FailsValue = [jResp StringOf: @"R37.PielikumsRindai17.Fails.value"];
KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai17.Komentars.value"];
FailsValue = [jResp StringOf: @"R37.PielikumsRindai18.Fails.value"];
KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai18.Komentars.value"];
FailsValue = [jResp StringOf: @"R37.PielikumsRindai19.Fails.value"];
KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai19.Komentars.value"];
FailsValue = [jResp StringOf: @"R37.PielikumsRindai33.Fails.value"];
KomentarsValue = [jResp StringOf: @"R37.PielikumsRindai33.Komentars.value"];
int Id = [[jResp IntOf: @"Id"] intValue];
NSString *UID = [jResp StringOf: @"UID"];
NSString *NmrKods = [jResp StringOf: @"NmrKods"];
BOOL Precizejums = [jResp BoolOf: @"Precizejums"];
int PrecizejamaisDokuments = [[jResp IntOf: @"PrecizejamaisDokuments"] intValue];
NSString *PrecizejumaPamatojums = [jResp StringOf: @"PrecizejumaPamatojums"];
int i = 0;
int count_i = [[jResp SizeOfArray: @"R37.CitiDokumenti"] intValue];
while (i < count_i) {
jResp.I = [NSNumber numberWithInt: i];
value = [jResp StringOf: @"R37.CitiDokumenti[i].value"];
i = i + 1;
}
Curl Command
curl -X GET
-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/annv3/:id
Postman Collection Item JSON
{
"name": "Dokuments \"Naftas produktu akcīzes nodokļa deklarācija\".",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "OK",
"code": 200,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "{\n \"Epasts\": \"amet nulla incididunt velit\",\n \"Talrunis\": \"cupidatat\",\n \"Gads\": 65123793,\n \"Menesis\": 1,\n \"Datums\": \"2000-01-31T00:00:00\",\n \"MaksTerm\": \"2000-01-31T00:00:00\",\n \"NmStatuss\": \"culpa deserunt eiusmod\",\n \"R08\": \"eiusmod ex Exce\",\n \"R09\": \"incididunt ipsum\",\n \"Sagatavotajs\": \"ipsum occaecat velit deserunt elit\",\n \"R10\": {\n \"K1\": 69011754.90285358,\n \"K2\": -286474.6996511519,\n \"K3\": -11770878.493984953,\n \"K4\": 41719405.189673424,\n \"K5\": 85870200.14192808,\n \"K6\": 39589872.04420751,\n \"K7\": 51397767.8996591,\n \"K8\": 55571455.62865502,\n \"K9\": -76702183.1212379,\n \"K10\": -28474693.97053413,\n \"K11\": -46737859.039462306,\n \"K12\": -82573888.63207585,\n \"K13\": -70158761.36809416,\n \"K14\": 85900068.49806038\n },\n \"R11\": {\n \"K1\": -29800804.37247619,\n \"K2\": -35066503.0054643,\n \"K3\": -69175786.56213808,\n \"K4\": -4016157.839073837,\n \"K5\": 97099183.8659884,\n \"K6\": -58101739.06038889,\n \"K7\": -78979160.79295988,\n \"K8\": -70096428.85637559,\n \"K9\": 34582920.550558865,\n \"K10\": -6122790.466697082,\n \"K11\": -62807023.9465063,\n \"K12\": 19535726.419573158,\n \"K13\": -23693003.608283818,\n \"K14\": 96377854.71285895\n },\n \"R12\": {\n \"K1\": 87378012.40657729,\n \"K2\": -27350911.810965165,\n \"K3\": 94527050.58391708,\n \"K4\": 21360404.99224791,\n \"K5\": -29808198.645335168,\n \"K6\": 39156776.223213136,\n \"K7\": 24129726.045016974,\n \"K8\": 9296475.717829809,\n \"K9\": 82658090.11044899,\n \"K10\": -30666.993065729737,\n \"K11\": -4882017.379342288,\n \"K12\": 13961508.645864919,\n \"K13\": 18741577.605267107,\n \"K14\": 59150614.8674168\n },\n \"R13\": {\n \"K1\": -65103989.44215647,\n \"K2\": 22918342.522944972,\n \"K3\": 13346606.449489862,\n \"K4\": 78681659.25435358,\n \"K5\": 99538886.19077235,\n \"K6\": -70227435.85379434,\n \"K7\": -34755089.54101198,\n \"K8\": -60635259.987631105,\n \"K9\": -12036440.340121105,\n \"K10\": -90600607.56641927,\n \"K11\": 3602952.135728106,\n \"K12\": -30626183.083574563,\n \"K13\": 2766316.3714336753,\n \"K14\": -90986638.1227932\n },\n \"R14\": {\n \"K1\": 40765863.954432696,\n \"K2\": -67182370.45010902,\n \"K3\": 11704952.64645721,\n \"K4\": -84999057.04654682,\n \"K5\": -36048290.58649277,\n \"K6\": 62443585.84163031,\n \"K7\": -32091709.58579573,\n \"K8\": 43625042.31660575,\n \"K9\": 16885544.619369015,\n \"K10\": 80251259.64512235,\n \"K11\": 27318731.967805788,\n \"K12\": -14319355.59212181,\n \"K13\": 41539796.58688739,\n \"K14\": 88701128.01173308\n },\n \"R15\": {\n \"K1\": -73742078.22814016,\n \"K2\": 69693131.667204,\n \"K3\": -12824841.672871351,\n \"K4\": -22432843.69190924,\n \"K5\": -25380617.015425906,\n \"K6\": 84675620.93220896,\n \"K7\": 99203348.01453814,\n \"K8\": 70724303.85988456,\n \"K9\": -98075512.73943722,\n \"K10\": -47586259.396855325,\n \"K11\": -50142282.39072187,\n \"K12\": -21101219.808153406,\n \"K13\": 1297868.7648593038,\n \"K14\": -24502689.533988237\n },\n \"R16\": {\n \"K1\": -74716385.73514321,\n \"K2\": -30943767.37516588,\n \"K3\": -44399932.76375906,\n \"K4\": 97725275.84666863,\n \"K5\": 66676996.76606268,\n \"K6\": 70624436.77358449,\n \"K7\": -7465955.914643452,\n \"K8\": 54575323.67242882,\n \"K9\": -8226899.7871031165,\n \"K10\": 22459047.79521121,\n \"K11\": 62984419.460039735,\n \"K12\": -38206328.807595424,\n \"K13\": 4590092.543481678,\n \"K14\": 13438461.298249975\n },\n \"R17\": {\n \"K1\": -79276235.37118165,\n \"K2\": 88310970.07092902,\n \"K3\": 45338636.402314276,\n \"K4\": -12069175.57364422,\n \"K5\": -51247006.81518837,\n \"K6\": -29487667.020108163,\n \"K7\": -73308992.77850014,\n \"K8\": -33074376.447444066,\n \"K9\": -177327.0789398104,\n \"K10\": 29802067.812471345,\n \"K11\": -88333827.83231154,\n \"K12\": 4541758.027439117,\n \"K13\": -94479383.87846522,\n \"K14\": 71061466.05379507\n },\n \"R18\": {\n \"K1\": 49157671.97426507,\n \"K2\": 69861262.56142816,\n \"K3\": 71178403.34087607,\n \"K4\": 92454364.55228323,\n \"K5\": 57063199.17423582,\n \"K6\": 92226720.2758199,\n \"K7\": 36492133.54092264,\n \"K8\": -40110671.71385498,\n \"K9\": -60517419.6178218,\n \"K10\": -54041375.469130725,\n \"K11\": -33424556.83445298,\n \"K12\": 62335423.58725083,\n \"K13\": -94396793.40749945,\n \"K14\": 80252277.86649683\n },\n \"R19\": {\n \"K1\": 123715.51453527808,\n \"K2\": -30024289.465088308,\n \"K3\": 20831821.576838523,\n \"K4\": 13751186.00750947,\n \"K5\": -82562248.40154359,\n \"K6\": -91918658.27465749,\n \"K7\": 53664426.47689101,\n \"K8\": -98266332.30762978,\n \"K9\": 83178105.28106353,\n \"K10\": -99333857.54222001,\n \"K11\": 53695967.461390644,\n \"K12\": -28408415.947372362,\n \"K13\": 76269594.75703493,\n \"K14\": 31912799.067684934\n },\n \"R21\": {\n \"K1\": -44715463.05692659,\n \"K2\": 35259445.42232731,\n \"K3\": -73543212.95697933,\n \"K4\": 51062825.70996052,\n \"K5\": -24866924.962759823,\n \"K6\": -99782144.91487187,\n \"K7\": 34426916.9880867,\n \"K8\": 80196114.54963037,\n \"K9\": -82033296.18403381,\n \"K10\": 51632187.13585627,\n \"K11\": -31052880.19715458,\n \"K12\": -84933115.76651567,\n \"K13\": -18239617.81592995,\n \"K14\": -79838514.38359855\n },\n \"R22\": {\n \"K1\": -40657959.122213595,\n \"K2\": -35666457.192132436,\n \"K3\": -54900133.81453851,\n \"K4\": -50660550.33409076,\n \"K5\": 56372959.6100699,\n \"K6\": -22617966.86505577,\n \"K7\": -25785132.50306958,\n \"K8\": -80599255.28435676,\n \"K9\": 34162524.82784064,\n \"K10\": 60312008.3953411,\n \"K11\": -78494808.23443687,\n \"K12\": -54561406.25574868,\n \"K13\": -95947709.11534333,\n \"K14\": -50199990.21337842\n },\n \"R23\": {\n \"K1\": 41675545.57682341,\n \"K2\": -8213686.921727166,\n \"K3\": 52303188.87026709,\n \"K4\": 35451686.00720307,\n \"K5\": -70464918.60214852,\n \"K6\": 83371946.7007502,\n \"K7\": -72710355.44172299,\n \"K8\": -70039250.24744335,\n \"K9\": -5124505.089271426,\n \"K10\": 52554245.53818181,\n \"K11\": -9546174.943117559,\n \"K12\": -97484758.60810348,\n \"K13\": -4113345.3718183786,\n \"K14\": -50426233.13131713\n },\n \"R24\": {\n \"K1\": 66133466.26420823,\n \"K2\": -91964569.1839817,\n \"K3\": -4096172.611068338,\n \"K4\": 32181593.09547071,\n \"K5\": -76106645.14385906,\n \"K6\": -95263921.22593985,\n \"K7\": 48077115.43286115,\n \"K8\": -63433082.57376678,\n \"K9\": 98066585.07445216,\n \"K10\": 73490964.03584486,\n \"K11\": 47120763.647226095,\n \"K12\": 2914591.4395706058,\n \"K13\": 47568164.221423656,\n \"K14\": -18514471.703478158\n },\n \"R25\": {\n \"K1\": -62046475.12956058,\n \"K2\": -38748807.6190357,\n \"K3\": 49463934.0935137,\n \"K4\": -58401680.16387279,\n \"K5\": 29052171.52058515,\n \"K6\": -11062992.885137752,\n \"K7\": 43145282.76044333,\n \"K8\": -36580995.051727384,\n \"K9\": 99778589.80893427,\n \"K10\": -68592671.16203561,\n \"K11\": 2687004.18798095,\n \"K12\": -86400621.13214996,\n \"K13\": 77518804.34014541,\n \"K14\": -12645410.150312617\n },\n \"R26\": {\n \"K1\": -78591896.14125341,\n \"K2\": -33541977.987893023,\n \"K3\": -7126957.559500501,\n \"K4\": -81283519.89619827,\n \"K5\": 62149847.61238295,\n \"K6\": -55398211.15769437,\n \"K7\": -62452233.28487213,\n \"K8\": -7969978.069563672,\n \"K9\": -11435938.536992833,\n \"K10\": -88980847.07671581,\n \"K11\": 18580757.84160991,\n \"K12\": -38332654.85404911,\n \"K13\": -69024700.81814651,\n \"K14\": -97678730.99893686\n },\n \"R28\": {\n \"K1\": 92344399.21691194,\n \"K2\": 10253142.701950192,\n \"K3\": 84221877.49756199,\n \"K4\": -93633150.34182805,\n \"K5\": -1870238.6556153148,\n \"K6\": -23360941.28930016,\n \"K7\": 83081373.79069,\n \"K8\": 14986066.553176299,\n \"K9\": -53534597.61668642,\n \"K10\": 91966957.19912711,\n \"K11\": 828880.8995863944,\n \"K12\": -22621159.383924723,\n \"K13\": -57517677.94118683,\n \"K14\": -43960533.52528262\n },\n \"R29\": {\n \"K1\": 65098068.548140675,\n \"K2\": -62628847.71550619,\n \"K3\": -44645096.38325689,\n \"K4\": -70382336.380874,\n \"K5\": 77764871.23749784,\n \"K6\": 85471988.04898414,\n \"K7\": -92682519.16448605,\n \"K8\": 14477516.365955934,\n \"K9\": -54485567.545958124,\n \"K10\": -58390662.08840067,\n \"K11\": -25786685.54566148,\n \"K12\": -12775479.956604004,\n \"K13\": -24986968.96927038,\n \"K14\": 61530633.76396072\n },\n \"R30\": {\n \"K1\": -60408540.21200048,\n \"K2\": -95382025.37231442,\n \"K3\": -82203699.10495462,\n \"K4\": -13019465.837596565,\n \"K5\": 48909150.779518306,\n \"K6\": 35851167.10334942,\n \"K7\": 40932012.4235768,\n \"K8\": 69260655.89888439,\n \"K9\": -3802098.942574486,\n \"K10\": 45939169.58042014,\n \"K11\": 76142036.76493588,\n \"K12\": 673525.662062645,\n \"K13\": -41669688.51011612,\n \"K14\": 53421817.67200649\n },\n \"R32\": {\n \"K1\": -89219505.33041811,\n \"K2\": 84086950.08672878,\n \"K3\": -47621981.65450138,\n \"K4\": -43320449.76828926,\n \"K5\": -32075059.245812193,\n \"K6\": 46658032.035206795,\n \"K7\": 74567283.10016194,\n \"K8\": -39210983.69562697,\n \"K9\": -94627388.8717959,\n \"K10\": 51416151.03172833,\n \"K11\": -67059563.23692037,\n \"K12\": 14054536.63035208,\n \"K13\": 1584464.747822255,\n \"K14\": 6139643.822236434\n },\n \"R33\": {\n \"K1\": 8509480.473880112,\n \"K2\": 54038030.33899832,\n \"K3\": -67320688.18142922,\n \"K4\": 157803.89888755977,\n \"K5\": -93464588.74322496,\n \"K6\": -73086803.47495252,\n \"K7\": 28811001.462504923,\n \"K8\": -858734.274120152,\n \"K9\": -83736640.3299682,\n \"K10\": -30443417.911967963,\n \"K11\": -59182930.12059839,\n \"K12\": 90991775.95187068,\n \"K13\": -93258202.86744104,\n \"K14\": 75065806.16454467\n },\n \"R34\": {\n \"K1\": 64366266.04542029,\n \"K2\": 55875279.07302797,\n \"K3\": -30412639.03126569,\n \"K4\": 20928264.1107547,\n \"K5\": 96073421.19970256,\n \"K6\": 6238152.798862994,\n \"K7\": 82602234.65809983,\n \"K8\": -51657176.4649302,\n \"K9\": 78178158.87128153,\n \"K10\": -49439763.84407458,\n \"K11\": -33046722.950156137,\n \"K12\": -49408589.47432081,\n \"K13\": -17148102.76511787,\n \"K14\": 30072675.67667733\n },\n \"R35\": {\n \"K1\": -75256865.62902214,\n \"K2\": -14233162.403070495,\n \"K3\": 89920332.7760945,\n \"K4\": -27753270.94936633,\n \"K5\": -19643007.61510174,\n \"K6\": 16777781.736409515,\n \"K7\": 17366393.979396924,\n \"K8\": 13701608.75001809,\n \"K9\": 43470850.388211966,\n \"K10\": -81511501.13858594,\n \"K11\": -68098284.54304525,\n \"K12\": 10830500.441741318,\n \"K13\": 69405383.63544184,\n \"K14\": -37015749.94596557\n },\n \"R37\": {\n \"PielikumsRindai15\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai16\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai17\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai18\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai19\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"PielikumsRindai33\": {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n },\n \"CitiDokumenti\": [\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n }\n ]\n },\n \"Id\": 64149875,\n \"UID\": \"ipsum culpa\",\n \"NmrKods\": \"anim proi\",\n \"Precizejums\": false,\n \"PrecizejamaisDokuments\": -88089515,\n \"PrecizejumaPamatojums\": \"Lorem officia\"\n}"
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Dokuments neeksistē vai lietotājam nav tiesību.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Pārsniegts izsaukumu skaita ierobežojums.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/annv3/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"annv3",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}