Chilkat Online Tools

Node.js / EDS API / Izveidot dokumentu "Valsts amatpersonu saraksts".

Back to Collection Items

var os = require('os');
if (os.platform() == 'win32') {  
    if (os.arch() == 'ia32') {
        var chilkat = require('@chilkat/ck-node21-win-ia32');
    } else {
        var chilkat = require('@chilkat/ck-node21-win64'); 
    }
} else if (os.platform() == 'linux') {
    if (os.arch() == 'arm') {
        var chilkat = require('@chilkat/ck-node21-arm');
    } else if (os.arch() == 'x86') {
        var chilkat = require('@chilkat/ck-node21-linux32');
    } else {
        var chilkat = require('@chilkat/ck-node21-linux64');
    }
} else if (os.platform() == 'darwin') {
    if (os.arch() == 'arm64') {
        var chilkat = require('@chilkat/ck-node21-mac-m1');
    } else {
        var chilkat = require('@chilkat/ck-node21-macosx');
    }
}


function chilkatExample() {

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

    var http = new chilkat.Http();
    var success;

    var req = new chilkat.HttpRequest();
    req.AddParam("Epasts","ex consectetur cillum pariatur");
    req.AddParam("Talrunis","an");
    req.AddParam("Grozijumi","false");
    req.AddParam("Strukturvieniba","irure labore dolore deserunt");
    req.AddParam("VaditajaVardsUzvards","deserunt");
    req.AddParam("VaditajaPersonasKods","ut");
    req.AddParam("VaditajaAmats","n");

    var jsonParam8 = new chilkat.JsonObject();
    jsonParam8.UpdateString("VardsUzvards","eu Ut mollit laborum voluptate");
    jsonParam8.UpdateString("PersonasKods","elit ali");
    jsonParam8.UpdateString("DatumsNo","2000-01-31T00:00:00");
    jsonParam8.UpdateString("Amats","ex inc");
    jsonParam8.UpdateString("AmataNosaukums","dolore");
    jsonParam8.UpdateString("DatumsLidz","2000-01-31T00:00:00");
    jsonParam8.UpdateBool("Ierednis",false);
    jsonParam8.UpdateBool("Aizvieto",true);
    jsonParam8.UpdateBool("Anulet",false);
    jsonParam8.UpdateString("Hash","ea officia ut Duis laborum");
    req.AddParam("Tabula",jsonParam8.Emit());

    var jsonParam9 = new chilkat.JsonObject();
    jsonParam9.UpdateString("VardsUzvards","dolore");
    jsonParam9.UpdateString("PersonasKods","ea");
    jsonParam9.UpdateString("DatumsNo","2000-01-31T00:00:00");
    jsonParam9.UpdateString("Amats","irure Ut");
    jsonParam9.UpdateString("AmataNosaukums","sit enim ad ");
    jsonParam9.UpdateString("DatumsLidz","2000-01-31T00:00:00");
    jsonParam9.UpdateBool("Ierednis",true);
    jsonParam9.UpdateBool("Aizvieto",true);
    jsonParam9.UpdateBool("Anulet",true);
    jsonParam9.UpdateString("Hash","et ex");
    req.AddParam("Tabula",jsonParam9.Emit());
    req.AddParam("NmrKods","la");
    req.AddParam("Precizejums","false");
    req.AddParam("PrecizejamaisDokuments","-69142443");
    req.AddParam("PrecizejumaPamatojums","fugiat esse laborum dolor");

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

    // resp: HttpResponse
    var resp = http.PostUrlEncoded("https://eds.vid.gov.lv/api/doc/vasv2",req);
    if (http.LastMethodSuccess == false) {
        console.log(http.LastErrorText);
        return;
    }

    var sbResponseBody = new chilkat.StringBuilder();
    resp.GetBodySb(sbResponseBody);

    var jResp = new chilkat.JsonObject();
    jResp.LoadSb(sbResponseBody);
    jResp.EmitCompact = false;

    console.log("Response Body:");
    console.log(jResp.Emit());

    var respStatusCode = resp.StatusCode;
    console.log("Response Status Code = " + respStatusCode);
    if (respStatusCode >= 400) {
        console.log("Response Header:");
        console.log(resp.Header);
        console.log("Failed.");

        return;
    }


}

