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("Epasts","consequat ut labore");
call req.AddParam("Talrunis","irure do");
call req.AddParam("Gads","-82082474");
call req.AddParam("Ceturksnis","1");
call req.AddParam("Sagatavotajs","officia nulla");
call req.AddParam("InformacijaPielasita","2000-01-31T00:00:00");
call req.AddParam("JurForma","38476014");
call req.AddParam("IenakumiVaiApgrozijums","ex anim");
call req.AddParam("R1_1","42218166.32980278");
call req.AddParam("R1_2","75227735.93781301");
call req.AddParam("R1_3","-36938341.86132871");
call req.AddParam("R1","-62757601.076526724");
call req.AddParam("R2_1","-77330967.79493316");
call req.AddParam("R2_2","-10825926.554305986");
call req.AddParam("R2_3","-2846048.4967546463");
call req.AddParam("R2_4","-75689714.63935238");
call req.AddParam("R2","-23079162.799611285");

new JsonObject jsonParam18;
ignore = jsonParam18.UpdateString("Kods","reprehenderit nisi");
ignore = jsonParam18.UpdateString("VardsUzvards","consectetur eiusmod");
ignore = jsonParam18.UpdateBool("IrIpasnieks",ckfalse);
ignore = jsonParam18.UpdateNumber("IenakMen1","-92217813.66160809");
ignore = jsonParam18.UpdateNumber("IenakMen2","-32483874.293691263");
ignore = jsonParam18.UpdateNumber("IenakMen3","90935209.33323136");
call req.AddParam("R3",jsonParam18.Emit());

new JsonObject jsonParam19;
ignore = jsonParam19.UpdateString("Kods","fugiat minim ut enim");
ignore = jsonParam19.UpdateString("VardsUzvards","officia velit in labore id");
ignore = jsonParam19.UpdateBool("IrIpasnieks",ckfalse);
ignore = jsonParam19.UpdateNumber("IenakMen1","61803814.888237655");
ignore = jsonParam19.UpdateNumber("IenakMen2","59357414.86875522");
ignore = jsonParam19.UpdateNumber("IenakMen3","60881882.93357551");
call req.AddParam("R3",jsonParam19.Emit());
call req.AddParam("NmrKods","esse in");
call req.AddParam("Precizejums","false");
call req.AddParam("PrecizejamaisDokuments","-99691450");
call req.AddParam("PrecizejumaPamatojums","pariatur dolor magna");

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/mnv4", 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 "Mikrouzņēmumu nodokļa deklarācija".

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loReq
LOCAL loJsonParam18
LOCAL loJsonParam19
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("Epasts","consequat ut labore")
loReq.AddParam("Talrunis","irure do")
loReq.AddParam("Gads","-82082474")
loReq.AddParam("Ceturksnis","1")
loReq.AddParam("Sagatavotajs","officia nulla")
loReq.AddParam("InformacijaPielasita","2000-01-31T00:00:00")
loReq.AddParam("JurForma","38476014")
loReq.AddParam("IenakumiVaiApgrozijums","ex anim")
loReq.AddParam("R1_1","42218166.32980278")
loReq.AddParam("R1_2","75227735.93781301")
loReq.AddParam("R1_3","-36938341.86132871")
loReq.AddParam("R1","-62757601.076526724")
loReq.AddParam("R2_1","-77330967.79493316")
loReq.AddParam("R2_2","-10825926.554305986")
loReq.AddParam("R2_3","-2846048.4967546463")
loReq.AddParam("R2_4","-75689714.63935238")
loReq.AddParam("R2","-23079162.799611285")

loJsonParam18 = CreateObject('Chilkat.JsonObject')
loJsonParam18.UpdateString("Kods","reprehenderit nisi")
loJsonParam18.UpdateString("VardsUzvards","consectetur eiusmod")
loJsonParam18.UpdateBool("IrIpasnieks",0)
loJsonParam18.UpdateNumber("IenakMen1","-92217813.66160809")
loJsonParam18.UpdateNumber("IenakMen2","-32483874.293691263")
loJsonParam18.UpdateNumber("IenakMen3","90935209.33323136")
loReq.AddParam("R3",loJsonParam18.Emit())

