unicodeC / EDS API / Izveidot dokumentu "IeIeN pārskats par izmaksām nerezidentiem".
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 jsonParam6;
HCkJsonObjectW jsonParam7;
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"ParskGads",L"27511326");
CkHttpRequestW_AddParam(req,L"Epasts",L"id ad dolor");
CkHttpRequestW_AddParam(req,L"Talrunis",L"enim aute");
CkHttpRequestW_AddParam(req,L"ParskMen",L"non tempor");
CkHttpRequestW_AddParam(req,L"NmrKods",L"");
jsonParam6 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam6,L"Vards",L"minim");
CkJsonObjectW_UpdateString(jsonParam6,L"Uzvards",L"ad ex ut");
CkJsonObjectW_UpdateString(jsonParam6,L"Valsts",L"consequat est");
CkJsonObjectW_UpdateString(jsonParam6,L"AdrIela",L"ipsum quis");
CkJsonObjectW_UpdateString(jsonParam6,L"AdrPilseta",L"s");
CkJsonObjectW_UpdateString(jsonParam6,L"AdrPasts",L"enim ma");
CkJsonObjectW_UpdateString(jsonParam6,L"IenVeids",L"labore ut dolor");
CkJsonObjectW_UpdateInt(jsonParam6,L"IzmDatums",5);
CkJsonObjectW_UpdateNumber(jsonParam6,L"IenSumma",L"68842244.30638918");
CkJsonObjectW_UpdateNumber(jsonParam6,L"NodLikme",L"-4532744.78351821");
CkJsonObjectW_UpdateNumber(jsonParam6,L"NodSumma",L"-73141137.23149602");
CkJsonObjectW_UpdateString(jsonParam6,L"CitsPersKods",L"enim fugiat incididunt nulla est");
CkJsonObjectW_UpdateString(jsonParam6,L"LrNmrKods",L"laboris ");
CkJsonObjectW_UpdateString(jsonParam6,L"DzimDatums",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateString(jsonParam6,L"ATVK",L"et nisi");
CkHttpRequestW_AddParam(req,L"TabulaFP",CkJsonObjectW_emit(jsonParam6));
jsonParam7 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam7,L"Vards",L"magna voluptate et");
CkJsonObjectW_UpdateString(jsonParam7,L"Uzvards",L"id sit dolor");
CkJsonObjectW_UpdateString(jsonParam7,L"Valsts",L"ad deserunt dolore nulla");
CkJsonObjectW_UpdateString(jsonParam7,L"AdrIela",L"nostrud veniam");
CkJsonObjectW_UpdateString(jsonParam7,L"AdrPilseta",L"velit Ut");
CkJsonObjectW_UpdateString(jsonParam7,L"AdrPasts",L"Duis incididunt ");
CkJsonObjectW_UpdateString(jsonParam7,L"IenVeids",L"aliqua minim Lorem mo");
CkJsonObjectW_UpdateInt(jsonParam7,L"IzmDatums",17);
CkJsonObjectW_UpdateNumber(jsonParam7,L"IenSumma",L"-96377012.18696697");
CkJsonObjectW_UpdateNumber(jsonParam7,L"NodLikme",L"72181339.46018353");
CkJsonObjectW_UpdateNumber(jsonParam7,L"NodSumma",L"7407312.243400812");
CkJsonObjectW_UpdateString(jsonParam7,L"CitsPersKods",L"reprehenderit tempor ullamco laboris eiusmod");
CkJsonObjectW_UpdateString(jsonParam7,L"LrNmrKods",L"cill");
CkJsonObjectW_UpdateString(jsonParam7,L"DzimDatums",L"2000-01-31T00:00:00");
CkJsonObjectW_UpdateString(jsonParam7,L"ATVK",L"do m");
CkHttpRequestW_AddParam(req,L"TabulaFP",CkJsonObjectW_emit(jsonParam7));
jsonParam8 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam8,L"Valsts",L"sint sed dolore");
CkJsonObjectW_UpdateString(jsonParam8,L"AdrIela",L"quis minim cupidatat consequat sint");
CkJsonObjectW_UpdateString(jsonParam8,L"AdrPilseta",L"sed laboris laborum occaecat");
CkJsonObjectW_UpdateString(jsonParam8,L"AdrPasts",L"ut ");
CkJsonObjectW_UpdateString(jsonParam8,L"IenVeids",L"laboris aute i");
CkJsonObjectW_UpdateInt(jsonParam8,L"IzmDatums",10);
CkJsonObjectW_UpdateNumber(jsonParam8,L"IenSumma",L"-3727298.2054616064");
CkJsonObjectW_UpdateNumber(jsonParam8,L"NodLikme",L"75350436.87728763");
CkJsonObjectW_UpdateNumber(jsonParam8,L"NodSumma",L"49772940.04344842");
CkJsonObjectW_UpdateString(jsonParam8,L"JpKods",L"consectetur aliqua anim aliquip");
CkJsonObjectW_UpdateString(jsonParam8,L"JpNosaukums",L"nostrud non");
CkJsonObjectW_UpdateString(jsonParam8,L"Piezimes",L"aute o");
CkJsonObjectW_UpdateString(jsonParam8,L"ATVK",L"qui laboris ut");
CkHttpRequestW_AddParam(req,L"TabulaJP",CkJsonObjectW_emit(jsonParam8));
jsonParam9 = CkJsonObjectW_Create();
CkJsonObjectW_UpdateString(jsonParam9,L"Valsts",L"et enim irure deserunt");
CkJsonObjectW_UpdateString(jsonParam9,L"AdrIela",L"do exercitation magna");
CkJsonObjectW_UpdateString(jsonParam9,L"AdrPilseta",L"laboris ipsum");
CkJsonObjectW_UpdateString(jsonParam9,L"AdrPasts",L"do");
CkJsonObjectW_UpdateString(jsonParam9,L"IenVeids",L"Duis dolore dolor");
CkJsonObjectW_UpdateInt(jsonParam9,L"IzmDatums",6);
CkJsonObjectW_UpdateNumber(jsonParam9,L"IenSumma",L"-46097071.98561765");
CkJsonObjectW_UpdateNumber(jsonParam9,L"NodLikme",L"55493653.82805306");
CkJsonObjectW_UpdateNumber(jsonParam9,L"NodSumma",L"81797240.72361588");
CkJsonObjectW_UpdateString(jsonParam9,L"JpKods",L"anim aliquip incididunt in");
CkJsonObjectW_UpdateString(jsonParam9,L"JpNosaukums",L"velit tempor ut cupidatat");
CkJsonObjectW_UpdateString(jsonParam9,L"Piezimes",L"deserunt laborum eu dol");
CkJsonObjectW_UpdateString(jsonParam9,L"ATVK",L"nostrud nulla");
CkHttpRequestW_AddParam(req,L"TabulaJP",CkJsonObjectW_emit(jsonParam9));
CkHttpRequestW_AddParam(req,L"Precizejums",L"true");
CkHttpRequestW_AddParam(req,L"PrecizejamaisDokuments",L"35856446");
CkHttpRequestW_AddParam(req,L"PrecizejumaPamatojums",L"dolor laborum");
CkHttpRequestW_AddHeader(req,L"Accept",L"application/json");
resp = CkHttpW_PostUrlEncoded(http,L"https://eds.vid.gov.lv/api/doc/inrv2",req);
if (CkHttpW_getLastMethodSuccess(http) == FALSE) {
wprintf(L"%s\n",CkHttpW_lastErrorText(http));
CkHttpW_Dispose(http);
CkHttpRequestW_Dispose(req);
CkJsonObjectW_Dispose(jsonParam6);
CkJsonObjectW_Dispose(jsonParam7);
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(jsonParam6);
CkJsonObjectW_Dispose(jsonParam7);
CkJsonObjectW_Dispose(jsonParam8);
CkJsonObjectW_Dispose(jsonParam9);
CkStringBuilderW_Dispose(sbResponseBody);
CkJsonObjectW_Dispose(jResp);
return;
}
CkHttpResponseW_Dispose(resp);
CkHttpW_Dispose(http);
CkHttpRequestW_Dispose(req);
CkJsonObjectW_Dispose(jsonParam6);
CkJsonObjectW_Dispose(jsonParam7);
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 'ParskGads=27511326'
--data-urlencode 'Epasts=id ad dolor'
--data-urlencode 'Talrunis=enim aute'
--data-urlencode 'ParskMen=non tempor'
--data-urlencode 'NmrKods='
--data-urlencode 'TabulaFP={"Vards":"minim","Uzvards":"ad ex ut","Valsts":"consequat est","AdrIela":"ipsum quis","AdrPilseta":"s","AdrPasts":"enim ma","IenVeids":"labore ut dolor","IzmDatums":5,"IenSumma":68842244.30638918,"NodLikme":-4532744.78351821,"NodSumma":-73141137.23149602,"CitsPersKods":"enim fugiat incididunt nulla est","LrNmrKods":"laboris ","DzimDatums":"2000-01-31T00:00:00","ATVK":"et nisi"}'
--data-urlencode 'TabulaFP={"Vards":"magna voluptate et","Uzvards":"id sit dolor","Valsts":"ad deserunt dolore nulla","AdrIela":"nostrud veniam","AdrPilseta":"velit Ut","AdrPasts":"Duis incididunt ","IenVeids":"aliqua minim Lorem mo","IzmDatums":17,"IenSumma":-96377012.18696697,"NodLikme":72181339.46018353,"NodSumma":7407312.243400812,"CitsPersKods":"reprehenderit tempor ullamco laboris eiusmod","LrNmrKods":"cill","DzimDatums":"2000-01-31T00:00:00","ATVK":"do m"}'
--data-urlencode 'TabulaJP={"Valsts":"sint sed dolore","AdrIela":"quis minim cupidatat consequat sint","AdrPilseta":"sed laboris laborum occaecat","AdrPasts":"ut ","IenVeids":"laboris aute i","IzmDatums":10,"IenSumma":-3727298.2054616064,"NodLikme":75350436.87728763,"NodSumma":49772940.04344842,"JpKods":"consectetur aliqua anim aliquip","JpNosaukums":"nostrud non","Piezimes":"aute o","ATVK":"qui laboris ut"}'
--data-urlencode 'TabulaJP={"Valsts":"et enim irure deserunt","AdrIela":"do exercitation magna","AdrPilseta":"laboris ipsum","AdrPasts":"do","IenVeids":"Duis dolore dolor","IzmDatums":6,"IenSumma":-46097071.98561765,"NodLikme":55493653.82805306,"NodSumma":81797240.72361588,"JpKods":"anim aliquip incididunt in","JpNosaukums":"velit tempor ut cupidatat","Piezimes":"deserunt laborum eu dol","ATVK":"nostrud nulla"}'
--data-urlencode 'Precizejums=true'
--data-urlencode 'PrecizejamaisDokuments=35856446'
--data-urlencode 'PrecizejumaPamatojums=dolor laborum'
https://eds.vid.gov.lv/api/doc/inrv2
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"IeIeN pārskats par izmaksām nerezidentiem\".",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "27511326",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "id ad dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "enim aute",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "non tempor",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"minim\",\"Uzvards\":\"ad ex ut\",\"Valsts\":\"consequat est\",\"AdrIela\":\"ipsum quis\",\"AdrPilseta\":\"s\",\"AdrPasts\":\"enim ma\",\"IenVeids\":\"labore ut dolor\",\"IzmDatums\":5,\"IenSumma\":68842244.30638918,\"NodLikme\":-4532744.78351821,\"NodSumma\":-73141137.23149602,\"CitsPersKods\":\"enim fugiat incididunt nulla est\",\"LrNmrKods\":\"laboris \",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"et nisi\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"magna voluptate et\",\"Uzvards\":\"id sit dolor\",\"Valsts\":\"ad deserunt dolore nulla\",\"AdrIela\":\"nostrud veniam\",\"AdrPilseta\":\"velit Ut\",\"AdrPasts\":\"Duis incididunt \",\"IenVeids\":\"aliqua minim Lorem mo\",\"IzmDatums\":17,\"IenSumma\":-96377012.18696697,\"NodLikme\":72181339.46018353,\"NodSumma\":7407312.243400812,\"CitsPersKods\":\"reprehenderit tempor ullamco laboris eiusmod\",\"LrNmrKods\":\"cill\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"do m\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"sint sed dolore\",\"AdrIela\":\"quis minim cupidatat consequat sint\",\"AdrPilseta\":\"sed laboris laborum occaecat\",\"AdrPasts\":\"ut \",\"IenVeids\":\"laboris aute i\",\"IzmDatums\":10,\"IenSumma\":-3727298.2054616064,\"NodLikme\":75350436.87728763,\"NodSumma\":49772940.04344842,\"JpKods\":\"consectetur aliqua anim aliquip\",\"JpNosaukums\":\"nostrud non\",\"Piezimes\":\"aute o\",\"ATVK\":\"qui laboris ut\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"et enim irure deserunt\",\"AdrIela\":\"do exercitation magna\",\"AdrPilseta\":\"laboris ipsum\",\"AdrPasts\":\"do\",\"IenVeids\":\"Duis dolore dolor\",\"IzmDatums\":6,\"IenSumma\":-46097071.98561765,\"NodLikme\":55493653.82805306,\"NodSumma\":81797240.72361588,\"JpKods\":\"anim aliquip incididunt in\",\"JpNosaukums\":\"velit tempor ut cupidatat\",\"Piezimes\":\"deserunt laborum eu dol\",\"ATVK\":\"nostrud nulla\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "35856446",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolor laborum",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "-12855709"
},
{
"name": "Pieprasījuma dati ir kļūdaini.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājam nav tiesību veikt šo darbību.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Dokumenta unikalitātes ierobežojums. Dokuments par norādīto periodu jau izveidots. Lai izveidotu atkārtoti, izmantojiet jaunu drošības talonu.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Conflict",
"code": 409,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Pārsniegts izsaukumu skaita ierobežojums.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "ParskGads",
"value": "94056525",
"description": "(Required) Taksācijas gads."
},
{
"key": "Epasts",
"value": "sit amet",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "s",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "ParskMen",
"value": "consequat Duis proident amet",
"description": "Taksācijas mēneša kods (01-12)."
},
{
"key": "NmrKods",
"value": "ad in",
"description": "Nodokļu maksātāja reģistrācijas kods."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaFP",
"value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
"description": "INRv2 datu tabula."
},
{
"key": "TabulaJP",
"value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
"description": "INRv2 datu tabula."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-82936918",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "id dolore aliqua laboris",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/inrv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"inrv2"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}