SQL Server / EDS API / Izveidot dokumentu "Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)".
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, 'Talrunis', 'officia'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Epasts', 'sed Duis ipsum velit'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmVeids', 'consectetur eiusmod'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'in dolor fugiat'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'LikmesDatums', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecuGrupas', 'Lorem ipsum in eiusmod Duis'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'InvDatums', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'MaksTermins', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmAkcNumuri', 'exercitation proident amet minim'
DECLARE @jsonParam10 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam10 OUT
EXEC sp_OAMethod @jsonParam10, 'UpdateInt', @success OUT, 'LikmeId', 19045861
EXEC sp_OAMethod @jsonParam10, 'UpdateString', @success OUT, 'Kods', 'ea eiusmod minim'
EXEC sp_OAMethod @jsonParam10, 'UpdateNumber', @success OUT, 'K3', '99072710.93324569'
EXEC sp_OAMethod @jsonParam10, 'UpdateNumber', @success OUT, 'K4', '-52288543.80061416'
EXEC sp_OAMethod @jsonParam10, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
DECLARE @jsonParam11 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam11 OUT
EXEC sp_OAMethod @jsonParam11, 'UpdateInt', @success OUT, 'LikmeId', 58464960
EXEC sp_OAMethod @jsonParam11, 'UpdateString', @success OUT, 'Kods', 'incididunt ad elit dolore'
EXEC sp_OAMethod @jsonParam11, 'UpdateNumber', @success OUT, 'K3', '-66438685.93992628'
EXEC sp_OAMethod @jsonParam11, 'UpdateNumber', @success OUT, 'K4', '-76963244.11346848'
EXEC sp_OAMethod @jsonParam11, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
DECLARE @jsonParam12 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam12 OUT
EXEC sp_OAMethod @jsonParam12, 'UpdateString', @success OUT, 'Dokuments', 'tempor reprehenderit'
EXEC sp_OAMethod @jsonParam12, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
EXEC sp_OAMethod @jsonParam12, 'UpdateString', @success OUT, 'Komentars', 'ex ullamco sint dolor'
EXEC sp_OAMethod @jsonParam12, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0
DECLARE @jsonParam13 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam13 OUT
EXEC sp_OAMethod @jsonParam13, 'UpdateString', @success OUT, 'Dokuments', 'incididunt'
EXEC sp_OAMethod @jsonParam13, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
EXEC sp_OAMethod @jsonParam13, 'UpdateString', @success OUT, 'Komentars', 'quis deserunt est laboris'
EXEC sp_OAMethod @jsonParam13, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'in'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-79541863'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'Lorem ut sed'
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/aniav3', @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 @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam13
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 @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam13
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 @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam13
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 'Talrunis=officia'
--data-urlencode 'Epasts=sed Duis ipsum velit'
--data-urlencode 'NmVeids=consectetur eiusmod'
--data-urlencode 'Sagatavotajs=in dolor fugiat'
--data-urlencode 'LikmesDatums=2000-01-31T00:00:00'
--data-urlencode 'PrecuGrupas=Lorem ipsum in eiusmod Duis'
--data-urlencode 'InvDatums=2000-01-31T00:00:00'
--data-urlencode 'MaksTermins=2000-01-31T00:00:00'
--data-urlencode 'NmAkcNumuri=exercitation proident amet minim'
--data-urlencode 'Tabula={"LikmeId":19045861,"Kods":"ea eiusmod minim","K3":99072710.93324569,"K4":-52288543.80061416}'
--data-urlencode 'Tabula={"LikmeId":58464960,"Kods":"incididunt ad elit dolore","K3":-66438685.93992628,"K4":-76963244.11346848}'
--data-urlencode 'Pielikumi={"Dokuments":"tempor reprehenderit","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ex ullamco sint dolor"}'
--data-urlencode 'Pielikumi={"Dokuments":"incididunt","Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"quis deserunt est laboris"}'
--data-urlencode 'NmrKods=in'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-79541863'
--data-urlencode 'PrecizejumaPamatojums=Lorem ut sed'
https://eds.vid.gov.lv/api/doc/aniav3
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"Akcīzes nodokļa aprēķins (likmju maiņas gadījumā)\".",
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"key": "Accept",
"value": "application/json"
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "officia",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "sed Duis ipsum velit",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "consectetur eiusmod",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "in dolor fugiat",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "Lorem ipsum in eiusmod Duis",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "exercitation proident amet minim",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":19045861,\"Kods\":\"ea eiusmod minim\",\"K3\":99072710.93324569,\"K4\":-52288543.80061416}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":58464960,\"Kods\":\"incididunt ad elit dolore\",\"K3\":-66438685.93992628,\"K4\":-76963244.11346848}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"tempor reprehenderit\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ex ullamco sint dolor\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"incididunt\",\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"quis deserunt est laboris\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "in",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-79541863",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "Lorem ut sed",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"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": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"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": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"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": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"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": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"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": "Talrunis",
"value": "cul",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Epasts",
"value": "Ut eu q",
"description": "(Required) Epasta adrese."
},
{
"key": "NmVeids",
"value": "dolore Ut dolor sint",
"description": "(Required) Nodokļa maksātāja veids."
},
{
"key": "Sagatavotajs",
"value": "anim",
"description": "Sagatavotāja vārds, uzvārds."
},
{
"key": "LikmesDatums",
"value": "2000-01-31T00:00:00",
"description": "Nodokļa likmes datums."
},
{
"key": "PrecuGrupas",
"value": "aute incididunt",
"description": "Nodokļa likmes preču grupas kods."
},
{
"key": "InvDatums",
"value": "2000-01-31T00:00:00",
"description": "Inventarizācijas datums."
},
{
"key": "MaksTermins",
"value": "2000-01-31T00:00:00",
"description": "Maksāšanas termiņš."
},
{
"key": "NmAkcNumuri",
"value": "Ut mollit in ex sed",
"description": "Nodokļa maksātāja licences."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":36595467,\"Kods\":\"Lorem \",\"K3\":8035602.526792958,\"K4\":-15821692.419058532}",
"description": "Dokumenta rindas."
},
{
"key": "Tabula",
"value": "{\"LikmeId\":-81895303,\"Kods\":\"enim amet\",\"K3\":-41971694.69063775,\"K4\":85874129.78431109}",
"description": "Dokumenta rindas."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"in proident\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"Duis ipsum elit veniam\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "Pielikumi",
"value": "{\"Dokuments\":\"mollit Lorem\",\"Fails\":{\"Nosaukums\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Saturs\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}},\"Komentars\":\"ex velit\"}",
"description": "Pievienotie attaisnojuma dokumenti."
},
{
"key": "NmrKods",
"value": "sunt ut ad",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "true",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-3355090",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "dolore ex ut",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/aniav3",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"aniav3"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}