Chilkat Online Tools

unicodeC / EDS API / Izveidot dokumentu "Paziņojums par kapitālsabiedrības valsts kapitāla izmantošanu".

Back to Collection Items

#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>

void ChilkatSample(void)
    {
    HCkHttpW http;
    BOOL success;
    HCkHttpRequestW req;
    HCkJsonObjectW jsonParam9;
    HCkJsonObjectW jsonParam10;
    HCkJsonObjectW jsonParam11;
    HCkJsonObjectW jsonParam12;
    HCkJsonObjectW jsonParam15;
    HCkJsonObjectW jsonParam16;
    HCkHttpResponseW resp;
    HCkStringBuilderW sbResponseBody;
    HCkJsonObjectW jResp;
    int respStatusCode;

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    http = CkHttpW_Create();

    req = CkHttpRequestW_Create();
    CkHttpRequestW_AddParam(req,L"Talrunis",L"elit dolore");
    CkHttpRequestW_AddParam(req,L"SapulceGadaParskats",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"SapulceIzmaksa",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"Pamatkapitals",L"-99036261.72414306");
    CkHttpRequestW_AddParam(req,L"Pelna",L"-11490154.151263222");
    CkHttpRequestW_AddParam(req,L"IemaksajamaSumma",L"-55864444.85890305");
    CkHttpRequestW_AddParam(req,L"IemaksasDatums",L"2000-01-31T00:00:00");
    CkHttpRequestW_AddParam(req,L"TaksGads",L"-99517232");

    jsonParam9 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam9,L"ValstsParstavis",L"dolor anim in esse");
    CkJsonObjectW_UpdateNumber(jsonParam9,L"ValstsDala",L"13.711984104229247");
    CkHttpRequestW_AddParam(req,L"ValstsParstavji",CkJsonObjectW_emit(jsonParam9));

    jsonParam10 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam10,L"ValstsParstavis",L"magna est");
    CkJsonObjectW_UpdateNumber(jsonParam10,L"ValstsDala",L"82.30702812219945");
    CkHttpRequestW_AddParam(req,L"ValstsParstavji",CkJsonObjectW_emit(jsonParam10));

    jsonParam11 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam11,L"ValstsKods",L"v");
    CkJsonObjectW_UpdateString(jsonParam11,L"NmrKods",L"dolore elit ul");
    CkJsonObjectW_UpdateString(jsonParam11,L"Nosaukums",L"tempor proident id dolor sint");
    CkHttpRequestW_AddParam(req,L"MeituSabiedribas",CkJsonObjectW_emit(jsonParam11));

    jsonParam12 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam12,L"ValstsKods",L"");
    CkJsonObjectW_UpdateString(jsonParam12,L"NmrKods",L"et");
    CkJsonObjectW_UpdateString(jsonParam12,L"Nosaukums",L"voluptate dolore ex nulla aliquip");
    CkHttpRequestW_AddParam(req,L"MeituSabiedribas",CkJsonObjectW_emit(jsonParam12));
    CkHttpRequestW_AddParam(req,L"PelnaMeitu",L"22647801.39513962");
    CkHttpRequestW_AddParam(req,L"IenakumuIemaksa",L"58056488.78539297");

    jsonParam15 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam15,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam15,L"Komentars",L"culpa esse");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam15));

    jsonParam16 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam16,L"Fails.value",L"<Error: Too many levels of nesting to fake this schema>");
    CkJsonObjectW_UpdateString(jsonParam16,L"Komentars",L"irure tempor elit");
    CkHttpRequestW_AddParam(req,L"Pielikumi",CkJsonObjectW_emit(jsonParam16));
    CkHttpRequestW_AddParam(req,L"NmrKods",L"mag");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-41794357");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"ea dolore et ut ipsum");

    CkHttpRequestW_AddHeader(req,L"Accept",L"application/json");

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/kvkiv1",req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam9);
        CkJsonObjectW_Dispose(jsonParam10);
        CkJsonObjectW_Dispose(jsonParam11);
        CkJsonObjectW_Dispose(jsonParam12);
        CkJsonObjectW_Dispose(jsonParam15);
        CkJsonObjectW_Dispose(jsonParam16);
        return;
    }

    sbResponseBody = CkStringBuilderW_Create();
    CkHttpResponseW_GetBodySb(resp,sbResponseBody);

    jResp = CkJsonObjectW_Create();
    CkJsonObjectW_LoadSb(jResp,sbResponseBody);
    CkJsonObjectW_putEmitCompact(jResp,FALSE);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",CkJsonObjectW_emit(jResp));

    respStatusCode = CkHttpResponseW_getStatusCode(resp);
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",CkHttpResponseW_header(resp));
        wprintf(L"Failed.\n");
        CkHttpResponseW_Dispose(resp);
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam9);
        CkJsonObjectW_Dispose(jsonParam10);
        CkJsonObjectW_Dispose(jsonParam11);
        CkJsonObjectW_Dispose(jsonParam12);
        CkJsonObjectW_Dispose(jsonParam15);
        CkJsonObjectW_Dispose(jsonParam16);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam9);
    CkJsonObjectW_Dispose(jsonParam10);
    CkJsonObjectW_Dispose(jsonParam11);
    CkJsonObjectW_Dispose(jsonParam12);
    CkJsonObjectW_Dispose(jsonParam15);
    CkJsonObjectW_Dispose(jsonParam16);
    CkStringBuilderW_Dispose(sbResponseBody);
    CkJsonObjectW_Dispose(jResp);

    }

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'Talrunis=elit dolore'
	--data-urlencode 'SapulceGadaParskats=2000-01-31T00:00:00'
	--data-urlencode 'SapulceIzmaksa=2000-01-31T00:00:00'
	--data-urlencode 'Pamatkapitals=-99036261.72414306'
	--data-urlencode 'Pelna=-11490154.151263222'
	--data-urlencode 'IemaksajamaSumma=-55864444.85890305'
	--data-urlencode 'IemaksasDatums=2000-01-31T00:00:00'
	--data-urlencode 'TaksGads=-99517232'
	--data-urlencode 'ValstsParstavji={"ValstsParstavis":"dolor anim in esse","ValstsDala":13.711984104229247}'
	--data-urlencode 'ValstsParstavji={"ValstsParstavis":"magna est","ValstsDala":82.30702812219945}'
	--data-urlencode 'MeituSabiedribas={"ValstsKods":"v","NmrKods":"dolore elit ul","Nosaukums":"tempor proident id dolor sint"}'
	--data-urlencode 'MeituSabiedribas={"ValstsKods":"","NmrKods":"et","Nosaukums":"voluptate dolore ex nulla aliquip"}'
	--data-urlencode 'PelnaMeitu=22647801.39513962'
	--data-urlencode 'IenakumuIemaksa=58056488.78539297'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"culpa esse"}'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"irure tempor elit"}'
	--data-urlencode 'NmrKods=mag'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-41794357'
	--data-urlencode 'PrecizejumaPamatojums=ea dolore et ut ipsum'
