SQL Server / EDS API / Izveidot dokumentu "Paziņojums par kapitālsabiedrības valsts kapitāla izmantošanu".
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', 'elit dolore'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'SapulceGadaParskats', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'SapulceIzmaksa', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pamatkapitals', '-99036261.72414306'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pelna', '-11490154.151263222'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'IemaksajamaSumma', '-55864444.85890305'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'IemaksasDatums', '2000-01-31T00:00:00'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'TaksGads', '-99517232'
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, 'ValstsParstavis', 'dolor anim in esse'
EXEC sp_OAMethod @jsonParam9, 'UpdateNumber', @success OUT, 'ValstsDala', '13.711984104229247'
EXEC sp_OAMethod @jsonParam9, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ValstsParstavji', @sTmp0
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, 'UpdateString', @success OUT, 'ValstsParstavis', 'magna est'
EXEC sp_OAMethod @jsonParam10, 'UpdateNumber', @success OUT, 'ValstsDala', '82.30702812219945'
EXEC sp_OAMethod @jsonParam10, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'ValstsParstavji', @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, 'UpdateString', @success OUT, 'ValstsKods', 'v'
EXEC sp_OAMethod @jsonParam11, 'UpdateString', @success OUT, 'NmrKods', 'dolore elit ul'
EXEC sp_OAMethod @jsonParam11, 'UpdateString', @success OUT, 'Nosaukums', 'tempor proident id dolor sint'
EXEC sp_OAMethod @jsonParam11, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'MeituSabiedribas', @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, 'ValstsKods', ''
EXEC sp_OAMethod @jsonParam12, 'UpdateString', @success OUT, 'NmrKods', 'et'
EXEC sp_OAMethod @jsonParam12, 'UpdateString', @success OUT, 'Nosaukums', 'voluptate dolore ex nulla aliquip'
EXEC sp_OAMethod @jsonParam12, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'MeituSabiedribas', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PelnaMeitu', '22647801.39513962'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'IenakumuIemaksa', '58056488.78539297'
DECLARE @jsonParam15 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam15 OUT
EXEC sp_OAMethod @jsonParam15, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
EXEC sp_OAMethod @jsonParam15, 'UpdateString', @success OUT, 'Komentars', 'culpa esse'
EXEC sp_OAMethod @jsonParam15, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0
DECLARE @jsonParam16 int
-- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam16 OUT
EXEC sp_OAMethod @jsonParam16, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
EXEC sp_OAMethod @jsonParam16, 'UpdateString', @success OUT, 'Komentars', 'irure tempor elit'
EXEC sp_OAMethod @jsonParam16, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'mag'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-41794357'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'ea dolore et ut ipsum'
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/kvkiv1', @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 @jsonParam9
EXEC @hr = sp_OADestroy @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam15
EXEC @hr = sp_OADestroy @jsonParam16
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 @jsonParam9
EXEC @hr = sp_OADestroy @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam15
EXEC @hr = sp_OADestroy @jsonParam16
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 @jsonParam9
EXEC @hr = sp_OADestroy @jsonParam10
EXEC @hr = sp_OADestroy @jsonParam11
EXEC @hr = sp_OADestroy @jsonParam12
EXEC @hr = sp_OADestroy @jsonParam15
EXEC @hr = sp_OADestroy @jsonParam16
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=elit dolore'
--data-urlencode 'SapulceGadaParskats=2000-01-31T00:00:00'
--data-urlencode 'SapulceIzmaksa=2000-01-31T00:00:00'
--data-urlencode 'Pamatkapitals=-99036261.72414306'
--data-urlencode 'Pelna=-11490154.151263222'
--data-urlencode 'IemaksajamaSumma=-55864444.85890305'
--data-urlencode 'IemaksasDatums=2000-01-31T00:00:00'
--data-urlencode 'TaksGads=-99517232'
--data-urlencode 'ValstsParstavji={"ValstsParstavis":"dolor anim in esse","ValstsDala":13.711984104229247}'
--data-urlencode 'ValstsParstavji={"ValstsParstavis":"magna est","ValstsDala":82.30702812219945}'
--data-urlencode 'MeituSabiedribas={"ValstsKods":"v","NmrKods":"dolore elit ul","Nosaukums":"tempor proident id dolor sint"}'
--data-urlencode 'MeituSabiedribas={"ValstsKods":"","NmrKods":"et","Nosaukums":"voluptate dolore ex nulla aliquip"}'
--data-urlencode 'PelnaMeitu=22647801.39513962'
--data-urlencode 'IenakumuIemaksa=58056488.78539297'
--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"culpa esse"}'
--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"irure tempor elit"}'
--data-urlencode 'NmrKods=mag'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-41794357'
--data-urlencode 'PrecizejumaPamatojums=ea dolore et ut ipsum'
https://eds.vid.gov.lv/api/doc/kvkiv1
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"Paziņojums par kapitālsabiedrības valsts kapitāla izmantošanu\".",
"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": "elit dolore",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "-99036261.72414306",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-11490154.151263222",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "-55864444.85890305",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-99517232",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"dolor anim in esse\",\"ValstsDala\":13.711984104229247}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"magna est\",\"ValstsDala\":82.30702812219945}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"v\",\"NmrKods\":\"dolore elit ul\",\"Nosaukums\":\"tempor proident id dolor sint\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"\",\"NmrKods\":\"et\",\"Nosaukums\":\"voluptate dolore ex nulla aliquip\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "22647801.39513962",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "58056488.78539297",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"culpa esse\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"irure tempor elit\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "mag",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-41794357",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "ea dolore et ut ipsum",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Talrunis",
"value": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"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": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"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": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"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": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"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": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"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": "et dolor ex",
"description": "(Required) Tālrunis."
},
{
"key": "SapulceGadaParskats",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika apstiprināts kapitālsabiedrības gada pārskats."
},
{
"key": "SapulceIzmaksa",
"value": "2000-01-31T00:00:00",
"description": "(Required) Dalībnieku sapulces datums, kad tika pieņemts lēmums par dividendēs izmaksājamo peļņas daļu."
},
{
"key": "Pamatkapitals",
"value": "62193621.61537206",
"description": "(Required) Sabiedrības pamatkapitāls."
},
{
"key": "Pelna",
"value": "-60857204.09293978",
"description": "(Required) Taksācijas gada tīrā peļņa."
},
{
"key": "IemaksajamaSumma",
"value": "8041839.143675134",
"description": "(Required) Iemaksājamā summa."
},
{
"key": "IemaksasDatums",
"value": "2000-01-31T00:00:00",
"description": "(Required) Iemaksas datums (samaksas termiņš)."
},
{
"key": "TaksGads",
"value": "-54619365",
"description": "(Required) Taksācijas gads."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"laboris nisi elit sint\",\"ValstsDala\":34.012039466933565}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "ValstsParstavji",
"value": "{\"ValstsParstavis\":\"Excepteur pariatur aliqua\",\"ValstsDala\":21.824166221790886}",
"description": "Valsts kapitāla daļu turētāja pārstāvis."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"q\",\"NmrKods\":\"veniam culpa\",\"Nosaukums\":\"sed qui veniam\"}",
"description": "Meitu sabiedrības."
},
{
"key": "MeituSabiedribas",
"value": "{\"ValstsKods\":\"la\",\"NmrKods\":\"aliquip\",\"Nosaukums\":\"cillum sed laboris\"}",
"description": "Meitu sabiedrības."
},
{
"key": "PelnaMeitu",
"value": "45262577.44593564",
"description": "t.sk no Meitu sabiedrībām saņemtā."
},
{
"key": "IenakumuIemaksa",
"value": "59476923.46043709",
"description": "UIN no peļņas (saistoša Latvijas Bankai)."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"amet veniam dolore deserunt laboris\"}",
"description": "Pielikuma faili."
},
{
"key": "Pielikumi",
"value": "{\"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\":\"aliquip minim enim\"}",
"description": "Pielikuma faili."
},
{
"key": "NmrKods",
"value": "a",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "61944809",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "cillum incididunt laborum sunt",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/kvkiv1",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"kvkiv1"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}