Chilkat Online Tools

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

Back to Collection Items

void ChilkatSample(void)
    {
    success = http.QuickGetSb(L"https://eds.vid.gov.lv/api/doc/annv5/:id",sbResponseBody);    jResp.LoadSb(sbResponseBody);    jResp.put_EmitCompact(false);    KomentarsValue = jResp.stringOf(L"R37.PielikumsRindai16.Komentars.value");    FailsValue = jResp.stringOf(L"R37.PielikumsRindai17.Fails.value");    KomentarsValue = jResp.stringOf(L"R37.PielikumsRindai17.Komentars.value");    FailsValue = jResp.stringOf(L"R37.PielikumsRindai18.Fails.value");    KomentarsValue = jResp.stringOf(L"R37.PielikumsRindai18.Komentars.value");    FailsValue = jResp.stringOf(L"R37.PielikumsRindai19.Fails.value");    KomentarsValue = jResp.stringOf(L"R37.PielikumsRindai19.Komentars.value");    FailsValue = jResp.stringOf(L"R37.PielikumsRindai33.Fails.value");    KomentarsValue = jResp.stringOf(L"R37.PielikumsRindai33.Komentars.value");    jResp.put_I(i);    value = jResp.stringOf(L"R37.CitiDokumenti[i].value");    i = i + 1;
    }

Curl Command

curl -X GET
	-H "Accept: application/json"
https://eds.vid.gov.lv/api/doc/annv5/:id

Postman Collection Item JSON

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