SQL Server / EDS API / Izveidot dokumentu "Mikrouzņēmumu nodokļa deklarācija".
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, 'Epasts', 'consequat ut labore'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'irure do'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Gads', '-82082474'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Ceturksnis', '1'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'officia nulla'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'InformacijaPielasita', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'JurForma', '38476014'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'IenakumiVaiApgrozijums', 'ex anim'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R1_1', '42218166.32980278'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R1_2', '75227735.93781301'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R1_3', '-36938341.86132871'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R1', '-62757601.076526724'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R2_1', '-77330967.79493316'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R2_2', '-10825926.554305986'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R2_3', '-2846048.4967546463'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R2_4', '-75689714.63935238'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R2', '-23079162.799611285'
DECLARE @jsonParam18 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam18 OUT
EXEC sp_OAMethod @jsonParam18, 'UpdateString', @success OUT, 'Kods', 'reprehenderit nisi'
EXEC sp_OAMethod @jsonParam18, 'UpdateString', @success OUT, 'VardsUzvards', 'consectetur eiusmod'
EXEC sp_OAMethod @jsonParam18, 'UpdateBool', @success OUT, 'IrIpasnieks', 0
EXEC sp_OAMethod @jsonParam18, 'UpdateNumber', @success OUT, 'IenakMen1', '-92217813.66160809'
EXEC sp_OAMethod @jsonParam18, 'UpdateNumber', @success OUT, 'IenakMen2', '-32483874.293691263'
EXEC sp_OAMethod @jsonParam18, 'UpdateNumber', @success OUT, 'IenakMen3', '90935209.33323136'
EXEC sp_OAMethod @jsonParam18, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R3', @sTmp0
DECLARE @jsonParam19 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam19 OUT
EXEC sp_OAMethod @jsonParam19, 'UpdateString', @success OUT, 'Kods', 'fugiat minim ut enim'
EXEC sp_OAMethod @jsonParam19, 'UpdateString', @success OUT, 'VardsUzvards', 'officia velit in labore id'
EXEC sp_OAMethod @jsonParam19, 'UpdateBool', @success OUT, 'IrIpasnieks', 0
EXEC sp_OAMethod @jsonParam19, 'UpdateNumber', @success OUT, 'IenakMen1', '61803814.888237655'
EXEC sp_OAMethod @jsonParam19, 'UpdateNumber', @success OUT, 'IenakMen2', '59357414.86875522'
EXEC sp_OAMethod @jsonParam19, 'UpdateNumber', @success OUT, 'IenakMen3', '60881882.93357551'
EXEC sp_OAMethod @jsonParam19, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'R3', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'esse in'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-99691450'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'pariatur dolor magna'
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/mnv4', @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 @jsonParam18
EXEC @hr = sp_OADestroy @jsonParam19
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 @jsonParam18
EXEC @hr = sp_OADestroy @jsonParam19
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 @jsonParam18
EXEC @hr = sp_OADestroy @jsonParam19
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 'Epasts=consequat ut labore'
--data-urlencode 'Talrunis=irure do'
--data-urlencode 'Gads=-82082474'
--data-urlencode 'Ceturksnis=1'
--data-urlencode 'Sagatavotajs=officia nulla'
--data-urlencode 'InformacijaPielasita=2000-01-31T00:00:00'
--data-urlencode 'JurForma=38476014'
--data-urlencode 'IenakumiVaiApgrozijums=ex anim'
--data-urlencode 'R1_1=42218166.32980278'
--data-urlencode 'R1_2=75227735.93781301'
--data-urlencode 'R1_3=-36938341.86132871'
--data-urlencode 'R1=-62757601.076526724'
--data-urlencode 'R2_1=-77330967.79493316'
--data-urlencode 'R2_2=-10825926.554305986'
--data-urlencode 'R2_3=-2846048.4967546463'
--data-urlencode 'R2_4=-75689714.63935238'
--data-urlencode 'R2=-23079162.799611285'
--data-urlencode 'R3={"Kods":"reprehenderit nisi","VardsUzvards":"consectetur eiusmod","IrIpasnieks":false,"IenakMen1":-92217813.66160809,"IenakMen2":-32483874.293691263,"IenakMen3":90935209.33323136}'
--data-urlencode 'R3={"Kods":"fugiat minim ut enim","VardsUzvards":"officia velit in labore id","IrIpasnieks":false,"IenakMen1":61803814.888237655,"IenakMen2":59357414.86875522,"IenakMen3":60881882.93357551}'
--data-urlencode 'NmrKods=esse in'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-99691450'
--data-urlencode 'PrecizejumaPamatojums=pariatur dolor magna'
https://eds.vid.gov.lv/api/doc/mnv4
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"Mikrouzņēmumu nodokļa deklarācija\".",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "consequat ut labore",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "irure do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-82082474",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "1",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "officia nulla",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "38476014",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "ex anim",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "42218166.32980278",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "75227735.93781301",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-36938341.86132871",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-62757601.076526724",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-77330967.79493316",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "-10825926.554305986",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-2846048.4967546463",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "-75689714.63935238",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "-23079162.799611285",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"reprehenderit nisi\",\"VardsUzvards\":\"consectetur eiusmod\",\"IrIpasnieks\":false,\"IenakMen1\":-92217813.66160809,\"IenakMen2\":-32483874.293691263,\"IenakMen3\":90935209.33323136}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"fugiat minim ut enim\",\"VardsUzvards\":\"officia velit in labore id\",\"IrIpasnieks\":false,\"IenakMen1\":61803814.888237655,\"IenakMen2\":59357414.86875522,\"IenakMen3\":60881882.93357551}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "esse in ",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-99691450",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "pariatur dolor magna",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Created",
"code": 201,
"_postman_previewlanguage": "json",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"cookie": [
],
"body": "-12855709"
},
{
"name": "Pieprasījuma dati ir kļūdaini.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Bad Request",
"code": 400,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājs nav autentificēts.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Unauthorized",
"code": 401,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Lietotājam nav tiesību veikt šo darbību.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Forbidden",
"code": 403,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Dokumenta unikalitātes ierobežojums. Dokuments par norādīto periodu jau izveidots. Lai izveidotu atkārtoti, izmantojiet jaunu drošības talonu.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Conflict",
"code": 409,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
},
{
"name": "Pārsniegts izsaukumu skaita ierobežojums.",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "in aliqua nulla dolor",
"description": "(Required) Epasta adrese."
},
{
"key": "Talrunis",
"value": "est ad",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Gads",
"value": "-81596535",
"description": "(Required) Taksācijas gads."
},
{
"key": "Ceturksnis",
"value": "3",
"description": "(Required) Gets or sets the taks ceturksnis."
},
{
"key": "Sagatavotajs",
"value": "Duis cupidatat quis ad",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "InformacijaPielasita",
"value": "2000-01-31T00:00:00",
"description": "Informācija pielasīta."
},
{
"key": "JurForma",
"value": "-1102520",
"description": "Mikrouzņēmuma juridiskā forma."
},
{
"key": "IenakumiVaiApgrozijums",
"value": "tempor",
"description": "Pazīme ienākumi vai apgrozījums."
},
{
"key": "R1_1",
"value": "-61866154.619243205",
"description": "R1.1 - ievadlauks."
},
{
"key": "R1_2",
"value": "20670242.030923754",
"description": "R1.2 - ievadlauks."
},
{
"key": "R1_3",
"value": "-91050245.28189225",
"description": "R1.3 - ievadlauks."
},
{
"key": "R1",
"value": "-66719816.48382923",
"description": "R1 - izvadlauks."
},
{
"key": "R2_1",
"value": "-63420230.898664",
"description": "R2.1 - izvadlauks."
},
{
"key": "R2_2",
"value": "94264212.90629658",
"description": "R2.2 - izvadlauks."
},
{
"key": "R2_3",
"value": "-51711062.359880745",
"description": "R2.3 - izvadlauks."
},
{
"key": "R2_4",
"value": "56689192.68697977",
"description": "R2.4 - izvadlauks."
},
{
"key": "R2",
"value": "87814110.32178745",
"description": "R2 - izvadlauks."
},
{
"key": "R3",
"value": "{\"Kods\":\"in ad nulla\",\"VardsUzvards\":\"sed qui ut\",\"IrIpasnieks\":true,\"IenakMen1\":-7632697.411665395,\"IenakMen2\":-60896869.89908989,\"IenakMen3\":-40695212.12097533}",
"description": "R3 - tabula."
},
{
"key": "R3",
"value": "{\"Kods\":\"proident esse\",\"VardsUzvards\":\"dolore ut\",\"IrIpasnieks\":false,\"IenakMen1\":-15133888.122034073,\"IenakMen2\":-47519155.8446757,\"IenakMen3\":-63319898.77108031}",
"description": "R3 - tabula."
},
{
"key": "NmrKods",
"value": "inci",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-65916999",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "minim",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/mnv4",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"mnv4"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}