SQL Server / EDS API / Izveidot dokumentu "Valsts amatpersonu saraksts".
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', 'ex consectetur cillum pariatur'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'an'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Grozijumi', 'false'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Strukturvieniba', 'irure labore dolore deserunt'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'VaditajaVardsUzvards', 'deserunt'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'VaditajaPersonasKods', 'ut'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'VaditajaAmats', 'n'
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, 'VardsUzvards', 'eu Ut mollit laborum voluptate'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'PersonasKods', 'elit ali'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'DatumsNo', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'Amats', 'ex inc'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'AmataNosaukums', 'dolore'
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'DatumsLidz', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam8, 'UpdateBool', @success OUT, 'Ierednis', 0
EXEC sp_OAMethod @jsonParam8, 'UpdateBool', @success OUT, 'Aizvieto', 1
EXEC sp_OAMethod @jsonParam8, 'UpdateBool', @success OUT, 'Anulet', 0
EXEC sp_OAMethod @jsonParam8, 'UpdateString', @success OUT, 'Hash', 'ea officia ut Duis laborum'
EXEC sp_OAMethod @jsonParam8, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @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, 'VardsUzvards', 'dolore'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'PersonasKods', 'ea'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'DatumsNo', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'Amats', 'irure Ut'
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'AmataNosaukums', 'sit enim ad '
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'DatumsLidz', '2000-01-31T00:00:00'
EXEC sp_OAMethod @jsonParam9, 'UpdateBool', @success OUT, 'Ierednis', 1
EXEC sp_OAMethod @jsonParam9, 'UpdateBool', @success OUT, 'Aizvieto', 1
EXEC sp_OAMethod @jsonParam9, 'UpdateBool', @success OUT, 'Anulet', 1
EXEC sp_OAMethod @jsonParam9, 'UpdateString', @success OUT, 'Hash', 'et ex'
EXEC sp_OAMethod @jsonParam9, 'Emit', @sTmp0 OUT
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'la'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-69142443'
EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'fugiat esse laborum dolor'
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/vasv2', @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 @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 @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 @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 'Epasts=ex consectetur cillum pariatur'
--data-urlencode 'Talrunis=an'
--data-urlencode 'Grozijumi=false'
--data-urlencode 'Strukturvieniba=irure labore dolore deserunt'
--data-urlencode 'VaditajaVardsUzvards=deserunt'
--data-urlencode 'VaditajaPersonasKods=ut'
--data-urlencode 'VaditajaAmats=n'
--data-urlencode 'Tabula={"VardsUzvards":"eu Ut mollit laborum voluptate","PersonasKods":"elit ali","DatumsNo":"2000-01-31T00:00:00","Amats":"ex inc","AmataNosaukums":"dolore","DatumsLidz":"2000-01-31T00:00:00","Ierednis":false,"Aizvieto":true,"Anulet":false,"Hash":"ea officia ut Duis laborum"}'
--data-urlencode 'Tabula={"VardsUzvards":"dolore","PersonasKods":"ea","DatumsNo":"2000-01-31T00:00:00","Amats":"irure Ut","AmataNosaukums":"sit enim ad ","DatumsLidz":"2000-01-31T00:00:00","Ierednis":true,"Aizvieto":true,"Anulet":true,"Hash":"et ex"}'
--data-urlencode 'NmrKods=la'
--data-urlencode 'Precizejums=false'
--data-urlencode 'PrecizejamaisDokuments=-69142443'
--data-urlencode 'PrecizejumaPamatojums=fugiat esse laborum dolor'
https://eds.vid.gov.lv/api/doc/vasv2
Postman Collection Item JSON
{
"name": "Izveidot dokumentu \"Valsts amatpersonu saraksts\".",
"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": "ex consectetur cillum pariatur",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "an",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "irure labore dolore deserunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "deserunt",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ut ",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "n",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"eu Ut mollit laborum voluptate\",\"PersonasKods\":\"elit ali\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"ex inc\",\"AmataNosaukums\":\"dolore\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"ea officia ut Duis laborum\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"dolore\",\"PersonasKods\":\"ea\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"irure Ut\",\"AmataNosaukums\":\"sit enim ad \",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":true,\"Anulet\":true,\"Hash\":\"et ex\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "la",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "-69142443",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "fugiat esse laborum dolor",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"response": [
{
"name": "OK",
"originalRequest": {
"method": "POST",
"header": [
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "Epasts",
"value": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"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": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"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": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"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": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"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": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"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": "dolore ut",
"description": "(Required) Epasts."
},
{
"key": "Talrunis",
"value": "id do",
"description": "(Required) Iesniedzēja tālrunis."
},
{
"key": "Grozijumi",
"value": "false",
"description": "Pazīme - vai iesniedz kā grozījumus."
},
{
"key": "Strukturvieniba",
"value": "sunt",
"description": "Strukturvienības kods."
},
{
"key": "VaditajaVardsUzvards",
"value": "labore tempor",
"description": "Vadītāja vārds, uzvārds."
},
{
"key": "VaditajaPersonasKods",
"value": "ad ex s",
"description": "Vadītāja personas kods."
},
{
"key": "VaditajaAmats",
"value": "cillu",
"description": "Vadītāja amats."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"quis\",\"PersonasKods\":\"Excepteu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"anim minim ipsum cil\",\"AmataNosaukums\":\"qui enim esse commodo\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":false,\"Aizvieto\":true,\"Anulet\":false,\"Hash\":\"deser\"}",
"description": "Dokumenta tabula."
},
{
"key": "Tabula",
"value": "{\"VardsUzvards\":\"reprehende\",\"PersonasKods\":\"pariatu\",\"DatumsNo\":\"2000-01-31T00:00:00\",\"Amats\":\"veniam Ut velit\",\"AmataNosaukums\":\"dolor minim irure\",\"DatumsLidz\":\"2000-01-31T00:00:00\",\"Ierednis\":true,\"Aizvieto\":false,\"Anulet\":false,\"Hash\":\"fugiat\"}",
"description": "Dokumenta tabula."
},
{
"key": "NmrKods",
"value": "adipis",
"description": "Nodokļu maksātāja kods."
},
{
"key": "Precizejums",
"value": "false",
"description": "Vai dokuments ir precizējums."
},
{
"key": "PrecizejamaisDokuments",
"value": "31095946",
"description": "Precizējamā dokumenta numurs."
},
{
"key": "PrecizejumaPamatojums",
"value": "mollit ullamco aliquip",
"description": "Precizējuma pamatojums."
}
]
},
"url": {
"raw": "{{baseUrl}}/api/doc/vasv2",
"host": [
"{{baseUrl}}"
],
"path": [
"api",
"doc",
"vasv2"
]
}
},
"status": "Too Many Requests",
"code": 429,
"_postman_previewlanguage": "text",
"header": [
{
"key": "Content-Type",
"value": "text/plain"
}
],
"cookie": [
],
"body": ""
}
]
}