Chilkat Online Tools

ERROR!

------------------- GenerateCode ----------------------
ImpliedContentType: application/x-www-form-urlencoded
explicitContentType: application/x-www-form-urlencoded
---- begin chilkat script ----
// This example assumes the Chilkat API to have been previously unlocked.
// See {{-global_unlock:::Global Unlock Sample-}} for sample code.

new Http http;
ckbool success;

new HttpRequest req;
call req.AddParam("ParskGads","-69726595");
call req.AddParam("Epasts","consectetur quis");
call req.AddParam("Talrunis","dolore quis");
call req.AddParam("IesniegsanasVeids","89199280");
call req.AddParam("Sagatavotajs","cupidatat dolore");

new JsonObject jsonParam6;
ignore = jsonParam6.UpdateString("PersonasKods","");
ignore = jsonParam6.UpdateString("VardsUzvards","Ut et sed");
ignore = jsonParam6.UpdateString("IenakumaVeids","c");
ignore = jsonParam6.UpdateString("IenakumuPeriodsNo","2000-01-31T00:00:00");
ignore = jsonParam6.UpdateString("IenakumuPeriodsLidz","2000-01-31T00:00:00");
ignore = jsonParam6.UpdateInt("IzmaksasMenesis",-86517378);
ignore = jsonParam6.UpdateNumber("Ienemumi","60451536.403110445");
ignore = jsonParam6.UpdateNumber("NeapliekamieIenakumi","-47803264.98780023");
ignore = jsonParam6.UpdateNumber("NeapliekamaisMinimums","-42046726.77454861");
ignore = jsonParam6.UpdateNumber("AtvieglojumiParApgadajamiem","99140202.63345233");
ignore = jsonParam6.UpdateString("AtvieglojumaKods","vo");
ignore = jsonParam6.UpdateNumber("AtvieglojumaSumma","-70772195.24499547");
ignore = jsonParam6.UpdateNumber("VSAObligatasIemaksa","-45458823.81701536");
ignore = jsonParam6.UpdateNumber("IemaksasPPF","-59215845.15386522");
ignore = jsonParam6.UpdateNumber("ApdrosinasanasSummaArUzkrasanu","-51008944.429121025");
ignore = jsonParam6.UpdateNumber("ApdrosinasanasSummaBezUzkrasanas","-52619222.521977484");
ignore = jsonParam6.UpdateNumber("Izdevumi","54680591.275698274");
ignore = jsonParam6.UpdateNumber("Nodoklis","70221446.00931934");
call req.AddParam("Tabula",jsonParam6.Emit());

new JsonObject jsonParam7;
ignore = jsonParam7.UpdateString("PersonasKods","inci");
ignore = jsonParam7.UpdateString("VardsUzvards","ullamco dolore Ut");
ignore = jsonParam7.UpdateString("IenakumaVeids","dol");
ignore = jsonParam7.UpdateString("IenakumuPeriodsNo","2000-01-31T00:00:00");
ignore = jsonParam7.UpdateString("IenakumuPeriodsLidz","2000-01-31T00:00:00");
ignore = jsonParam7.UpdateInt("IzmaksasMenesis",41284415);
ignore = jsonParam7.UpdateNumber("Ienemumi","-10491456.604592338");
ignore = jsonParam7.UpdateNumber("NeapliekamieIenakumi","87363580.78909478");
ignore = jsonParam7.UpdateNumber("NeapliekamaisMinimums","-90399471.8308454");
ignore = jsonParam7.UpdateNumber("AtvieglojumiParApgadajamiem","-7359477.464306608");
ignore = jsonParam7.UpdateString("AtvieglojumaKods","l");
ignore = jsonParam7.UpdateNumber("AtvieglojumaSumma","-27355855.830153123");
ignore = jsonParam7.UpdateNumber("VSAObligatasIemaksa","-85805779.81681006");
ignore = jsonParam7.UpdateNumber("IemaksasPPF","75232031.20949718");
ignore = jsonParam7.UpdateNumber("ApdrosinasanasSummaArUzkrasanu","79987907.89421767");
ignore = jsonParam7.UpdateNumber("ApdrosinasanasSummaBezUzkrasanas","91449848.76233408");
ignore = jsonParam7.UpdateNumber("Izdevumi","66156388.43653193");
ignore = jsonParam7.UpdateNumber("Nodoklis","-19234316.46030265");
call req.AddParam("Tabula",jsonParam7.Emit());
call req.AddParam("ParskMen","5");
call req.AddParam("ParskCeturksnis","3");
call req.AddParam("TaksPusgads","1");
call req.AddParam("NmrKods","in");
call req.AddParam("Precizejums","true");
call req.AddParam("PrecizejamaisDokuments","-39573597");
call req.AddParam("PrecizejumaPamatojums","consequat cupi");

call req.AddHeader("Accept","application/json");

new HttpResponse resp;
req.HttpVerb = "POST";
req.ContentType = "application/x-www-form-urlencoded";
success = http.PostUrlEncoded("https://eds.vid.gov.lv/api/doc/pfpiskv3", req,resp);
if (success == ckfalse) {
println http.LastErrorText;
return;
}

new StringBuilder sbResponseBody;
ignore = resp.GetBodySb(sbResponseBody);

new JsonObject jResp;
call jResp.LoadSb(sbResponseBody);
jResp.EmitCompact = ckfalse;

println "Response Body:";
println jResp.Emit();

int respStatusCode = resp.StatusCode;
println "Response Status Code = ",respStatusCode;
if (respStatusCode >= 400) {
    println "Response Header:";
    println resp.Header;
    println "Failed.";
    return;
}