loJsonParam19 = CreateObject('Chilkat.JsonObject')
loJsonParam19.UpdateString("Kods","fugiat minim ut enim")
loJsonParam19.UpdateString("VardsUzvards","officia velit in labore id")
loJsonParam19.UpdateBool("IrIpasnieks",0)
loJsonParam19.UpdateNumber("IenakMen1","61803814.888237655")
loJsonParam19.UpdateNumber("IenakMen2","59357414.86875522")
loJsonParam19.UpdateNumber("IenakMen3","60881882.93357551")
loReq.AddParam("R3",loJsonParam19.Emit())
loReq.AddParam("NmrKods","esse in")
loReq.AddParam("Precizejums","false")
loReq.AddParam("PrecizejamaisDokuments","-99691450")
loReq.AddParam("PrecizejumaPamatojums","pariatur dolor magna")

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 loJsonParam18
    RELEASE loJsonParam19
    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 loJsonParam18
    RELEASE loJsonParam19
    RELEASE loResp
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

RELEASE loHttp
RELEASE loReq
RELEASE loJsonParam18
RELEASE loJsonParam19
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 'Epasts=consequat ut labore'
	--data-urlencode 'Talrunis=irure do'
	--data-urlencode 'Gads=-82082474'
	--data-urlencode 'Ceturksnis=1'
	--data-urlencode 'Sagatavotajs=officia nulla'
	--data-urlencode 'InformacijaPielasita=2000-01-31T00:00:00'
	--data-urlencode 'JurForma=38476014'
	--data-urlencode 'IenakumiVaiApgrozijums=ex anim'
	--data-urlencode 'R1_1=42218166.32980278'
	--data-urlencode 'R1_2=75227735.93781301'
	--data-urlencode 'R1_3=-36938341.86132871'
	--data-urlencode 'R1=-62757601.076526724'
	--data-urlencode 'R2_1=-77330967.79493316'
	--data-urlencode 'R2_2=-10825926.554305986'
	--data-urlencode 'R2_3=-2846048.4967546463'
	--data-urlencode 'R2_4=-75689714.63935238'
	--data-urlencode 'R2=-23079162.799611285'
	--data-urlencode 'R3={"Kods":"reprehenderit nisi","VardsUzvards":"consectetur eiusmod","IrIpasnieks":false,"IenakMen1":-92217813.66160809,"IenakMen2":-32483874.293691263,"IenakMen3":90935209.33323136}'
	--data-urlencode 'R3={"Kods":"fugiat minim ut enim","VardsUzvards":"officia velit in labore id","IrIpasnieks":false,"IenakMen1":61803814.888237655,"IenakMen2":59357414.86875522,"IenakMen3":60881882.93357551}'
	--data-urlencode 'NmrKods=esse in'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-99691450'
	--data-urlencode 'PrecizejumaPamatojums=pariatur dolor magna'