chilkatExample();

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'Epasts=ex consectetur cillum pariatur'
	--data-urlencode 'Talrunis=an'
	--data-urlencode 'Grozijumi=false'
	--data-urlencode 'Strukturvieniba=irure labore dolore deserunt'
	--data-urlencode 'VaditajaVardsUzvards=deserunt'
	--data-urlencode 'VaditajaPersonasKods=ut'
	--data-urlencode 'VaditajaAmats=n'
	--data-urlencode 'Tabula={"VardsUzvards":"eu Ut mollit laborum voluptate","PersonasKods":"elit ali","DatumsNo":"2000-01-31T00:00:00","Amats":"ex inc","AmataNosaukums":"dolore","DatumsLidz":"2000-01-31T00:00:00","Ierednis":false,"Aizvieto":true,"Anulet":false,"Hash":"ea officia ut Duis laborum"}'
	--data-urlencode 'Tabula={"VardsUzvards":"dolore","PersonasKods":"ea","DatumsNo":"2000-01-31T00:00:00","Amats":"irure Ut","AmataNosaukums":"sit enim ad ","DatumsLidz":"2000-01-31T00:00:00","Ierednis":true,"Aizvieto":true,"Anulet":true,"Hash":"et ex"}'
	--data-urlencode 'NmrKods=la'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-69142443'
	--data-urlencode 'PrecizejumaPamatojums=fugiat esse laborum dolor'
https://eds.vid.gov.lv/api/doc/vasv2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Valsts amatpersonu saraksts\".",
  "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": "ex consectetur cillum pariatur",
          "description": "(Required) Epasts."
        },
        {
          "key": "Talrunis",
          "value": "an",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Grozijumi",
          "value": "false",
          "description": "Pazīme - vai iesniedz kā grozījumus."
        },
        {
          "key": "Strukturvieniba",
          "value": "irure labore dolore deserunt",
          "description": "Strukturvienības kods."
        },
        {
          "key": "VaditajaVardsUzvards",
          "value": "deserunt",
          "description": "Vadītāja vārds, uzvārds."
        },
        {
          "key": "VaditajaPersonasKods",
          "value": "ut ",
          "description": "Vadītāja personas kods."
        },
        {
          "key": "VaditajaAmats",
          "value": "n",
          "description": "Vadītāja amats."
        },
        {
          "key": "Tabula",
          "value": "{\"VardsUzvards\":\"eu Ut mollit laborum voluptate\",\"PersonasKods\":\"elit ali\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"ex inc\",\"AmataNosaukums\":\"dolore\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"ea officia ut Duis laborum\"}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"VardsUzvards\":\"dolore\",\"PersonasKods\":\"ea\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"irure Ut\",\"AmataNosaukums\":\"sit enim ad \",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":true,\"Anulet\":true,\"Hash\":\"et ex\"}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "NmrKods",
          "value": "la",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-69142443",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "fugiat esse laborum dolor",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/vasv2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "vasv2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "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": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "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": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "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": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "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": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "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": "dolore ut",
              "description": "(Required) Epasts."
            },
            {
              "key": "Talrunis",
              "value": "id do",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Grozijumi",
              "value": "false",
              "description": "Pazīme - vai iesniedz kā grozījumus."
            },
            {
              "key": "Strukturvieniba",
              "value": "sunt",
              "description": "Strukturvienības kods."
            },
            {
              "key": "VaditajaVardsUzvards",
              "value": "labore tempor",
              "description": "Vadītāja vārds, uzvārds."
            },
            {
              "key": "VaditajaPersonasKods",
              "value": "ad ex s",
              "description": "Vadītāja personas kods."
            },
            {
              "key": "VaditajaAmats",
              "value": "cillu",
              "description": "Vadītāja amats."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "adipis",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "31095946",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "mollit ullamco aliquip",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/vasv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "vasv2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}