https://eds.vid.gov.lv/api/doc/kvkiv1

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Paziņojums par kapitālsabiedrības valsts kapitāla izmantošanu\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "Talrunis",
          "value": "elit dolore",
          "description": "(Required) Tālrunis."
        },
        {
          "key": "SapulceGadaParskats",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
        },
        {
          "key": "SapulceIzmaksa",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
        },
        {
          "key": "Pamatkapitals",
          "value": "-99036261.72414306",
          "description": "(Required) Sabiedrības pamatkapitāls."
        },
        {
          "key": "Pelna",
          "value": "-11490154.151263222",
          "description": "(Required) Taksācijas gada tīrā peļņa."
        },
        {
          "key": "IemaksajamaSumma",
          "value": "-55864444.85890305",
          "description": "(Required) Iemaksājamā summa."
        },
        {
          "key": "IemaksasDatums",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Iemaksas datums (samaksas termiņš)."
        },
        {
          "key": "TaksGads",
          "value": "-99517232",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "ValstsParstavji",
          "value": "{\"ValstsParstavis\":\"dolor anim in esse\",\"ValstsDala\":13.711984104229247}",
          "description": "Valsts kapitāla daļu turētāja pārstāvis."
        },
        {
          "key": "ValstsParstavji",
          "value": "{\"ValstsParstavis\":\"magna est\",\"ValstsDala\":82.30702812219945}",
          "description": "Valsts kapitāla daļu turētāja pārstāvis."
        },
        {
          "key": "MeituSabiedribas",
          "value": "{\"ValstsKods\":\"v\",\"NmrKods\":\"dolore elit ul\",\"Nosaukums\":\"tempor proident id dolor sint\"}",
          "description": "Meitu sabiedrības."
        },
        {
          "key": "MeituSabiedribas",
          "value": "{\"ValstsKods\":\"\",\"NmrKods\":\"et\",\"Nosaukums\":\"voluptate dolore ex nulla aliquip\"}",
          "description": "Meitu sabiedrības."
        },
        {
          "key": "PelnaMeitu",
          "value": "22647801.39513962",
          "description": "t.sk no Meitu sabiedrībām saņemtā."
        },
        {
          "key": "IenakumuIemaksa",
          "value": "58056488.78539297",
          "description": "UIN no peļņas (saistoša Latvijas Bankai)."
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"culpa esse\"}",
          "description": "Pielikuma faili."
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"irure tempor elit\"}",
          "description": "Pielikuma faili."
        },
        {
          "key": "NmrKods",
          "value": "mag",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-41794357",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "ea dolore et ut ipsum",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/kvkiv1",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "kvkiv1"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "-12855709"
    },
    {
      "name": "Pieprasījuma dati ir kļūdaini.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Bad Request",
      "code": 400,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Lietotājs nav autentificēts.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Lietotājam nav tiesību veikt šo darbību.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Forbidden",
      "code": 403,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Dokumenta unikalitātes ierobežojums. Dokuments par norādīto periodu jau izveidots. Lai izveidotu atkārtoti, izmantojiet jaunu drošības talonu.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Conflict",
      "code": 409,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    },
    {
      "name": "Pārsniegts izsaukumu skaita ierobežojums.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Talrunis",
              "value": "et dolor ex",
              "description": "(Required) Tālrunis."
            },
            {
              "key": "SapulceGadaParskats",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
            },
            {
              "key": "SapulceIzmaksa",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
            },
            {
              "key": "Pamatkapitals",
              "value": "62193621.61537206",
              "description": "(Required) Sabiedrības pamatkapitāls."
            },
            {
              "key": "Pelna",
              "value": "-60857204.09293978",
              "description": "(Required) Taksācijas gada tīrā peļņa."
            },
            {
              "key": "IemaksajamaSumma",
              "value": "8041839.143675134",
              "description": "(Required) Iemaksājamā summa."
            },
            {
              "key": "IemaksasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Iemaksas datums (samaksas termiņš)."
            },
            {
              "key": "TaksGads",
              "value": "-54619365",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "ValstsParstavji",
              "value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
              "description": "Valsts kapitāla daļu turētāja pārstāvis."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "MeituSabiedribas",
              "value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
              "description": "Meitu sabiedrības."
            },
            {
              "key": "PelnaMeitu",
              "value": "45262577.44593564",
              "description": "t.sk no Meitu sabiedrībām saņemtā."
            },
            {
              "key": "IenakumuIemaksa",
              "value": "59476923.46043709",
              "description": "UIN no peļņas (saistoša Latvijas Bankai)."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"amet veniam dolore deserunt laboris\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "Pielikumi",
              "value": "{\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"aliquip minim enim\"}",
              "description": "Pielikuma faili."
            },
            {
              "key": "NmrKods",
              "value": "a",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "61944809",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum incididunt laborum sunt",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/kvkiv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "kvkiv1"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}