https://eds.vid.gov.lv/api/doc/mnv4

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Mikrouzņēmumu nodokļa deklarācija\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "Epasts",
          "value": "consequat ut labore",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "irure do",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Gads",
          "value": "-82082474",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Ceturksnis",
          "value": "1",
          "description": "(Required) Gets or sets the taks ceturksnis."
        },
        {
          "key": "Sagatavotajs",
          "value": "officia nulla",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "InformacijaPielasita",
          "value": "2000-01-31T00:00:00",
          "description": "Informācija pielasīta."
        },
        {
          "key": "JurForma",
          "value": "38476014",
          "description": "Mikrouzņēmuma juridiskā forma."
        },
        {
          "key": "IenakumiVaiApgrozijums",
          "value": "ex anim",
          "description": "Pazīme ienākumi vai apgrozījums."
        },
        {
          "key": "R1_1",
          "value": "42218166.32980278",
          "description": "R1.1 - ievadlauks."
        },
        {
          "key": "R1_2",
          "value": "75227735.93781301",
          "description": "R1.2 - ievadlauks."
        },
        {
          "key": "R1_3",
          "value": "-36938341.86132871",
          "description": "R1.3 - ievadlauks."
        },
        {
          "key": "R1",
          "value": "-62757601.076526724",
          "description": "R1 - izvadlauks."
        },
        {
          "key": "R2_1",
          "value": "-77330967.79493316",
          "description": "R2.1 - izvadlauks."
        },
        {
          "key": "R2_2",
          "value": "-10825926.554305986",
          "description": "R2.2 - izvadlauks."
        },
        {
          "key": "R2_3",
          "value": "-2846048.4967546463",
          "description": "R2.3 - izvadlauks."
        },
        {
          "key": "R2_4",
          "value": "-75689714.63935238",
          "description": "R2.4 - izvadlauks."
        },
        {
          "key": "R2",
          "value": "-23079162.799611285",
          "description": "R2 - izvadlauks."
        },
        {
          "key": "R3",
          "value": "{\"Kods\":\"reprehenderit nisi\",\"VardsUzvards\":\"consectetur eiusmod\",\"IrIpasnieks\":false,\"IenakMen1\":-92217813.66160809,\"IenakMen2\":-32483874.293691263,\"IenakMen3\":90935209.33323136}",
          "description": "R3 - tabula."
        },
        {
          "key": "R3",
          "value": "{\"Kods\":\"fugiat minim ut enim\",\"VardsUzvards\":\"officia velit in labore id\",\"IrIpasnieks\":false,\"IenakMen1\":61803814.888237655,\"IenakMen2\":59357414.86875522,\"IenakMen3\":60881882.93357551}",
          "description": "R3 - tabula."
        },
        {
          "key": "NmrKods",
          "value": "esse in ",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-99691450",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "pariatur dolor magna",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/mnv4",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "mnv4"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "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": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "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": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "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": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "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": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "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": "Epasts",
              "value": "in aliqua nulla dolor",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "est ad",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Gads",
              "value": "-81596535",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Ceturksnis",
              "value": "3",
              "description": "(Required) Gets or sets the taks ceturksnis."
            },
            {
              "key": "Sagatavotajs",
              "value": "Duis cupidatat quis ad",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "InformacijaPielasita",
              "value": "2000-01-31T00:00:00",
              "description": "Informācija pielasīta."
            },
            {
              "key": "JurForma",
              "value": "-1102520",
              "description": "Mikrouzņēmuma juridiskā forma."
            },
            {
              "key": "IenakumiVaiApgrozijums",
              "value": "tempor",
              "description": "Pazīme ienākumi vai apgrozījums."
            },
            {
              "key": "R1_1",
              "value": "-61866154.619243205",
              "description": "R1.1 - ievadlauks."
            },
            {
              "key": "R1_2",
              "value": "20670242.030923754",
              "description": "R1.2 - ievadlauks."
            },
            {
              "key": "R1_3",
              "value": "-91050245.28189225",
              "description": "R1.3 - ievadlauks."
            },
            {
              "key": "R1",
              "value": "-66719816.48382923",
              "description": "R1 - izvadlauks."
            },
            {
              "key": "R2_1",
              "value": "-63420230.898664",
              "description": "R2.1 - izvadlauks."
            },
            {
              "key": "R2_2",
              "value": "94264212.90629658",
              "description": "R2.2 - izvadlauks."
            },
            {
              "key": "R2_3",
              "value": "-51711062.359880745",
              "description": "R2.3 - izvadlauks."
            },
            {
              "key": "R2_4",
              "value": "56689192.68697977",
              "description": "R2.4 - izvadlauks."
            },
            {
              "key": "R2",
              "value": "87814110.32178745",
              "description": "R2 - izvadlauks."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
              "description": "R3 - tabula."
            },
            {
              "key": "R3",
              "value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
              "description": "R3 - tabula."
            },
            {
              "key": "NmrKods",
              "value": "inci",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-65916999",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "minim",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/mnv4",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "mnv4"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}