Chilkat Online Tools

SQL Server / EDS API / Izveidot dokumentu "Sezonas laukstrādnieku ienākuma nodokļa maksātāju ziņojums".

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', 'in in'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskGads', '83772881'

    DECLARE @jsonParam3 int
    -- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam3 OUT

    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'NsKods', ''
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'NsVardsUzvards', 'Ut et adipisicing'
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'NsDarbIenakumi', '79738068.53705549'
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'NsAprDarbIenNod', '99230447.92977914'
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'NsAprDarbIenNodVsaa', '95483030.49111432'
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'NsAprDarbIenNodIin', '87126083.0950822'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'NsNodPerSakums', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'NsNodPerBeigas', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam3, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Rows', @sTmp0

    DECLARE @jsonParam4 int
    -- Use "Chilkat_9_5_0.JsonObject" for versions of Chilkat < 10.0.0
    EXEC @hr = sp_OACreate 'Chilkat.JsonObject', @jsonParam4 OUT

    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'NsKods', 'in mollit'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'NsVardsUzvards', 'Excepteur'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'NsDarbIenakumi', '32892900.47157398'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'NsAprDarbIenNod', '-59277302.18656078'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'NsAprDarbIenNodVsaa', '-1755538.9136055112'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'NsAprDarbIenNodIin', '-92412649.47660497'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'NsNodPerSakums', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'NsNodPerBeigas', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam4, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Rows', @sTmp0
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'nostrud elit'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'commodo'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'ParskMen', 'est occaecat'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'd'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-43493159'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'aute exercitation'

    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/zslv1', @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 @jsonParam3
        EXEC @hr = sp_OADestroy @jsonParam4
        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 @jsonParam3
        EXEC @hr = sp_OADestroy @jsonParam4
        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 @jsonParam3
    EXEC @hr = sp_OADestroy @jsonParam4
    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=in in'
	--data-urlencode 'ParskGads=83772881'
	--data-urlencode 'Rows={"NsKods":"","NsVardsUzvards":"Ut et adipisicing","NsDarbIenakumi":79738068.53705549,"NsAprDarbIenNod":99230447.92977914,"NsAprDarbIenNodVsaa":95483030.49111432,"NsAprDarbIenNodIin":87126083.0950822,"NsNodPerSakums":"2000-01-31T00:00:00","NsNodPerBeigas":"2000-01-31T00:00:00"}'
	--data-urlencode 'Rows={"NsKods":"in mollit","NsVardsUzvards":"Excepteur","NsDarbIenakumi":32892900.47157398,"NsAprDarbIenNod":-59277302.18656078,"NsAprDarbIenNodVsaa":-1755538.9136055112,"NsAprDarbIenNodIin":-92412649.47660497,"NsNodPerSakums":"2000-01-31T00:00:00","NsNodPerBeigas":"2000-01-31T00:00:00"}'
	--data-urlencode 'Talrunis=nostrud elit'
	--data-urlencode 'Sagatavotajs=commodo'
	--data-urlencode 'ParskMen=est occaecat'
	--data-urlencode 'NmrKods=d'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-43493159'
	--data-urlencode 'PrecizejumaPamatojums=aute exercitation'
https://eds.vid.gov.lv/api/doc/zslv1

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Sezonas laukstrādnieku ienākuma nodokļa maksātāju ziņojums\".",
  "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": "in in",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "ParskGads",
          "value": "83772881",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Rows",
          "value": "{\"NsKods\":\"\",\"NsVardsUzvards\":\"Ut et adipisicing\",\"NsDarbIenakumi\":79738068.53705549,\"NsAprDarbIenNod\":99230447.92977914,\"NsAprDarbIenNodVsaa\":95483030.49111432,\"NsAprDarbIenNodIin\":87126083.0950822,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
          "description": "Iegūst vai uzstāda dokumenta rindas."
        },
        {
          "key": "Rows",
          "value": "{\"NsKods\":\"in mollit\",\"NsVardsUzvards\":\"Excepteur\",\"NsDarbIenakumi\":32892900.47157398,\"NsAprDarbIenNod\":-59277302.18656078,\"NsAprDarbIenNodVsaa\":-1755538.9136055112,\"NsAprDarbIenNodIin\":-92412649.47660497,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
          "description": "Iegūst vai uzstāda dokumenta rindas."
        },
        {
          "key": "Talrunis",
          "value": "nostrud elit",
          "description": "Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "commodo",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "ParskMen",
          "value": "est occaecat",
          "description": "Taksācijas mēneša kods (01-12)."
        },
        {
          "key": "NmrKods",
          "value": "d",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-43493159",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "aute exercitation",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/zslv1",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "zslv1"
      ]
    }
  },
  "response": [
    {
      "name": "Izveidotā dokumenta numurs.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "25210683"
    },
    {
      "name": "Pieprasījuma dati ir kļūdaini.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "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": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "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": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "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": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "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": "mollit adipisicing par",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "ParskGads",
              "value": "83874150",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ad ulla\",\"NsVardsUzvards\":\"mollit minim Ut\",\"NsDarbIenakumi\":61525570.349401355,\"NsAprDarbIenNod\":-66988745.410857305,\"NsAprDarbIenNodVsaa\":79966060.38369602,\"NsAprDarbIenNodIin\":-59221283.098910995,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Rows",
              "value": "{\"NsKods\":\"ea q\",\"NsVardsUzvards\":\"cillum sunt\",\"NsDarbIenakumi\":-49442409.92055273,\"NsAprDarbIenNod\":-93591068.7565555,\"NsAprDarbIenNodVsaa\":27644731.465948164,\"NsAprDarbIenNodIin\":47123246.07144591,\"NsNodPerSakums\":\"2000-01-31T00:00:00\",\"NsNodPerBeigas\":\"2000-01-31T00:00:00\"}",
              "description": "Iegūst vai uzstāda dokumenta rindas."
            },
            {
              "key": "Talrunis",
              "value": "inc",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "sunt adipisicing minim nostrud fugiat",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "ParskMen",
              "value": "culpa id",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "co",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-60976858",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "do elit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/zslv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "zslv1"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}