Chilkat Online Tools

delphiDll / EDS API / Izveidot dokumentu "Valsts amatpersonu saraksts".

Back to Collection Items

var
http: HCkHttp;
success: Boolean;
req: HCkHttpRequest;
jsonParam8: HCkJsonObject;
jsonParam9: HCkJsonObject;
resp: HCkHttpResponse;
sbResponseBody: HCkStringBuilder;
jResp: HCkJsonObject;
respStatusCode: Integer;

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

http := CkHttp_Create();

req := CkHttpRequest_Create();
CkHttpRequest_AddParam(req,'Epasts','ex consectetur cillum pariatur');
CkHttpRequest_AddParam(req,'Talrunis','an');
CkHttpRequest_AddParam(req,'Grozijumi','false');
CkHttpRequest_AddParam(req,'Strukturvieniba','irure labore dolore deserunt');
CkHttpRequest_AddParam(req,'VaditajaVardsUzvards','deserunt');
CkHttpRequest_AddParam(req,'VaditajaPersonasKods','ut');
CkHttpRequest_AddParam(req,'VaditajaAmats','n');

jsonParam8 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam8,'VardsUzvards','eu Ut mollit laborum voluptate');
CkJsonObject_UpdateString(jsonParam8,'PersonasKods','elit ali');
CkJsonObject_UpdateString(jsonParam8,'DatumsNo','2000-01-31T00:00:00');
CkJsonObject_UpdateString(jsonParam8,'Amats','ex inc');
CkJsonObject_UpdateString(jsonParam8,'AmataNosaukums','dolore');
CkJsonObject_UpdateString(jsonParam8,'DatumsLidz','2000-01-31T00:00:00');
CkJsonObject_UpdateBool(jsonParam8,'Ierednis',False);
CkJsonObject_UpdateBool(jsonParam8,'Aizvieto',True);
CkJsonObject_UpdateBool(jsonParam8,'Anulet',False);
CkJsonObject_UpdateString(jsonParam8,'Hash','ea officia ut Duis laborum');
CkHttpRequest_AddParam(req,'Tabula',CkJsonObject__emit(jsonParam8));

jsonParam9 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam9,'VardsUzvards','dolore');
CkJsonObject_UpdateString(jsonParam9,'PersonasKods','ea');
CkJsonObject_UpdateString(jsonParam9,'DatumsNo','2000-01-31T00:00:00');
CkJsonObject_UpdateString(jsonParam9,'Amats','irure Ut');
CkJsonObject_UpdateString(jsonParam9,'AmataNosaukums','sit enim ad ');
CkJsonObject_UpdateString(jsonParam9,'DatumsLidz','2000-01-31T00:00:00');
CkJsonObject_UpdateBool(jsonParam9,'Ierednis',True);
CkJsonObject_UpdateBool(jsonParam9,'Aizvieto',True);
CkJsonObject_UpdateBool(jsonParam9,'Anulet',True);
CkJsonObject_UpdateString(jsonParam9,'Hash','et ex');
CkHttpRequest_AddParam(req,'Tabula',CkJsonObject__emit(jsonParam9));
CkHttpRequest_AddParam(req,'NmrKods','la');
CkHttpRequest_AddParam(req,'Precizejums','false');
CkHttpRequest_AddParam(req,'PrecizejamaisDokuments','-69142443');
CkHttpRequest_AddParam(req,'PrecizejumaPamatojums','fugiat esse laborum dolor');

CkHttpRequest_AddHeader(req,'Accept','application/json');

resp := CkHttp_PostUrlEncoded(http,'https://eds.vid.gov.lv/api/doc/vasv2',req);
if (CkHttp_getLastMethodSuccess(http) = False) then
  begin
    Memo1.Lines.Add(CkHttp__lastErrorText(http));
    Exit;
  end;

sbResponseBody := CkStringBuilder_Create();
CkHttpResponse_GetBodySb(resp,sbResponseBody);

jResp := CkJsonObject_Create();
CkJsonObject_LoadSb(jResp,sbResponseBody);
CkJsonObject_putEmitCompact(jResp,False);

Memo1.Lines.Add('Response Body:');
Memo1.Lines.Add(CkJsonObject__emit(jResp));

respStatusCode := CkHttpResponse_getStatusCode(resp);
Memo1.Lines.Add('Response Status Code = ' + IntToStr(respStatusCode));
if (respStatusCode >= 400) then
  begin
    Memo1.Lines.Add('Response Header:');
    Memo1.Lines.Add(CkHttpResponse__header(resp));
    Memo1.Lines.Add('Failed.');
    CkHttpResponse_Dispose(resp);
    Exit;
  end;
CkHttpResponse_Dispose(resp);

CkHttp_Dispose(http);
CkHttpRequest_Dispose(req);
CkJsonObject_Dispose(jsonParam8);
CkJsonObject_Dispose(jsonParam9);
CkStringBuilder_Dispose(sbResponseBody);
CkJsonObject_Dispose(jResp);

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