delphiDll / EDS API / Izveidot dokumentu "IeIeN pārskats par izmaksām nerezidentiem".
Back to Collection Items
var
http: HCkHttp;
success: Boolean;
req: HCkHttpRequest;
jsonParam6: HCkJsonObject;
jsonParam7: HCkJsonObject;
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,'ParskGads','27511326');
CkHttpRequest_AddParam(req,'Epasts','id ad dolor');
CkHttpRequest_AddParam(req,'Talrunis','enim aute');
CkHttpRequest_AddParam(req,'ParskMen','non tempor');
CkHttpRequest_AddParam(req,'NmrKods','');
jsonParam6 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam6,'Vards','minim');
CkJsonObject_UpdateString(jsonParam6,'Uzvards','ad ex ut');
CkJsonObject_UpdateString(jsonParam6,'Valsts','consequat est');
CkJsonObject_UpdateString(jsonParam6,'AdrIela','ipsum quis');
CkJsonObject_UpdateString(jsonParam6,'AdrPilseta','s');
CkJsonObject_UpdateString(jsonParam6,'AdrPasts','enim ma');
CkJsonObject_UpdateString(jsonParam6,'IenVeids','labore ut dolor');
CkJsonObject_UpdateInt(jsonParam6,'IzmDatums',5);
CkJsonObject_UpdateNumber(jsonParam6,'IenSumma','68842244.30638918');
CkJsonObject_UpdateNumber(jsonParam6,'NodLikme','-4532744.78351821');
CkJsonObject_UpdateNumber(jsonParam6,'NodSumma','-73141137.23149602');
CkJsonObject_UpdateString(jsonParam6,'CitsPersKods','enim fugiat incididunt nulla est');
CkJsonObject_UpdateString(jsonParam6,'LrNmrKods','laboris ');
CkJsonObject_UpdateString(jsonParam6,'DzimDatums','2000-01-31T00:00:00');
CkJsonObject_UpdateString(jsonParam6,'ATVK','et nisi');
CkHttpRequest_AddParam(req,'TabulaFP',CkJsonObject__emit(jsonParam6));
jsonParam7 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam7,'Vards','magna voluptate et');
CkJsonObject_UpdateString(jsonParam7,'Uzvards','id sit dolor');
CkJsonObject_UpdateString(jsonParam7,'Valsts','ad deserunt dolore nulla');
CkJsonObject_UpdateString(jsonParam7,'AdrIela','nostrud veniam');
CkJsonObject_UpdateString(jsonParam7,'AdrPilseta','velit Ut');
CkJsonObject_UpdateString(jsonParam7,'AdrPasts','Duis incididunt ');
CkJsonObject_UpdateString(jsonParam7,'IenVeids','aliqua minim Lorem mo');
CkJsonObject_UpdateInt(jsonParam7,'IzmDatums',17);
CkJsonObject_UpdateNumber(jsonParam7,'IenSumma','-96377012.18696697');
CkJsonObject_UpdateNumber(jsonParam7,'NodLikme','72181339.46018353');
CkJsonObject_UpdateNumber(jsonParam7,'NodSumma','7407312.243400812');
CkJsonObject_UpdateString(jsonParam7,'CitsPersKods','reprehenderit tempor ullamco laboris eiusmod');
CkJsonObject_UpdateString(jsonParam7,'LrNmrKods','cill');
CkJsonObject_UpdateString(jsonParam7,'DzimDatums','2000-01-31T00:00:00');
CkJsonObject_UpdateString(jsonParam7,'ATVK','do m');
CkHttpRequest_AddParam(req,'TabulaFP',CkJsonObject__emit(jsonParam7));
jsonParam8 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam8,'Valsts','sint sed dolore');
CkJsonObject_UpdateString(jsonParam8,'AdrIela','quis minim cupidatat consequat sint');
CkJsonObject_UpdateString(jsonParam8,'AdrPilseta','sed laboris laborum occaecat');
CkJsonObject_UpdateString(jsonParam8,'AdrPasts','ut ');
CkJsonObject_UpdateString(jsonParam8,'IenVeids','laboris aute i');
CkJsonObject_UpdateInt(jsonParam8,'IzmDatums',10);
CkJsonObject_UpdateNumber(jsonParam8,'IenSumma','-3727298.2054616064');
CkJsonObject_UpdateNumber(jsonParam8,'NodLikme','75350436.87728763');
CkJsonObject_UpdateNumber(jsonParam8,'NodSumma','49772940.04344842');
CkJsonObject_UpdateString(jsonParam8,'JpKods','consectetur aliqua anim aliquip');
CkJsonObject_UpdateString(jsonParam8,'JpNosaukums','nostrud non');
CkJsonObject_UpdateString(jsonParam8,'Piezimes','aute o');
CkJsonObject_UpdateString(jsonParam8,'ATVK','qui laboris ut');
CkHttpRequest_AddParam(req,'TabulaJP',CkJsonObject__emit(jsonParam8));
jsonParam9 := CkJsonObject_Create();
CkJsonObject_UpdateString(jsonParam9,'Valsts','et enim irure deserunt');
CkJsonObject_UpdateString(jsonParam9,'AdrIela','do exercitation magna');
CkJsonObject_UpdateString(jsonParam9,'AdrPilseta','laboris ipsum');
CkJsonObject_UpdateString(jsonParam9,'AdrPasts','do');
CkJsonObject_UpdateString(jsonParam9,'IenVeids','Duis dolore dolor');
CkJsonObject_UpdateInt(jsonParam9,'IzmDatums',6);
CkJsonObject_UpdateNumber(jsonParam9,'IenSumma','-46097071.98561765');
CkJsonObject_UpdateNumber(jsonParam9,'NodLikme','55493653.82805306');
CkJsonObject_UpdateNumber(jsonParam9,'NodSumma','81797240.72361588');
CkJsonObject_UpdateString(jsonParam9,'JpKods','anim aliquip incididunt in');
CkJsonObject_UpdateString(jsonParam9,'JpNosaukums','velit tempor ut cupidatat');
CkJsonObject_UpdateString(jsonParam9,'Piezimes','deserunt laborum eu dol');
CkJsonObject_UpdateString(jsonParam9,'ATVK','nostrud nulla');
CkHttpRequest_AddParam(req,'TabulaJP',CkJsonObject__emit(jsonParam9));
CkHttpRequest_AddParam(req,'Precizejums','true');
CkHttpRequest_AddParam(req,'PrecizejamaisDokuments','35856446');
CkHttpRequest_AddParam(req,'PrecizejumaPamatojums','dolor laborum');
CkHttpRequest_AddHeader(req,'Accept','application/json');
resp := CkHttp_PostUrlEncoded(http,'https://eds.vid.gov.lv/api/doc/inrv2',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(jsonParam6);
CkJsonObject_Dispose(jsonParam7);
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 '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": ""
}
]
}