SQL Server / EDS API / Izveidot dokumentu "IeIeN pārskats par izmaksām nerezidentiem".
Back to Collection Items
-- Important: See this note about string length limitations for strings returned by sp_OAMethod calls.
--
CREATE PROCEDURE ChilkatSample
AS
BEGIN
DECLARE @hr int
DECLARE @iTmp0 int
-- Important: Do not use nvarchar(max). See the warning about using nvarchar(max).
DECLARE @sTmp0 nvarchar(4000)
-- This example assumes the Chilkat API to have been previously unlocked.
-- See Global Unlock Sample for sample code.
DECLARE @http int
-- Use "Chilkat_9_5_0.Http" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.Http', @http OUT
IF @hr <> 0
BEGIN
PRINT 'Failed to create ActiveX component'
RETURN
END
DECLARE @success int
DECLARE @req int
-- Use "Chilkat_9_5_0.HttpRequest" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.HttpRequest', @req OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskGads', '27511326'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Epasts', 'id ad dolor'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'enim aute'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskMen', 'non tempor'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', ''
DECLARE @jsonParam6 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam6 OUT
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'Vards', 'minim'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'Uzvards', 'ad ex ut'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'Valsts', 'consequat est'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'AdrIela', 'ipsum quis'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'AdrPilseta', 's'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'AdrPasts', 'enim ma'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'IenVeids', 'labore ut dolor'
EXEC sp_OAMethod @jsonParam6, 'UpdateInt', @success OUT, 'IzmDatums', 5
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'IenSumma', '68842244.30638918'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'NodLikme', '-4532744.78351821'
EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'NodSumma', '-73141137.23149602'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'CitsPersKods', 'enim fugiat incididunt nulla est'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'LrNmrKods', 'laboris '
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'DzimDatums', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'ATVK', 'et nisi'
EXEC sp_OAMethod @jsonParam6, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TabulaFP', @sTmp0
DECLARE @jsonParam7 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam7 OUT
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'Vards', 'magna voluptate et'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'Uzvards', 'id sit dolor'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'Valsts', 'ad deserunt dolore nulla'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'AdrIela', 'nostrud veniam'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'AdrPilseta', 'velit Ut'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'AdrPasts', 'Duis incididunt '
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'IenVeids', 'aliqua minim Lorem mo'
EXEC sp_OAMethod @jsonParam7, 'UpdateInt', @success OUT, 'IzmDatums', 17
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'IenSumma', '-96377012.18696697'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'NodLikme', '72181339.46018353'
EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'NodSumma', '7407312.243400812'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'CitsPersKods', 'reprehenderit tempor ullamco laboris eiusmod'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'LrNmrKods', 'cill'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'DzimDatums', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'ATVK', 'do m'
EXEC sp_OAMethod @jsonParam7, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TabulaFP', @sTmp0
DECLARE @jsonParam8 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam8 OUT
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'Valsts', 'sint sed dolore'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'AdrIela', 'quis minim cupidatat consequat sint'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'AdrPilseta', 'sed laboris laborum occaecat'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'AdrPasts', 'ut '
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'IenVeids', 'laboris aute i'
EXEC sp_OAMethod @jsonParam8, 'UpdateInt', @success OUT, 'IzmDatums', 10
EXEC sp_OAMethod @jsonParam8, 'UpdateNumber', @success OUT, 'IenSumma', '-3727298.2054616064'
EXEC sp_OAMethod @jsonParam8, 'UpdateNumber', @success OUT, 'NodLikme', '75350436.87728763'
EXEC sp_OAMethod @jsonParam8, 'UpdateNumber', @success OUT, 'NodSumma', '49772940.04344842'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'JpKods', 'consectetur aliqua anim aliquip'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'JpNosaukums', 'nostrud non'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'Piezimes', 'aute o'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'ATVK', 'qui laboris ut'
EXEC sp_OAMethod @jsonParam8, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TabulaJP', @sTmp0
DECLARE @jsonParam9 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam9 OUT
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'Valsts', 'et enim irure deserunt'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'AdrIela', 'do exercitation magna'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'AdrPilseta', 'laboris ipsum'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'AdrPasts', 'do'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'IenVeids', 'Duis dolore dolor'
EXEC sp_OAMethod @jsonParam9, 'UpdateInt', @success OUT, 'IzmDatums', 6
EXEC sp_OAMethod @jsonParam9, 'UpdateNumber', @success OUT, 'IenSumma', '-46097071.98561765'
EXEC sp_OAMethod @jsonParam9, 'UpdateNumber', @success OUT, 'NodLikme', '55493653.82805306'
EXEC sp_OAMethod @jsonParam9, 'UpdateNumber', @success OUT, 'NodSumma', '81797240.72361588'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'JpKods', 'anim aliquip incididunt in'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'JpNosaukums', 'velit tempor ut cupidatat'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'Piezimes', 'deserunt laborum eu dol'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'ATVK', 'nostrud nulla'
EXEC sp_OAMethod @jsonParam9, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TabulaJP', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'true'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '35856446'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'dolor laborum'
EXEC sp_OAMethod @req, 'AddHeader', NULL, 'Accept', 'application/json'
DECLARE @resp int
EXEC sp_OAMethod @http, 'PostUrlEncoded', @resp OUT, 'https://eds.vid.gov.lv/api/doc/inrv2', @req
EXEC sp_OAGetProperty @http, 'LastMethodSuccess', @iTmp0 OUT
IF @iTmp0 = 0
BEGIN
EXEC sp_OAGetProperty @http, 'LastErrorText', @sTmp0 OUT
PRINT @sTmp0
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
EXEC @hr = sp_OADestroy @jsonParam8
EXEC @hr = sp_OADestroy @jsonParam9
RETURN
END
DECLARE @sbResponseBody int
-- Use "Chilkat_9_5_0.StringBuilder" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.StringBuilder', @sbResponseBody OUT
EXEC sp_OAMethod @resp, 'GetBodySb', @success OUT, @sbResponseBody
DECLARE @jResp int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jResp OUT
EXEC sp_OAMethod @jResp, 'LoadSb', @success OUT, @sbResponseBody
EXEC sp_OASetProperty @jResp, 'EmitCompact', 0
PRINT 'Response Body:'
EXEC sp_OAMethod @jResp, 'Emit', @sTmp0 OUT
PRINT @sTmp0
DECLARE @respStatusCode int
EXEC sp_OAGetProperty @resp, 'StatusCode', @respStatusCode OUT
PRINT 'Response Status Code = ' + @respStatusCode
IF @respStatusCode >= 400
BEGIN
PRINT 'Response Header:'
EXEC sp_OAGetProperty @resp, 'Header', @sTmp0 OUT
PRINT @sTmp0
PRINT 'Failed.'
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
EXEC @hr = sp_OADestroy @jsonParam8
EXEC @hr = sp_OADestroy @jsonParam9
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
RETURN
END
EXEC @hr = sp_OADestroy @resp
EXEC @hr = sp_OADestroy @http
EXEC @hr = sp_OADestroy @req
EXEC @hr = sp_OADestroy @jsonParam6
EXEC @hr = sp_OADestroy @jsonParam7
EXEC @hr = sp_OADestroy @jsonParam8
EXEC @hr = sp_OADestroy @jsonParam9
EXEC @hr = sp_OADestroy @sbResponseBody
EXEC @hr = sp_OADestroy @jResp
END
GO
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": ""
}
]
}