C / EDS API / Dokuments "Uzņēmuma ienākuma nodokļa deklarācija".
Back to Collection Items
#include <C_CkHttp.h>
#include <C_CkStringBuilder.h>
#include <C_CkJsonObject.h>
void ChilkatSample(void)
{
HCkHttp http;
BOOL success;
HCkStringBuilder sbResponseBody;
HCkJsonObject jResp;
int respStatusCode;
const char *KorekcijaReorganizacijaNmrKods;
const char *KorekcijaCitiIemesli;
int PelnaNesadalita;
int Samazina;
BOOL KorekcijaLabosana;
int Korekcija;
const char *KorekcijaPamatojums;
int PelnaDividendes;
int Paradi;
int Aizdevums;
int PelnaSadalisanai;
const char *ZaudejumiReorganizacijaNmrKods;
int ZaudejumiPrevious;
BOOL ZaudejumiLabosana;
int Zaudejumi;
const char *ZaudejumiPamatojums;
int Samazinats;
int Parnests;
const char *UzkrajumsReorganizacijaNmrKods;
int UzkrajumsPrevious;
BOOL UzkrajumsLabosana;
int Uzkrajums;
const char *UzkrajumsPamatojums;
const char *PeriodsNo;
const char *PeriodsLidz;
const char *RegNr;
const char *Nosaukums;
int Sanemts;
const char *Valsts;
int SamazinatsIzmaksatas;
int SamazinatsNodoklis;
int Palielinajums;
int Samazinajums;
int PalielinajumsPelna;
int Menesi;
int Samaksats;
const char *Datums;
const char *IegadesDatums;
const char *AtsavinasanasDatums;
int IegadesVertiba;
int AtsavinasanasVertiba;
int IenakumsBaze;
int IenakumsParnests;
const char *SummaReorganizacijaNmrKods;
int SummaPrevious;
BOOL SummaLabosana;
const char *SummaPamatojums;
int NodoklaSumma;
int AtmaksataAtgutaSumma;
int Parmaksa;
const char *Value;
const char *Komentars;
const char *ParskNo;
const char *ParskLidz;
const char *ParskPerReorganizacijaNmrKods;
int TaksGads;
BOOL IeprZaudejumi;
int R01;
const char *ParskNoPrevious;
const char *ParskLidzPrevious;
BOOL ParskPerLabosana;
const char *ParskPerPamatojums;
int TaksMenesis;
int TaksCeturksnis;
BOOL PedejaDeklaracija;
BOOL TransfercenasPazime;
BOOL MinNodoklis;
const char *Pamatojums;
const char *Epasts;
const char *Talrunis;
const char *Sagatavotajs;
int IzmaksatasUnNosacitasDividendes;
BOOL NodoklisArvalstis;
BOOL IenakumiNoAkcijuAtsavinasanas;
BOOL SamazinajusiesUzkrajumuSumma;
int IrVeiktiZiedojumi;
int IzmaksasNavNodoklis;
int NodoklaParmaksa;
int R02;
int R03;
int R04;
int R05;
int R05_1;
int R05_2;
int R05_3;
int R06;
int R06_1;
int R06_2;
BOOL DebitoraParadaUzkrajums;
int R06_3;
int R06_4;
int R06_5;
int R06_5_1;
int R06_5_2;
int R06_6;
int R06_7;
int R06_8;
int R06_9;
int R06_10;
int R06_11;
int R06_12;
const char *R06_13_nosaukums;
int R06_13;
const char *R06_14_nosaukums;
int R06_14;
int R07;
int R08;
int R09_0_4;
int R9_1;
int Summa;
int R09ProcentuLikme;
int SummaNeieklauj;
const char *SummaIeklauj;
int R10;
int R11;
int R12;
int R13;
int R14;
int R15;
int R16;
int R17;
int R18;
int R19;
int R20;
int R21;
int R22;
int R23;
int R24;
int R25;
const char *R25_1_nosaukums;
int R25_1;
const char *R25_2_nosaukums;
int R25_2;
const char *R25_3_nosaukums;
int R25_3;
int R26;
int R27;
int R27_1;
int R27_2;
int R27_3;
int R27_4;
const char *R27_5_nosaukums;
int R27_5;
int R28;
int R28_1;
int R28_2;
int R29;
int R30;
int R31;
int R31_1;
int R31_2;
int R32;
int Id;
const char *UID;
const char *NmrKods;
BOOL Precizejums;
int PrecizejamaisDokuments;
const char *PrecizejumaPamatojums;
int i;
int count_i;
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http = CkHttp_Create();
CkHttp_SetRequestHeader(http,"Accept","application/json");
sbResponseBody = CkStringBuilder_Create();
success = CkHttp_QuickGetSb(http,"https://eds.vid.gov.lv/api/doc/uienv5/:id",sbResponseBody);
if (success == FALSE) {
printf("%s\n",CkHttp_lastErrorText(http));
CkHttp_Dispose(http);
CkStringBuilder_Dispose(sbResponseBody);
return;
}
jResp = CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,sbResponseBody);
CkJsonObject_putEmitCompact(jResp,FALSE);
printf("Response Body:\n");
printf("%s\n",CkJsonObject_emit(jResp));
respStatusCode = CkHttp_getLastStatus(http);
printf("Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
printf("Response Header:\n");
printf("%s\n",CkHttp_lastHeader(http));
printf("Failed.\n");
CkHttp_Dispose(http);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
return;
}
// Sample JSON response:
// (Sample code for parsing the JSON response is shown below)
// {
// "ParskNo": "2000-01-31T00:00:00",
// "ParskLidz": "2000-01-31T00:00:00",
// "ParskPerReorganizacijaNmrKods": "Ut",
// "TaksGads": 49662660,
// "IeprZaudejumi": true,
// "R01": 2491915,
// "ParskNoPrevious": "2000-01-31T00:00:00",
// "ParskLidzPrevious": "2000-01-31T00:00:00",
// "ParskPerLabosana": true,
// "ParskPerPamatojums": "culpa in",
// "TaksMenesis": 7,
// "TaksCeturksnis": 3,
// "PedejaDeklaracija": true,
// "TransfercenasPazime": true,
// "MinNodoklis": false,
// "Pamatojums": "tempor labore consectetur",
// "Epasts": "ut deserunt",
// "Talrunis": "m",
// "Sagatavotajs": "veniam dolore Ut exercitation",
// "IzmaksatasUnNosacitasDividendes": 56840859,
// "NodoklisArvalstis": true,
// "IenakumiNoAkcijuAtsavinasanas": false,
// "SamazinajusiesUzkrajumuSumma": false,
// "IrVeiktiZiedojumi": 32690365,
// "IzmaksasNavNodoklis": 78759160,
// "NodoklaParmaksa": 37491534,
// "R02": 3791516,
// "R03": -29855001,
// "R04": 74337266,
// "R05": -30713137,
// "R05_1": -22917413,
// "R05_2": 9339974,
// "R05_3": 74966232,
// "R06": 25418413,
// "R06_1": -6353053,
// "R06_2": 77930312,
// "DebitoraParadaUzkrajums": true,
// "R06_3": 8611662,
// "R06_4": 47033133,
// "R06_5": -13232991,
// "R06_5_1": -77059376,
// "R06_5_2": 95050440,
// "R06_6": 69862,
// "R06_7": -95547265,
// "R06_8": 13491051,
// "R06_9": -39802865,
// "R06_10": 49260217,
// "R06_11": -75525838,
// "R06_12": -728968,
// "R06_13_nosaukums": "ut ut tempor",
// "R06_13": 27165990,
// "R06_14_nosaukums": "aliquip amet",
// "R06_14": 39786896,
// "R07": 91079648,
// "R08": 7455573,
// "R09_0_4": -25877701,
// "R9_1": -16891571,
// "Summa": -24159722,
// "R09ProcentuLikme": 22297598,
// "SummaNeieklauj": 72979597,
// "SummaIekļauj": 93267916.40421143,
// "R10": -29899198,
// "R11": 87306328,
// "R12": 40223250,
// "R13": -62028791,
// "R14": 64171299,
// "R15": 84760618,
// "R16": 86429907,
// "R17": -39714954,
// "R18": 71976223,
// "R19": 54326373,
// "R20": 27511170,
// "R21": 88300326,
// "R22": 95229689,
// "R23": 841177,
// "R24": 56018113,
// "R25": 12618386,
// "R25_1_nosaukums": "consectetur nulla minim ut",
// "R25_1": 2858412,
// "R25_2_nosaukums": "occaecat",
// "R25_2": 38083678,
// "R25_3_nosaukums": "aliqua irure non dolore in",
// "R25_3": 59513786,
// "R26": -274360,
// "R27": -88406374,
// "R27_1": 7209600,
// "R27_2": 33389130,
// "R27_3": -18610069,
// "R27_4": -68295528,
// "R27_5_nosaukums": "et nisi ad",
// "R27_5": -84390190,
// "R28": -80264587,
// "R28_1": -75450217,
// "R28_2": -8855644,
// "R29": 85266425,
// "R30": 603716,
// "R31": -84570375,
// "R31_1": 92638125,
// "R31_2": -80075423,
// "R32": -54183173,
// "Tab1_1": [
// {
// "KorekcijaReorganizacijaNmrKods": "deserun",
// "KorekcijaCitiIemesli": "irure Ut dolore id",
// "PelnaNesadalita": -64443600,
// "Samazina": 10032478,
// "KorekcijaLabosana": true,
// "Korekcija": 13794994,
// "KorekcijaPamatojums": "dolore of",
// "PelnaDividendes": 60661372,
// "Paradi": -81014392,
// "Aizdevums": -58380698,
// "PelnaSadalisanai": 54711627
// },
// {
// "KorekcijaReorganizacijaNmrKods": "nulla",
// "KorekcijaCitiIemesli": "nostrud Lorem id",
// "PelnaNesadalita": -40537503,
// "Samazina": -21930951,
// "KorekcijaLabosana": true,
// "Korekcija": -30045653,
// "KorekcijaPamatojums": "cillum",
// "PelnaDividendes": -53228560,
// "Paradi": -29699440,
// "Aizdevums": 48321059,
// "PelnaSadalisanai": 96811249
// }
// ],
// "Tab1_2": [
// {
// "ZaudejumiReorganizacijaNmrKods": "dol",
// "ZaudejumiPrevious": 93584304,
// "ZaudejumiLabosana": true,
// "Zaudejumi": 60086365,
// "ZaudejumiPamatojums": "enim irure incididunt laboris",
// "Samazinats": 44190215,
// "Parnests": 74848476
// },
// {
// "ZaudejumiReorganizacijaNmrKods": "aliquip si",
// "ZaudejumiPrevious": 2689899,
// "ZaudejumiLabosana": true,
// "Zaudejumi": -91154224,
// "ZaudejumiPamatojums": "sit nostrud",
// "Samazinats": -7089047,
// "Parnests": 16437898
// }
// ],
// "Tab1_3": [
// {
// "UzkrajumsReorganizacijaNmrKods": "ve",
// "UzkrajumsPrevious": 83413550,
// "UzkrajumsLabosana": true,
// "Uzkrajums": -69994949,
// "UzkrajumsPamatojums": "ullamco incididunt nisi",
// "Samazinats": 79958540,
// "Parnests": 37820337
// },
// {
// "UzkrajumsReorganizacijaNmrKods": "dolo",
// "UzkrajumsPrevious": 74562023,
// "UzkrajumsLabosana": false,
// "Uzkrajums": -51602661,
// "UzkrajumsPamatojums": "et proident nulla aute commodo",
// "Samazinats": -4961309,
// "Parnests": 27916300
// }
// ],
// "Tab02": [
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "RegNr": "sunt ad",
// "Nosaukums": "aliquip nostrud do",
// "Sanemts": -5562327,
// "Valsts": "",
// "SamazinatsIzmaksatas": -32846511,
// "SamazinatsNodoklis": 2405851,
// "Parnests": -56393371
// },
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "RegNr": "id",
// "Nosaukums": "ea aliquip",
// "Sanemts": 75625645,
// "Valsts": "n",
// "SamazinatsIzmaksatas": 70020020,
// "SamazinatsNodoklis": -78548637,
// "Parnests": 14030356
// }
// ],
// "Tab05_1": [
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Palielinajums": -53685313,
// "Samazinajums": -73721918,
// "PalielinajumsPelna": -88908178
// },
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Palielinajums": -80303393,
// "Samazinajums": 69314708,
// "PalielinajumsPelna": -26201001
// }
// ],
// "Tab06_2": [
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Summa": 61658935,
// "Menesi": -99483417
// },
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Summa": -38968258,
// "Menesi": -17845204
// }
// ],
// "Tab08": [
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Valsts": "m",
// "Samaksats": -20746780,
// "Samazinats": 51916300,
// "Parnests": 68207219
// },
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Valsts": "id",
// "Samaksats": -13437758,
// "Samazinats": -41724301,
// "Parnests": 20702642
// }
// ],
// "Tab09_1": [
// {
// "RegNr": "cupidatat sit non irure",
// "Nosaukums": "ad nisi reprehenderit",
// "Valsts": "",
// "Datums": "2000-01-31T00:00:00",
// "Summa": 20213549
// },
// {
// "RegNr": "do dolore sint",
// "Nosaukums": "quis non",
// "Valsts": "ut",
// "Datums": "2000-01-31T00:00:00",
// "Summa": 60468532
// }
// ],
// "Tab15": [
// {
// "IegadesDatums": "2000-01-31T00:00:00",
// "AtsavinasanasDatums": "2000-01-31T00:00:00",
// "IegadesVertiba": -58543462,
// "AtsavinasanasVertiba": 62726723,
// "Menesi": -58943961,
// "IenakumsBaze": -45387925,
// "IenakumsParnests": 53964786
// },
// {
// "IegadesDatums": "2000-01-31T00:00:00",
// "AtsavinasanasDatums": "2000-01-31T00:00:00",
// "IegadesVertiba": 31642925,
// "AtsavinasanasVertiba": 23986045,
// "Menesi": 11516768,
// "IenakumsBaze": 33904817,
// "IenakumsParnests": 54994936
// }
// ],
// "Tab16": [
// {
// "Summa": 92384867,
// "SummaReorganizacijaNmrKods": "amet de",
// "SummaPrevious": -14104548,
// "SummaLabosana": true,
// "SummaPamatojums": "ullamco occaecat tempor ea",
// "Samazinats": 43463305,
// "Parnests": 21487521
// },
// {
// "Summa": -18350646,
// "SummaReorganizacijaNmrKods": "magna o",
// "SummaPrevious": -34149691,
// "SummaLabosana": true,
// "SummaPamatojums": "nisi dolore",
// "Samazinats": -35735489,
// "Parnests": -24724843
// }
// ],
// "Tab31_2": [
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Summa": -47625962,
// "NodoklaSumma": 93123139,
// "AtmaksataAtgutaSumma": 52266513,
// "Parmaksa": 85154944
// },
// {
// "PeriodsNo": "2000-01-31T00:00:00",
// "PeriodsLidz": "2000-01-31T00:00:00",
// "Summa": -97498178,
// "NodoklaSumma": -6580861,
// "AtmaksataAtgutaSumma": 14375921,
// "Parmaksa": 17401836
// }
// ],
// "Pielikumi": [
// {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": "ullamco cupidatat aliquip"
// },
// {
// "Fails": {
// "value": "<Error: Too many levels of nesting to fake this schema>"
// },
// "Komentars": "occaecat Ut"
// }
// ],
// "Id": -66514693,
// "UID": "adipisicing dolore esse",
// "NmrKods": "proident ",
// "Precizejums": false,
// "PrecizejamaisDokuments": 90049699,
// "PrecizejumaPamatojums": "in amet aliqua"
// }
// Sample code for parsing the JSON response...
// Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code
// Chilkat functions returning "const char *" return a pointer to temporary internal memory owned and managed by Chilkat.
ParskNo = CkJsonObject_stringOf(jResp,"ParskNo");
ParskLidz = CkJsonObject_stringOf(jResp,"ParskLidz");
ParskPerReorganizacijaNmrKods = CkJsonObject_stringOf(jResp,"ParskPerReorganizacijaNmrKods");
TaksGads = CkJsonObject_IntOf(jResp,"TaksGads");
IeprZaudejumi = CkJsonObject_BoolOf(jResp,"IeprZaudejumi");
R01 = CkJsonObject_IntOf(jResp,"R01");
ParskNoPrevious = CkJsonObject_stringOf(jResp,"ParskNoPrevious");
ParskLidzPrevious = CkJsonObject_stringOf(jResp,"ParskLidzPrevious");
ParskPerLabosana = CkJsonObject_BoolOf(jResp,"ParskPerLabosana");
ParskPerPamatojums = CkJsonObject_stringOf(jResp,"ParskPerPamatojums");
TaksMenesis = CkJsonObject_IntOf(jResp,"TaksMenesis");
TaksCeturksnis = CkJsonObject_IntOf(jResp,"TaksCeturksnis");
PedejaDeklaracija = CkJsonObject_BoolOf(jResp,"PedejaDeklaracija");
TransfercenasPazime = CkJsonObject_BoolOf(jResp,"TransfercenasPazime");
MinNodoklis = CkJsonObject_BoolOf(jResp,"MinNodoklis");
Pamatojums = CkJsonObject_stringOf(jResp,"Pamatojums");
Epasts = CkJsonObject_stringOf(jResp,"Epasts");
Talrunis = CkJsonObject_stringOf(jResp,"Talrunis");
Sagatavotajs = CkJsonObject_stringOf(jResp,"Sagatavotajs");
IzmaksatasUnNosacitasDividendes = CkJsonObject_IntOf(jResp,"IzmaksatasUnNosacitasDividendes");
NodoklisArvalstis = CkJsonObject_BoolOf(jResp,"NodoklisArvalstis");
IenakumiNoAkcijuAtsavinasanas = CkJsonObject_BoolOf(jResp,"IenakumiNoAkcijuAtsavinasanas");
SamazinajusiesUzkrajumuSumma = CkJsonObject_BoolOf(jResp,"SamazinajusiesUzkrajumuSumma");
IrVeiktiZiedojumi = CkJsonObject_IntOf(jResp,"IrVeiktiZiedojumi");
IzmaksasNavNodoklis = CkJsonObject_IntOf(jResp,"IzmaksasNavNodoklis");
NodoklaParmaksa = CkJsonObject_IntOf(jResp,"NodoklaParmaksa");
R02 = CkJsonObject_IntOf(jResp,"R02");
R03 = CkJsonObject_IntOf(jResp,"R03");
R04 = CkJsonObject_IntOf(jResp,"R04");
R05 = CkJsonObject_IntOf(jResp,"R05");
R05_1 = CkJsonObject_IntOf(jResp,"R05_1");
R05_2 = CkJsonObject_IntOf(jResp,"R05_2");
R05_3 = CkJsonObject_IntOf(jResp,"R05_3");
R06 = CkJsonObject_IntOf(jResp,"R06");
R06_1 = CkJsonObject_IntOf(jResp,"R06_1");
R06_2 = CkJsonObject_IntOf(jResp,"R06_2");
DebitoraParadaUzkrajums = CkJsonObject_BoolOf(jResp,"DebitoraParadaUzkrajums");
R06_3 = CkJsonObject_IntOf(jResp,"R06_3");
R06_4 = CkJsonObject_IntOf(jResp,"R06_4");
R06_5 = CkJsonObject_IntOf(jResp,"R06_5");
R06_5_1 = CkJsonObject_IntOf(jResp,"R06_5_1");
R06_5_2 = CkJsonObject_IntOf(jResp,"R06_5_2");
R06_6 = CkJsonObject_IntOf(jResp,"R06_6");
R06_7 = CkJsonObject_IntOf(jResp,"R06_7");
R06_8 = CkJsonObject_IntOf(jResp,"R06_8");
R06_9 = CkJsonObject_IntOf(jResp,"R06_9");
R06_10 = CkJsonObject_IntOf(jResp,"R06_10");
R06_11 = CkJsonObject_IntOf(jResp,"R06_11");
R06_12 = CkJsonObject_IntOf(jResp,"R06_12");
R06_13_nosaukums = CkJsonObject_stringOf(jResp,"R06_13_nosaukums");
R06_13 = CkJsonObject_IntOf(jResp,"R06_13");
R06_14_nosaukums = CkJsonObject_stringOf(jResp,"R06_14_nosaukums");
R06_14 = CkJsonObject_IntOf(jResp,"R06_14");
R07 = CkJsonObject_IntOf(jResp,"R07");
R08 = CkJsonObject_IntOf(jResp,"R08");
R09_0_4 = CkJsonObject_IntOf(jResp,"R09_0_4");
R9_1 = CkJsonObject_IntOf(jResp,"R9_1");
Summa = CkJsonObject_IntOf(jResp,"Summa");
R09ProcentuLikme = CkJsonObject_IntOf(jResp,"R09ProcentuLikme");
SummaNeieklauj = CkJsonObject_IntOf(jResp,"SummaNeieklauj");
SummaIeklauj = CkJsonObject_stringOf(jResp,"SummaIekļauj");
R10 = CkJsonObject_IntOf(jResp,"R10");
R11 = CkJsonObject_IntOf(jResp,"R11");
R12 = CkJsonObject_IntOf(jResp,"R12");
R13 = CkJsonObject_IntOf(jResp,"R13");
R14 = CkJsonObject_IntOf(jResp,"R14");
R15 = CkJsonObject_IntOf(jResp,"R15");
R16 = CkJsonObject_IntOf(jResp,"R16");
R17 = CkJsonObject_IntOf(jResp,"R17");
R18 = CkJsonObject_IntOf(jResp,"R18");
R19 = CkJsonObject_IntOf(jResp,"R19");
R20 = CkJsonObject_IntOf(jResp,"R20");
R21 = CkJsonObject_IntOf(jResp,"R21");
R22 = CkJsonObject_IntOf(jResp,"R22");
R23 = CkJsonObject_IntOf(jResp,"R23");
R24 = CkJsonObject_IntOf(jResp,"R24");
R25 = CkJsonObject_IntOf(jResp,"R25");
R25_1_nosaukums = CkJsonObject_stringOf(jResp,"R25_1_nosaukums");
R25_1 = CkJsonObject_IntOf(jResp,"R25_1");
R25_2_nosaukums = CkJsonObject_stringOf(jResp,"R25_2_nosaukums");
R25_2 = CkJsonObject_IntOf(jResp,"R25_2");
R25_3_nosaukums = CkJsonObject_stringOf(jResp,"R25_3_nosaukums");
R25_3 = CkJsonObject_IntOf(jResp,"R25_3");
R26 = CkJsonObject_IntOf(jResp,"R26");
R27 = CkJsonObject_IntOf(jResp,"R27");
R27_1 = CkJsonObject_IntOf(jResp,"R27_1");
R27_2 = CkJsonObject_IntOf(jResp,"R27_2");
R27_3 = CkJsonObject_IntOf(jResp,"R27_3");
R27_4 = CkJsonObject_IntOf(jResp,"R27_4");
R27_5_nosaukums = CkJsonObject_stringOf(jResp,"R27_5_nosaukums");
R27_5 = CkJsonObject_IntOf(jResp,"R27_5");
R28 = CkJsonObject_IntOf(jResp,"R28");
R28_1 = CkJsonObject_IntOf(jResp,"R28_1");
R28_2 = CkJsonObject_IntOf(jResp,"R28_2");
R29 = CkJsonObject_IntOf(jResp,"R29");
R30 = CkJsonObject_IntOf(jResp,"R30");
R31 = CkJsonObject_IntOf(jResp,"R31");
R31_1 = CkJsonObject_IntOf(jResp,"R31_1");
R31_2 = CkJsonObject_IntOf(jResp,"R31_2");
R32 = CkJsonObject_IntOf(jResp,"R32");
Id = CkJsonObject_IntOf(jResp,"Id");
UID = CkJsonObject_stringOf(jResp,"UID");
NmrKods = CkJsonObject_stringOf(jResp,"NmrKods");
Precizejums = CkJsonObject_BoolOf(jResp,"Precizejums");
PrecizejamaisDokuments = CkJsonObject_IntOf(jResp,"PrecizejamaisDokuments");
PrecizejumaPamatojums = CkJsonObject_stringOf(jResp,"PrecizejumaPamatojums");
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab1_1");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
KorekcijaReorganizacijaNmrKods = CkJsonObject_stringOf(jResp,"Tab1_1[i].KorekcijaReorganizacijaNmrKods");
KorekcijaCitiIemesli = CkJsonObject_stringOf(jResp,"Tab1_1[i].KorekcijaCitiIemesli");
PelnaNesadalita = CkJsonObject_IntOf(jResp,"Tab1_1[i].PelnaNesadalita");
Samazina = CkJsonObject_IntOf(jResp,"Tab1_1[i].Samazina");
KorekcijaLabosana = CkJsonObject_BoolOf(jResp,"Tab1_1[i].KorekcijaLabosana");
Korekcija = CkJsonObject_IntOf(jResp,"Tab1_1[i].Korekcija");
KorekcijaPamatojums = CkJsonObject_stringOf(jResp,"Tab1_1[i].KorekcijaPamatojums");
PelnaDividendes = CkJsonObject_IntOf(jResp,"Tab1_1[i].PelnaDividendes");
Paradi = CkJsonObject_IntOf(jResp,"Tab1_1[i].Paradi");
Aizdevums = CkJsonObject_IntOf(jResp,"Tab1_1[i].Aizdevums");
PelnaSadalisanai = CkJsonObject_IntOf(jResp,"Tab1_1[i].PelnaSadalisanai");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab1_2");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
ZaudejumiReorganizacijaNmrKods = CkJsonObject_stringOf(jResp,"Tab1_2[i].ZaudejumiReorganizacijaNmrKods");
ZaudejumiPrevious = CkJsonObject_IntOf(jResp,"Tab1_2[i].ZaudejumiPrevious");
ZaudejumiLabosana = CkJsonObject_BoolOf(jResp,"Tab1_2[i].ZaudejumiLabosana");
Zaudejumi = CkJsonObject_IntOf(jResp,"Tab1_2[i].Zaudejumi");
ZaudejumiPamatojums = CkJsonObject_stringOf(jResp,"Tab1_2[i].ZaudejumiPamatojums");
Samazinats = CkJsonObject_IntOf(jResp,"Tab1_2[i].Samazinats");
Parnests = CkJsonObject_IntOf(jResp,"Tab1_2[i].Parnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab1_3");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
UzkrajumsReorganizacijaNmrKods = CkJsonObject_stringOf(jResp,"Tab1_3[i].UzkrajumsReorganizacijaNmrKods");
UzkrajumsPrevious = CkJsonObject_IntOf(jResp,"Tab1_3[i].UzkrajumsPrevious");
UzkrajumsLabosana = CkJsonObject_BoolOf(jResp,"Tab1_3[i].UzkrajumsLabosana");
Uzkrajums = CkJsonObject_IntOf(jResp,"Tab1_3[i].Uzkrajums");
UzkrajumsPamatojums = CkJsonObject_stringOf(jResp,"Tab1_3[i].UzkrajumsPamatojums");
Samazinats = CkJsonObject_IntOf(jResp,"Tab1_3[i].Samazinats");
Parnests = CkJsonObject_IntOf(jResp,"Tab1_3[i].Parnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab02");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
PeriodsNo = CkJsonObject_stringOf(jResp,"Tab02[i].PeriodsNo");
PeriodsLidz = CkJsonObject_stringOf(jResp,"Tab02[i].PeriodsLidz");
RegNr = CkJsonObject_stringOf(jResp,"Tab02[i].RegNr");
Nosaukums = CkJsonObject_stringOf(jResp,"Tab02[i].Nosaukums");
Sanemts = CkJsonObject_IntOf(jResp,"Tab02[i].Sanemts");
Valsts = CkJsonObject_stringOf(jResp,"Tab02[i].Valsts");
SamazinatsIzmaksatas = CkJsonObject_IntOf(jResp,"Tab02[i].SamazinatsIzmaksatas");
SamazinatsNodoklis = CkJsonObject_IntOf(jResp,"Tab02[i].SamazinatsNodoklis");
Parnests = CkJsonObject_IntOf(jResp,"Tab02[i].Parnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab05_1");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
PeriodsNo = CkJsonObject_stringOf(jResp,"Tab05_1[i].PeriodsNo");
PeriodsLidz = CkJsonObject_stringOf(jResp,"Tab05_1[i].PeriodsLidz");
Palielinajums = CkJsonObject_IntOf(jResp,"Tab05_1[i].Palielinajums");
Samazinajums = CkJsonObject_IntOf(jResp,"Tab05_1[i].Samazinajums");
PalielinajumsPelna = CkJsonObject_IntOf(jResp,"Tab05_1[i].PalielinajumsPelna");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab06_2");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
PeriodsNo = CkJsonObject_stringOf(jResp,"Tab06_2[i].PeriodsNo");
PeriodsLidz = CkJsonObject_stringOf(jResp,"Tab06_2[i].PeriodsLidz");
Summa = CkJsonObject_IntOf(jResp,"Tab06_2[i].Summa");
Menesi = CkJsonObject_IntOf(jResp,"Tab06_2[i].Menesi");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab08");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
PeriodsNo = CkJsonObject_stringOf(jResp,"Tab08[i].PeriodsNo");
PeriodsLidz = CkJsonObject_stringOf(jResp,"Tab08[i].PeriodsLidz");
Valsts = CkJsonObject_stringOf(jResp,"Tab08[i].Valsts");
Samaksats = CkJsonObject_IntOf(jResp,"Tab08[i].Samaksats");
Samazinats = CkJsonObject_IntOf(jResp,"Tab08[i].Samazinats");
Parnests = CkJsonObject_IntOf(jResp,"Tab08[i].Parnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab09_1");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
RegNr = CkJsonObject_stringOf(jResp,"Tab09_1[i].RegNr");
Nosaukums = CkJsonObject_stringOf(jResp,"Tab09_1[i].Nosaukums");
Valsts = CkJsonObject_stringOf(jResp,"Tab09_1[i].Valsts");
Datums = CkJsonObject_stringOf(jResp,"Tab09_1[i].Datums");
Summa = CkJsonObject_IntOf(jResp,"Tab09_1[i].Summa");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab15");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
IegadesDatums = CkJsonObject_stringOf(jResp,"Tab15[i].IegadesDatums");
AtsavinasanasDatums = CkJsonObject_stringOf(jResp,"Tab15[i].AtsavinasanasDatums");
IegadesVertiba = CkJsonObject_IntOf(jResp,"Tab15[i].IegadesVertiba");
AtsavinasanasVertiba = CkJsonObject_IntOf(jResp,"Tab15[i].AtsavinasanasVertiba");
Menesi = CkJsonObject_IntOf(jResp,"Tab15[i].Menesi");
IenakumsBaze = CkJsonObject_IntOf(jResp,"Tab15[i].IenakumsBaze");
IenakumsParnests = CkJsonObject_IntOf(jResp,"Tab15[i].IenakumsParnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab16");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
Summa = CkJsonObject_IntOf(jResp,"Tab16[i].Summa");
SummaReorganizacijaNmrKods = CkJsonObject_stringOf(jResp,"Tab16[i].SummaReorganizacijaNmrKods");
SummaPrevious = CkJsonObject_IntOf(jResp,"Tab16[i].SummaPrevious");
SummaLabosana = CkJsonObject_BoolOf(jResp,"Tab16[i].SummaLabosana");
SummaPamatojums = CkJsonObject_stringOf(jResp,"Tab16[i].SummaPamatojums");
Samazinats = CkJsonObject_IntOf(jResp,"Tab16[i].Samazinats");
Parnests = CkJsonObject_IntOf(jResp,"Tab16[i].Parnests");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Tab31_2");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
PeriodsNo = CkJsonObject_stringOf(jResp,"Tab31_2[i].PeriodsNo");
PeriodsLidz = CkJsonObject_stringOf(jResp,"Tab31_2[i].PeriodsLidz");
Summa = CkJsonObject_IntOf(jResp,"Tab31_2[i].Summa");
NodoklaSumma = CkJsonObject_IntOf(jResp,"Tab31_2[i].NodoklaSumma");
AtmaksataAtgutaSumma = CkJsonObject_IntOf(jResp,"Tab31_2[i].AtmaksataAtgutaSumma");
Parmaksa = CkJsonObject_IntOf(jResp,"Tab31_2[i].Parmaksa");
i = i + 1;
}
i = 0;
count_i = CkJsonObject_SizeOfArray(jResp,"Pielikumi");
while (i < count_i) {
CkJsonObject_putI(jResp,i);
Value = CkJsonObject_stringOf(jResp,"Pielikumi[i].Fails.value");
Komentars = CkJsonObject_stringOf(jResp,"Pielikumi[i].Komentars");
i = i + 1;
}
CkHttp_Dispose(http);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);
}
Curl Command
curl -X GET
-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/uienv5/:id
Postman Collection Item JSON
{
"name": "Dokuments \"Uzņēmuma ienākuma nodokļa deklarācija\".",
"request": {
"method": "GET",
"header": [
{
"key": "Accept",
"value": "application/json"
}
],
"url": {
"raw": "{{baseUrl}}/api/doc/uienv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"uienv5",
":id"
],
"variable": [
{
"key": "id",
"value": "25210683",
"description": "(Required) Dokumenta id."
}
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/uienv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"uienv5",
":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 \"ParskNo\": \"2000-01-31T00:00:00\",\n \"ParskLidz\": \"2000-01-31T00:00:00\",\n \"ParskPerReorganizacijaNmrKods\": \"Ut\",\n \"TaksGads\": 49662660,\n \"IeprZaudejumi\": true,\n \"R01\": 2491915,\n \"ParskNoPrevious\": \"2000-01-31T00:00:00\",\n \"ParskLidzPrevious\": \"2000-01-31T00:00:00\",\n \"ParskPerLabosana\": true,\n \"ParskPerPamatojums\": \"culpa in\",\n \"TaksMenesis\": 7,\n \"TaksCeturksnis\": 3,\n \"PedejaDeklaracija\": true,\n \"TransfercenasPazime\": true,\n \"MinNodoklis\": false,\n \"Pamatojums\": \"tempor labore consectetur\",\n \"Epasts\": \"ut deserunt\",\n \"Talrunis\": \"m\",\n \"Sagatavotajs\": \"veniam dolore Ut exercitation\",\n \"IzmaksatasUnNosacitasDividendes\": 56840859,\n \"NodoklisArvalstis\": true,\n \"IenakumiNoAkcijuAtsavinasanas\": false,\n \"SamazinajusiesUzkrajumuSumma\": false,\n \"IrVeiktiZiedojumi\": 32690365,\n \"IzmaksasNavNodoklis\": 78759160,\n \"NodoklaParmaksa\": 37491534,\n \"R02\": 3791516,\n \"R03\": -29855001,\n \"R04\": 74337266,\n \"R05\": -30713137,\n \"R05_1\": -22917413,\n \"R05_2\": 9339974,\n \"R05_3\": 74966232,\n \"R06\": 25418413,\n \"R06_1\": -6353053,\n \"R06_2\": 77930312,\n \"DebitoraParadaUzkrajums\": true,\n \"R06_3\": 8611662,\n \"R06_4\": 47033133,\n \"R06_5\": -13232991,\n \"R06_5_1\": -77059376,\n \"R06_5_2\": 95050440,\n \"R06_6\": 69862,\n \"R06_7\": -95547265,\n \"R06_8\": 13491051,\n \"R06_9\": -39802865,\n \"R06_10\": 49260217,\n \"R06_11\": -75525838,\n \"R06_12\": -728968,\n \"R06_13_nosaukums\": \"ut ut tempor\",\n \"R06_13\": 27165990,\n \"R06_14_nosaukums\": \"aliquip amet\",\n \"R06_14\": 39786896,\n \"R07\": 91079648,\n \"R08\": 7455573,\n \"R09_0_4\": -25877701,\n \"R9_1\": -16891571,\n \"Summa\": -24159722,\n \"R09ProcentuLikme\": 22297598,\n \"SummaNeieklauj\": 72979597,\n \"SummaIekļauj\": 93267916.40421143,\n \"R10\": -29899198,\n \"R11\": 87306328,\n \"R12\": 40223250,\n \"R13\": -62028791,\n \"R14\": 64171299,\n \"R15\": 84760618,\n \"R16\": 86429907,\n \"R17\": -39714954,\n \"R18\": 71976223,\n \"R19\": 54326373,\n \"R20\": 27511170,\n \"R21\": 88300326,\n \"R22\": 95229689,\n \"R23\": 841177,\n \"R24\": 56018113,\n \"R25\": 12618386,\n \"R25_1_nosaukums\": \"consectetur nulla minim ut\",\n \"R25_1\": 2858412,\n \"R25_2_nosaukums\": \"occaecat\",\n \"R25_2\": 38083678,\n \"R25_3_nosaukums\": \"aliqua irure non dolore in\",\n \"R25_3\": 59513786,\n \"R26\": -274360,\n \"R27\": -88406374,\n \"R27_1\": 7209600,\n \"R27_2\": 33389130,\n \"R27_3\": -18610069,\n \"R27_4\": -68295528,\n \"R27_5_nosaukums\": \"et nisi ad\",\n \"R27_5\": -84390190,\n \"R28\": -80264587,\n \"R28_1\": -75450217,\n \"R28_2\": -8855644,\n \"R29\": 85266425,\n \"R30\": 603716,\n \"R31\": -84570375,\n \"R31_1\": 92638125,\n \"R31_2\": -80075423,\n \"R32\": -54183173,\n \"Tab1_1\": [\n {\n \"KorekcijaReorganizacijaNmrKods\": \"deserun\",\n \"KorekcijaCitiIemesli\": \"irure Ut dolore id\",\n \"PelnaNesadalita\": -64443600,\n \"Samazina\": 10032478,\n \"KorekcijaLabosana\": true,\n \"Korekcija\": 13794994,\n \"KorekcijaPamatojums\": \"dolore of\",\n \"PelnaDividendes\": 60661372,\n \"Paradi\": -81014392,\n \"Aizdevums\": -58380698,\n \"PelnaSadalisanai\": 54711627\n },\n {\n \"KorekcijaReorganizacijaNmrKods\": \"nulla\",\n \"KorekcijaCitiIemesli\": \"nostrud Lorem id\",\n \"PelnaNesadalita\": -40537503,\n \"Samazina\": -21930951,\n \"KorekcijaLabosana\": true,\n \"Korekcija\": -30045653,\n \"KorekcijaPamatojums\": \"cillum\",\n \"PelnaDividendes\": -53228560,\n \"Paradi\": -29699440,\n \"Aizdevums\": 48321059,\n \"PelnaSadalisanai\": 96811249\n }\n ],\n \"Tab1_2\": [\n {\n \"ZaudejumiReorganizacijaNmrKods\": \"dol\",\n \"ZaudejumiPrevious\": 93584304,\n \"ZaudejumiLabosana\": true,\n \"Zaudejumi\": 60086365,\n \"ZaudejumiPamatojums\": \"enim irure incididunt laboris\",\n \"Samazinats\": 44190215,\n \"Parnests\": 74848476\n },\n {\n \"ZaudejumiReorganizacijaNmrKods\": \"aliquip si\",\n \"ZaudejumiPrevious\": 2689899,\n \"ZaudejumiLabosana\": true,\n \"Zaudejumi\": -91154224,\n \"ZaudejumiPamatojums\": \"sit nostrud\",\n \"Samazinats\": -7089047,\n \"Parnests\": 16437898\n }\n ],\n \"Tab1_3\": [\n {\n \"UzkrajumsReorganizacijaNmrKods\": \"ve\",\n \"UzkrajumsPrevious\": 83413550,\n \"UzkrajumsLabosana\": true,\n \"Uzkrajums\": -69994949,\n \"UzkrajumsPamatojums\": \"ullamco incididunt nisi\",\n \"Samazinats\": 79958540,\n \"Parnests\": 37820337\n },\n {\n \"UzkrajumsReorganizacijaNmrKods\": \"dolo\",\n \"UzkrajumsPrevious\": 74562023,\n \"UzkrajumsLabosana\": false,\n \"Uzkrajums\": -51602661,\n \"UzkrajumsPamatojums\": \"et proident nulla aute commodo\",\n \"Samazinats\": -4961309,\n \"Parnests\": 27916300\n }\n ],\n \"Tab02\": [\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"RegNr\": \"sunt ad\",\n \"Nosaukums\": \"aliquip nostrud do\",\n \"Sanemts\": -5562327,\n \"Valsts\": \"\",\n \"SamazinatsIzmaksatas\": -32846511,\n \"SamazinatsNodoklis\": 2405851,\n \"Parnests\": -56393371\n },\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"RegNr\": \"id\",\n \"Nosaukums\": \"ea aliquip\",\n \"Sanemts\": 75625645,\n \"Valsts\": \"n\",\n \"SamazinatsIzmaksatas\": 70020020,\n \"SamazinatsNodoklis\": -78548637,\n \"Parnests\": 14030356\n }\n ],\n \"Tab05_1\": [\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Palielinajums\": -53685313,\n \"Samazinajums\": -73721918,\n \"PalielinajumsPelna\": -88908178\n },\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Palielinajums\": -80303393,\n \"Samazinajums\": 69314708,\n \"PalielinajumsPelna\": -26201001\n }\n ],\n \"Tab06_2\": [\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Summa\": 61658935,\n \"Menesi\": -99483417\n },\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Summa\": -38968258,\n \"Menesi\": -17845204\n }\n ],\n \"Tab08\": [\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Valsts\": \"m\",\n \"Samaksats\": -20746780,\n \"Samazinats\": 51916300,\n \"Parnests\": 68207219\n },\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Valsts\": \"id\",\n \"Samaksats\": -13437758,\n \"Samazinats\": -41724301,\n \"Parnests\": 20702642\n }\n ],\n \"Tab09_1\": [\n {\n \"RegNr\": \"cupidatat sit non irure\",\n \"Nosaukums\": \"ad nisi reprehenderit\",\n \"Valsts\": \"\",\n \"Datums\": \"2000-01-31T00:00:00\",\n \"Summa\": 20213549\n },\n {\n \"RegNr\": \"do dolore sint\",\n \"Nosaukums\": \"quis non\",\n \"Valsts\": \"ut\",\n \"Datums\": \"2000-01-31T00:00:00\",\n \"Summa\": 60468532\n }\n ],\n \"Tab15\": [\n {\n \"IegadesDatums\": \"2000-01-31T00:00:00\",\n \"AtsavinasanasDatums\": \"2000-01-31T00:00:00\",\n \"IegadesVertiba\": -58543462,\n \"AtsavinasanasVertiba\": 62726723,\n \"Menesi\": -58943961,\n \"IenakumsBaze\": -45387925,\n \"IenakumsParnests\": 53964786\n },\n {\n \"IegadesDatums\": \"2000-01-31T00:00:00\",\n \"AtsavinasanasDatums\": \"2000-01-31T00:00:00\",\n \"IegadesVertiba\": 31642925,\n \"AtsavinasanasVertiba\": 23986045,\n \"Menesi\": 11516768,\n \"IenakumsBaze\": 33904817,\n \"IenakumsParnests\": 54994936\n }\n ],\n \"Tab16\": [\n {\n \"Summa\": 92384867,\n \"SummaReorganizacijaNmrKods\": \"amet de\",\n \"SummaPrevious\": -14104548,\n \"SummaLabosana\": true,\n \"SummaPamatojums\": \"ullamco occaecat tempor ea\",\n \"Samazinats\": 43463305,\n \"Parnests\": 21487521\n },\n {\n \"Summa\": -18350646,\n \"SummaReorganizacijaNmrKods\": \"magna o\",\n \"SummaPrevious\": -34149691,\n \"SummaLabosana\": true,\n \"SummaPamatojums\": \"nisi dolore\",\n \"Samazinats\": -35735489,\n \"Parnests\": -24724843\n }\n ],\n \"Tab31_2\": [\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Summa\": -47625962,\n \"NodoklaSumma\": 93123139,\n \"AtmaksataAtgutaSumma\": 52266513,\n \"Parmaksa\": 85154944\n },\n {\n \"PeriodsNo\": \"2000-01-31T00:00:00\",\n \"PeriodsLidz\": \"2000-01-31T00:00:00\",\n \"Summa\": -97498178,\n \"NodoklaSumma\": -6580861,\n \"AtmaksataAtgutaSumma\": 14375921,\n \"Parmaksa\": 17401836\n }\n ],\n \"Pielikumi\": [\n {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": \"ullamco cupidatat aliquip\"\n },\n {\n \"Fails\": {\n \"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n },\n \"Komentars\": \"occaecat Ut\"\n }\n ],\n \"Id\": -66514693,\n \"UID\": \"adipisicing dolore esse\",\n \"NmrKods\": \"proident \",\n \"Precizejums\": false,\n \"PrecizejamaisDokuments\": 90049699,\n \"PrecizejumaPamatojums\": \"in amet aliqua\"\n}"
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "GET",
"header": [
],
"url": {
"raw": "{{baseUrl}}/api/doc/uienv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"uienv5",
":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/uienv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"uienv5",
":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/uienv5/:id",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"uienv5",
":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": ""
}
]
}