---- end chilkat script ----

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

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loReq
LOCAL loJsonParam6
LOCAL loJsonParam7
LOCAL loResp
LOCAL loSbResponseBody
LOCAL loJResp
LOCAL lnRespStatusCode

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

loHttp = CreateObject('Chilkat.Http')

loReq = CreateObject('Chilkat.HttpRequest')
loReq.AddParam("ParskGads","-69726595")
loReq.AddParam("Epasts","consectetur quis")
loReq.AddParam("Talrunis","dolore quis")
loReq.AddParam("IesniegsanasVeids","89199280")
loReq.AddParam("Sagatavotajs","cupidatat dolore")

loJsonParam6 = CreateObject('Chilkat.JsonObject')
loJsonParam6.UpdateString("PersonasKods","")
loJsonParam6.UpdateString("VardsUzvards","Ut et sed")
loJsonParam6.UpdateString("IenakumaVeids","c")
loJsonParam6.UpdateString("IenakumuPeriodsNo","2000-01-31T00:00:00")
loJsonParam6.UpdateString("IenakumuPeriodsLidz","2000-01-31T00:00:00")
loJsonParam6.UpdateInt("IzmaksasMenesis",-86517378)
loJsonParam6.UpdateNumber("Ienemumi","60451536.403110445")
loJsonParam6.UpdateNumber("NeapliekamieIenakumi","-47803264.98780023")
loJsonParam6.UpdateNumber("NeapliekamaisMinimums","-42046726.77454861")
loJsonParam6.UpdateNumber("AtvieglojumiParApgadajamiem","99140202.63345233")
loJsonParam6.UpdateString("AtvieglojumaKods","vo")
loJsonParam6.UpdateNumber("AtvieglojumaSumma","-70772195.24499547")
loJsonParam6.UpdateNumber("VSAObligatasIemaksa","-45458823.81701536")
loJsonParam6.UpdateNumber("IemaksasPPF","-59215845.15386522")
loJsonParam6.UpdateNumber("ApdrosinasanasSummaArUzkrasanu","-51008944.429121025")
loJsonParam6.UpdateNumber("ApdrosinasanasSummaBezUzkrasanas","-52619222.521977484")
loJsonParam6.UpdateNumber("Izdevumi","54680591.275698274")
loJsonParam6.UpdateNumber("Nodoklis","70221446.00931934")
loReq.AddParam("Tabula",loJsonParam6.Emit())

loJsonParam7 = CreateObject('Chilkat.JsonObject')
loJsonParam7.UpdateString("PersonasKods","inci")
loJsonParam7.UpdateString("VardsUzvards","ullamco dolore Ut")
loJsonParam7.UpdateString("IenakumaVeids","dol")
loJsonParam7.UpdateString("IenakumuPeriodsNo","2000-01-31T00:00:00")
loJsonParam7.UpdateString("IenakumuPeriodsLidz","2000-01-31T00:00:00")
loJsonParam7.UpdateInt("IzmaksasMenesis",41284415)
loJsonParam7.UpdateNumber("Ienemumi","-10491456.604592338")
loJsonParam7.UpdateNumber("NeapliekamieIenakumi","87363580.78909478")
loJsonParam7.UpdateNumber("NeapliekamaisMinimums","-90399471.8308454")
loJsonParam7.UpdateNumber("AtvieglojumiParApgadajamiem","-7359477.464306608")
loJsonParam7.UpdateString("AtvieglojumaKods","l")
loJsonParam7.UpdateNumber("AtvieglojumaSumma","-27355855.830153123")
loJsonParam7.UpdateNumber("VSAObligatasIemaksa","-85805779.81681006")
loJsonParam7.UpdateNumber("IemaksasPPF","75232031.20949718")
loJsonParam7.UpdateNumber("ApdrosinasanasSummaArUzkrasanu","79987907.89421767")
loJsonParam7.UpdateNumber("ApdrosinasanasSummaBezUzkrasanas","91449848.76233408")
loJsonParam7.UpdateNumber("Izdevumi","66156388.43653193")
loJsonParam7.UpdateNumber("Nodoklis","-19234316.46030265")
loReq.AddParam("Tabula",loJsonParam7.Emit())
loReq.AddParam("ParskMen","5")
loReq.AddParam("ParskCeturksnis","3")
loReq.AddParam("TaksPusgads","1")
loReq.AddParam("NmrKods","in")
loReq.AddParam("Precizejums","true")
loReq.AddParam("PrecizejamaisDokuments","-39573597")
loReq.AddParam("PrecizejumaPamatojums","consequat cupi")

loReq.AddHeader("Accept","application/json")

loResp = CreateObject('Chilkat.HttpResponse')
loReq.HttpVerb = "POST"
loReq.ContentType = "application/x-www-form-urlencoded"
ERROR: Assignment type mismatch.  ExpressionType=HttpResponse, atgType=ckbool

IF (lnSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loReq
    RELEASE loJsonParam6
    RELEASE loJsonParam7
    RELEASE loResp
    CANCEL
ENDIF

loSbResponseBody = CreateObject('Chilkat.StringBuilder')
loResp.GetBodySb(loSbResponseBody)

loJResp = CreateObject('Chilkat.JsonObject')
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = 0

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + STR(lnRespStatusCode)
IF (lnRespStatusCode >= 400) THEN
    ? "Response Header:"
    ? loResp.Header
    ? "Failed."
    RELEASE loHttp
    RELEASE loReq
    RELEASE loJsonParam6
    RELEASE loJsonParam7
    RELEASE loResp
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

RELEASE loHttp
RELEASE loReq
RELEASE loJsonParam6
RELEASE loJsonParam7
RELEASE loResp
RELEASE loSbResponseBody
RELEASE loJResp

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": ""
    }
  ]
}