Unicode C++ / EDS API / Dokuments "Alkoholisko dzērienu akcīzes nodokļa deklarācija".
Back to Collection Items
void ChilkatSample(void)
{
success = http.QuickGetSb(L"https://eds.vid.gov.lv/api/doc/anav3/:id",sbResponseBody); jResp.LoadSb(sbResponseBody); jResp.put_EmitCompact(false); KomentarsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai19.Komentars.value"); FailsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai20.Fails.value"); KomentarsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai20.Komentars.value"); FailsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai21.Fails.value"); KomentarsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai21.Komentars.value"); FailsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai22.Fails.value"); KomentarsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai22.Komentars.value"); FailsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai40.Fails.value"); KomentarsValue = jResp.stringOf(L"Pielikumi.PielikumsRindai40.Komentars.value"); jResp.put_I(i); value = jResp.stringOf(L"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": ""
}
]
}