Chilkat Online Tools

unicodeC / EDS API / Izveidot dokumentu "Paziņojums par fiziskajai personai izmaksātajām summām".

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 jsonParam6;
    HCkJsonObjectW jsonParam7;
    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"ParskGads",L"-69726595");
    CkHttpRequestW_AddParam(req,L"Epasts",L"consectetur quis");
    CkHttpRequestW_AddParam(req,L"Talrunis",L"dolore quis");
    CkHttpRequestW_AddParam(req,L"IesniegsanasVeids",L"89199280");
    CkHttpRequestW_AddParam(req,L"Sagatavotajs",L"cupidatat dolore");

    jsonParam6 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam6,L"PersonasKods",L"");
    CkJsonObjectW_UpdateString(jsonParam6,L"VardsUzvards",L"Ut et sed");
    CkJsonObjectW_UpdateString(jsonParam6,L"IenakumaVeids",L"c");
    CkJsonObjectW_UpdateString(jsonParam6,L"IenakumuPeriodsNo",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam6,L"IenakumuPeriodsLidz",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateInt(jsonParam6,L"IzmaksasMenesis",-86517378);
    CkJsonObjectW_UpdateNumber(jsonParam6,L"Ienemumi",L"60451536.403110445");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"NeapliekamieIenakumi",L"-47803264.98780023");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"NeapliekamaisMinimums",L"-42046726.77454861");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"AtvieglojumiParApgadajamiem",L"99140202.63345233");
    CkJsonObjectW_UpdateString(jsonParam6,L"AtvieglojumaKods",L"vo");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"AtvieglojumaSumma",L"-70772195.24499547");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"VSAObligatasIemaksa",L"-45458823.81701536");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"IemaksasPPF",L"-59215845.15386522");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"ApdrosinasanasSummaArUzkrasanu",L"-51008944.429121025");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"ApdrosinasanasSummaBezUzkrasanas",L"-52619222.521977484");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"Izdevumi",L"54680591.275698274");
    CkJsonObjectW_UpdateNumber(jsonParam6,L"Nodoklis",L"70221446.00931934");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam6));

    jsonParam7 = CkJsonObjectW_Create();
    CkJsonObjectW_UpdateString(jsonParam7,L"PersonasKods",L"inci");
    CkJsonObjectW_UpdateString(jsonParam7,L"VardsUzvards",L"ullamco dolore Ut");
    CkJsonObjectW_UpdateString(jsonParam7,L"IenakumaVeids",L"dol");
    CkJsonObjectW_UpdateString(jsonParam7,L"IenakumuPeriodsNo",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateString(jsonParam7,L"IenakumuPeriodsLidz",L"2000-01-31T00:00:00");
    CkJsonObjectW_UpdateInt(jsonParam7,L"IzmaksasMenesis",41284415);
    CkJsonObjectW_UpdateNumber(jsonParam7,L"Ienemumi",L"-10491456.604592338");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"NeapliekamieIenakumi",L"87363580.78909478");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"NeapliekamaisMinimums",L"-90399471.8308454");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"AtvieglojumiParApgadajamiem",L"-7359477.464306608");
    CkJsonObjectW_UpdateString(jsonParam7,L"AtvieglojumaKods",L"l");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"AtvieglojumaSumma",L"-27355855.830153123");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"VSAObligatasIemaksa",L"-85805779.81681006");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"IemaksasPPF",L"75232031.20949718");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"ApdrosinasanasSummaArUzkrasanu",L"79987907.89421767");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"ApdrosinasanasSummaBezUzkrasanas",L"91449848.76233408");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"Izdevumi",L"66156388.43653193");
    CkJsonObjectW_UpdateNumber(jsonParam7,L"Nodoklis",L"-19234316.46030265");
    CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam7));
    CkHttpRequestW_AddParam(req,L"ParskMen",L"5");
    CkHttpRequestW_AddParam(req,L"ParskCeturksnis",L"3");
    CkHttpRequestW_AddParam(req,L"TaksPusgads",L"1");
    CkHttpRequestW_AddParam(req,L"NmrKods",L"in");
    CkHttpRequestW_AddParam(req,L"Precizejums",L"true");
    CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-39573597");
    CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"consequat cupi");

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

    resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/pfpiskv3",req);
    if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
        wprintf(L"%s\n",CkHttpW_lastErrorText(http));
        CkHttpW_Dispose(http);
        CkHttpRequestW_Dispose(req);
        CkJsonObjectW_Dispose(jsonParam6);
        CkJsonObjectW_Dispose(jsonParam7);
        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(jsonParam6);
        CkJsonObjectW_Dispose(jsonParam7);
        CkStringBuilderW_Dispose(sbResponseBody);
        CkJsonObjectW_Dispose(jResp);
        return;
    }

    CkHttpResponseW_Dispose(resp);


    CkHttpW_Dispose(http);
    CkHttpRequestW_Dispose(req);
    CkJsonObjectW_Dispose(jsonParam6);
    CkJsonObjectW_Dispose(jsonParam7);
    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 'ParskGads=-69726595'
	--data-urlencode 'Epasts=consectetur quis'
	--data-urlencode 'Talrunis=dolore quis'
	--data-urlencode 'IesniegsanasVeids=89199280'
	--data-urlencode 'Sagatavotajs=cupidatat dolore'
	--data-urlencode 'Tabula={"PersonasKods":"","VardsUzvards":"Ut et sed","IenakumaVeids":"c","IenakumuPeriodsNo":"2000-01-31T00:00:00","IenakumuPeriodsLidz":"2000-01-31T00:00:00","IzmaksasMenesis":-86517378,"Ienemumi":60451536.403110445,"NeapliekamieIenakumi":-47803264.98780023,"NeapliekamaisMinimums":-42046726.77454861,"AtvieglojumiParApgadajamiem":99140202.63345233,"AtvieglojumaKods":"vo","AtvieglojumaSumma":-70772195.24499547,"VSAObligatasIemaksa":-45458823.81701536,"IemaksasPPF":-59215845.15386522,"ApdrosinasanasSummaArUzkrasanu":-51008944.429121025,"ApdrosinasanasSummaBezUzkrasanas":-52619222.521977484,"Izdevumi":54680591.275698274,"Nodoklis":70221446.00931934}'
	--data-urlencode 'Tabula={"PersonasKods":"inci","VardsUzvards":"ullamco dolore Ut","IenakumaVeids":"dol","IenakumuPeriodsNo":"2000-01-31T00:00:00","IenakumuPeriodsLidz":"2000-01-31T00:00:00","IzmaksasMenesis":41284415,"Ienemumi":-10491456.604592338,"NeapliekamieIenakumi":87363580.78909478,"NeapliekamaisMinimums":-90399471.8308454,"AtvieglojumiParApgadajamiem":-7359477.464306608,"AtvieglojumaKods":"l","AtvieglojumaSumma":-27355855.830153123,"VSAObligatasIemaksa":-85805779.81681006,"IemaksasPPF":75232031.20949718,"ApdrosinasanasSummaArUzkrasanu":79987907.89421767,"ApdrosinasanasSummaBezUzkrasanas":91449848.76233408,"Izdevumi":66156388.43653193,"Nodoklis":-19234316.46030265}'
	--data-urlencode 'ParskMen=5'
	--data-urlencode 'ParskCeturksnis=3'
	--data-urlencode 'TaksPusgads=1'
	--data-urlencode 'NmrKods=in'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=-39573597'
	--data-urlencode 'PrecizejumaPamatojums=consequat cupi'
