unicodeC / EDS API / Izveidot dokumentu "Valsts amatpersonu saraksts".
Back to Collection Items
#include <C_CkHttpW.h>
#include <C_CkHttpRequestW.h>
#include <C_CkJsonObjectW.h>
#include <C_CkHttpResponseW.h>
#include <C_CkStringBuilderW.h>
void ChilkatSample(void)
{
HCkHttpW http;
BOOL success;
HCkHttpRequestW req;
HCkJsonObjectW jsonParam8;
HCkJsonObjectW jsonParam9;
HCkHttpResponseW resp;
HCkStringBuilderW sbResponseBody;
HCkJsonObjectW jResp;
int respStatusCode;
// This example assumes the Chilkat API to have been previously unlocked.
// See Global Unlock Sample for sample code.
http = CkHttpW_Create();
req = CkHttpRequestW_Create();
CkHttpRequestW_AddParam(req,L"Epasts",L"ex consectetur cillum pariatur");
CkHttpRequestW_AddParam(req,L"Talrunis",L"an");
CkHttpRequestW_AddParam(req,L"Grozijumi",L"false");
CkHttpRequestW_AddParam(req,L"Strukturvieniba",L"irure labore dolore deserunt");
CkHttpRequestW_AddParam(req,L"VaditajaVardsUzvards",L"deserunt");
CkHttpRequestW_AddParam(req,L"VaditajaPersonasKods",L"ut");
CkHttpRequestW_AddParam(req,L"VaditajaAmats",L"n");
jsonParam8 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam8,L"VardsUzvards",L"eu Ut mollit laborum voluptate");
CkJsonObjectW_UpdateString(jsonParam8,L"PersonasKods",L"elit ali");
CkJsonObjectW_UpdateString(jsonParam8,L"DatumsNo",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateString(jsonParam8,L"Amats",L"ex inc");
CkJsonObjectW_UpdateString(jsonParam8,L"AmataNosaukums",L"dolore");
CkJsonObjectW_UpdateString(jsonParam8,L"DatumsLidz",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateBool(jsonParam8,L"Ierednis",FALSE);
CkJsonObjectW_UpdateBool(jsonParam8,L"Aizvieto",TRUE);
CkJsonObjectW_UpdateBool(jsonParam8,L"Anulet",FALSE);
CkJsonObjectW_UpdateString(jsonParam8,L"Hash",L"ea officia ut Duis laborum");
CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam8));
jsonParam9 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam9,L"VardsUzvards",L"dolore");
CkJsonObjectW_UpdateString(jsonParam9,L"PersonasKods",L"ea");
CkJsonObjectW_UpdateString(jsonParam9,L"DatumsNo",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateString(jsonParam9,L"Amats",L"irure Ut");
CkJsonObjectW_UpdateString(jsonParam9,L"AmataNosaukums",L"sit enim ad ");
CkJsonObjectW_UpdateString(jsonParam9,L"DatumsLidz",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateBool(jsonParam9,L"Ierednis",TRUE);
CkJsonObjectW_UpdateBool(jsonParam9,L"Aizvieto",TRUE);
CkJsonObjectW_UpdateBool(jsonParam9,L"Anulet",TRUE);
CkJsonObjectW_UpdateString(jsonParam9,L"Hash",L"et ex");
CkHttpRequestW_AddParam(req,L"Tabula",CkJsonObjectW_emit(jsonParam9));
CkHttpRequestW_AddParam(req,L"NmrKods",L"la");
CkHttpRequestW_AddParam(req,L"Precizejums",L"false");
CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"-69142443");
CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"fugiat esse laborum dolor");
CkHttpRequestW_AddHeader(req,L"Accept",L"application/json");
resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/vasv2",req);
if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
wprintf(L"%s\n",CkHttpW_lastErrorText(http));
CkHttpW_Dispose(http);
CkHttpRequestW_Dispose(req);
CkJsonObjectW_Dispose(jsonParam8);
CkJsonObjectW_Dispose(jsonParam9);
return;
}
sbResponseBody = CkStringBuilderW_Create();
CkHttpResponseW_GetBodySb(resp,sbResponseBody);
jResp = CkJsonObjectW_Create();
CkJsonObjectW_LoadSb(jResp,sbResponseBody);
CkJsonObjectW_putEmitCompact(jResp,FALSE);
wprintf(L"Response Body:\n");
wprintf(L"%s\n",CkJsonObjectW_emit(jResp));
respStatusCode = CkHttpResponseW_getStatusCode(resp);
wprintf(L"Response Status Code = %d\n",respStatusCode);
if (respStatusCode >= 400) {
wprintf(L"Response Header:\n");
wprintf(L"%s\n",CkHttpResponseW_header(resp));
wprintf(L"Failed.\n");
CkHttpResponseW_Dispose(resp);
CkHttpW_Dispose(http);
CkHttpRequestW_Dispose(req);
CkJsonObjectW_Dispose(jsonParam8);
CkJsonObjectW_Dispose(jsonParam9);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
return;
}
CkHttpResponseW_Dispose(resp);
CkHttpW_Dispose(http);
CkHttpRequestW_Dispose(req);
CkJsonObjectW_Dispose(jsonParam8);
CkJsonObjectW_Dispose(jsonParam9);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
}
Curl Command
curl -X POST
-H "Content-Type: application/x-www-form-urlencoded"
-H "Accept: application/json"
--data-urlencode '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": ""
}
]
}