https://eds.vid.gov.lv/api/doc/pfpiskv3

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Paziņojums par fiziskajai personai izmaksātajām summām\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "ParskGads",
          "value": "-69726595",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "consectetur quis",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "dolore quis",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "IesniegsanasVeids",
          "value": "89199280",
          "description": "(Required) Iesniegšanas veids."
        },
        {
          "key": "Sagatavotajs",
          "value": "cupidatat dolore",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "Tabula",
          "value": "{\"PersonasKods\":\"\",\"VardsUzvards\":\"Ut et sed\",\"IenakumaVeids\":\"c\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-86517378,\"Ienemumi\":60451536.403110445,\"NeapliekamieIenakumi\":-47803264.98780023,\"NeapliekamaisMinimums\":-42046726.77454861,\"AtvieglojumiParApgadajamiem\":99140202.63345233,\"AtvieglojumaKods\":\"vo\",\"AtvieglojumaSumma\":-70772195.24499547,\"VSAObligatasIemaksa\":-45458823.81701536,\"IemaksasPPF\":-59215845.15386522,\"ApdrosinasanasSummaArUzkrasanu\":-51008944.429121025,\"ApdrosinasanasSummaBezUzkrasanas\":-52619222.521977484,\"Izdevumi\":54680591.275698274,\"Nodoklis\":70221446.00931934}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"PersonasKods\":\"inci\",\"VardsUzvards\":\"ullamco dolore Ut\",\"IenakumaVeids\":\"dol\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":41284415,\"Ienemumi\":-10491456.604592338,\"NeapliekamieIenakumi\":87363580.78909478,\"NeapliekamaisMinimums\":-90399471.8308454,\"AtvieglojumiParApgadajamiem\":-7359477.464306608,\"AtvieglojumaKods\":\"l\",\"AtvieglojumaSumma\":-27355855.830153123,\"VSAObligatasIemaksa\":-85805779.81681006,\"IemaksasPPF\":75232031.20949718,\"ApdrosinasanasSummaArUzkrasanu\":79987907.89421767,\"ApdrosinasanasSummaBezUzkrasanas\":91449848.76233408,\"Izdevumi\":66156388.43653193,\"Nodoklis\":-19234316.46030265}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "ParskMen",
          "value": "5",
          "description": "Taksācijas mēnesis."
        },
        {
          "key": "ParskCeturksnis",
          "value": "3",
          "description": "Taksācijas ceturksnis."
        },
        {
          "key": "TaksPusgads",
          "value": "1",
          "description": "Taksācijas pusgads."
        },
        {
          "key": "NmrKods",
          "value": "in ",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-39573597",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "consequat cupi",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/pfpiskv3",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "pfpiskv3"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "1457356",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "anim",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "deserunt consequat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasVeids",
              "value": "68078903",
              "description": "(Required) Iesniegšanas veids."
            },
            {
              "key": "Sagatavotajs",
              "value": "adipisicing ipsum",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"ut\",\"VardsUzvards\":\"officia eu commodo est quis\",\"IenakumaVeids\":\"do\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":95312561,\"Ienemumi\":64066677.85838929,\"NeapliekamieIenakumi\":-60852441.39817232,\"NeapliekamaisMinimums\":-90394745.71193953,\"AtvieglojumiParApgadajamiem\":-95530135.5676311,\"AtvieglojumaKods\":\"a\",\"AtvieglojumaSumma\":-80024826.06156982,\"VSAObligatasIemaksa\":1432897.3979055136,\"IemaksasPPF\":42826350.83828214,\"ApdrosinasanasSummaArUzkrasanu\":-66449240.56512558,\"ApdrosinasanasSummaBezUzkrasanas\":32142966.730351135,\"Izdevumi\":66999457.072268695,\"Nodoklis\":-3736239.8726760894}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"PersonasKods\":\"laboris ul\",\"VardsUzvards\":\"cupidatat qui ipsum adipisicing\",\"IenakumaVeids\":\"de\",\"IenakumuPeriodsNo\":\"2000-01-31T00:00:00\",\"IenakumuPeriodsLidz\":\"2000-01-31T00:00:00\",\"IzmaksasMenesis\":-19068032,\"Ienemumi\":-41985487.09093943,\"NeapliekamieIenakumi\":-90408548.37290038,\"NeapliekamaisMinimums\":-48111067.84389851,\"AtvieglojumiParApgadajamiem\":-5552965.319711804,\"AtvieglojumaKods\":\"p\",\"AtvieglojumaSumma\":15457952.393433154,\"VSAObligatasIemaksa\":77764622.29719213,\"IemaksasPPF\":-40146926.492790505,\"ApdrosinasanasSummaArUzkrasanu\":-8418771.645525783,\"ApdrosinasanasSummaBezUzkrasanas\":92137881.83990312,\"Izdevumi\":-49979952.46067406,\"Nodoklis\":89121474.45375073}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "ParskMen",
              "value": "10",
              "description": "Taksācijas mēnesis."
            },
            {
              "key": "ParskCeturksnis",
              "value": "3",
              "description": "Taksācijas ceturksnis."
            },
            {
              "key": "TaksPusgads",
              "value": "1",
              "description": "Taksācijas pusgads."
            },
            {
              "key": "NmrKods",
              "value": "ut commod",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "29070514",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "velit et reprehenderit labore occaecat",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pfpiskv3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pfpiskv3"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}