Chilkat Online Tools

SQL Server / EDS API / Izveidot dokumentu "IeIeN avansa maksājumu aprēķins no saimnieciskās darbības".

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, 'ParskGads', '-83951702'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Epasts', 'irure'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'non sed'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'qui nisi fugiat irure cillum'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizetsAvanss', 'true'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Gramatina', 'true'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pirmstaksac', '-54588698.64014355'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Prognoze', '97569849.08257464'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NeaplMin', '-49770640.77327245'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Atvieglojumi', '30978332.25873421'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Papildu', '87746908.73043701'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Ienakums', '-29782402.252732918'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Summa1', '-93290287.22262941'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Summa2', '72123630.9810856'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Avanss', '26577345.621076003'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Maksat', '43685698.03802377'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Maijam', '23069235.365286157'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Augustam', '24463852.92602402'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Novembrim', '-8773589.000599638'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NakGadam', '-10846760.263477325'

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

    EXEC sp_OAMethod @jsonParam21, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam21, 'UpdateString', @success OUT, 'Komentars', 'pariatur Duis'
    EXEC sp_OAMethod @jsonParam21, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0

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

    EXEC sp_OAMethod @jsonParam22, 'UpdateString', @success OUT, 'Fails.value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam22, 'UpdateString', @success OUT, 'Komentars', 'ullamco sint consectetur amet Duis'
    EXEC sp_OAMethod @jsonParam22, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Pielikumi', @sTmp0
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'MaksajumuDatumuNobide', 'false'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'amet'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'true'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '24369404'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'veniam'

    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/avav3', @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 @jsonParam21
        EXEC @hr = sp_OADestroy @jsonParam22
        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 @jsonParam21
        EXEC @hr = sp_OADestroy @jsonParam22
        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 @jsonParam21
    EXEC @hr = sp_OADestroy @jsonParam22
    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 'ParskGads=-83951702'
	--data-urlencode 'Epasts=irure'
	--data-urlencode 'Talrunis=non sed'
	--data-urlencode 'Sagatavotajs=qui nisi fugiat irure cillum'
	--data-urlencode 'PrecizetsAvanss=true'
	--data-urlencode 'Gramatina=true'
	--data-urlencode 'Pirmstaksac=-54588698.64014355'
	--data-urlencode 'Prognoze=97569849.08257464'
	--data-urlencode 'NeaplMin=-49770640.77327245'
	--data-urlencode 'Atvieglojumi=30978332.25873421'
	--data-urlencode 'Papildu=87746908.73043701'
	--data-urlencode 'Ienakums=-29782402.252732918'
	--data-urlencode 'Summa1=-93290287.22262941'
	--data-urlencode 'Summa2=72123630.9810856'
	--data-urlencode 'Avanss=26577345.621076003'
	--data-urlencode 'Maksat=43685698.03802377'
	--data-urlencode 'Maijam=23069235.365286157'
	--data-urlencode 'Augustam=24463852.92602402'
	--data-urlencode 'Novembrim=-8773589.000599638'
	--data-urlencode 'NakGadam=-10846760.263477325'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"pariatur Duis"}'
	--data-urlencode 'Pielikumi={"Fails":{"value":"<Error: Too many levels of nesting to fake this schema>"},"Komentars":"ullamco sint consectetur amet Duis"}'
	--data-urlencode 'MaksajumuDatumuNobide=false'
	--data-urlencode 'NmrKods=amet'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=24369404'
	--data-urlencode 'PrecizejumaPamatojums=veniam'
https://eds.vid.gov.lv/api/doc/avav3

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"IeIeN avansa maksājumu aprēķins no saimnieciskās darbības\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "ParskGads",
          "value": "-83951702",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "irure ",
          "description": "(Required) Iesniedzēja epasts."
        },
        {
          "key": "Talrunis",
          "value": "non sed",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "qui nisi fugiat irure cillum",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "PrecizetsAvanss",
          "value": "true",
          "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
        },
        {
          "key": "Gramatina",
          "value": "true",
          "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
        },
        {
          "key": "Pirmstaksac",
          "value": "-54588698.64014355"
        },
        {
          "key": "Prognoze",
          "value": "97569849.08257464"
        },
        {
          "key": "NeaplMin",
          "value": "-49770640.77327245"
        },
        {
          "key": "Atvieglojumi",
          "value": "30978332.25873421"
        },
        {
          "key": "Papildu",
          "value": "87746908.73043701"
        },
        {
          "key": "Ienakums",
          "value": "-29782402.252732918"
        },
        {
          "key": "Summa1",
          "value": "-93290287.22262941"
        },
        {
          "key": "Summa2",
          "value": "72123630.9810856"
        },
        {
          "key": "Avanss",
          "value": "26577345.621076003"
        },
        {
          "key": "Maksat",
          "value": "43685698.03802377"
        },
        {
          "key": "Maijam",
          "value": "23069235.365286157"
        },
        {
          "key": "Augustam",
          "value": "24463852.92602402"
        },
        {
          "key": "Novembrim",
          "value": "-8773589.000599638"
        },
        {
          "key": "NakGadam",
          "value": "-10846760.263477325"
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"pariatur Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "Pielikumi",
          "value": "{\"Fails\":{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},\"Komentars\":\"ullamco sint consectetur amet Duis\"}",
          "description": "Pielikumu faili."
        },
        {
          "key": "MaksajumuDatumuNobide",
          "value": "false",
          "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
        },
        {
          "key": "NmrKods",
          "value": "amet",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "24369404",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "veniam",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/avav3",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "avav3"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "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": "ParskGads",
              "value": "11820102",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "non",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "d",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "elit nisi",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "PrecizetsAvanss",
              "value": "true",
              "description": "Atzīmē, ja avansa aprēķins tiek precizēts."
            },
            {
              "key": "Gramatina",
              "value": "true",
              "description": "Atzīmē, ja algas nodokļu grāmatiņa nav iesniegta citā ienākumu gūšanas vietā."
            },
            {
              "key": "Pirmstaksac",
              "value": "7103892.469635427"
            },
            {
              "key": "Prognoze",
              "value": "8514531.330238253"
            },
            {
              "key": "NeaplMin",
              "value": "54068932.284617245"
            },
            {
              "key": "Atvieglojumi",
              "value": "-85268066.11466932"
            },
            {
              "key": "Papildu",
              "value": "-6810034.78865847"
            },
            {
              "key": "Ienakums",
              "value": "-43354533.69019069"
            },
            {
              "key": "Summa1",
              "value": "-91011212.83737896"
            },
            {
              "key": "Summa2",
              "value": "-33271657.17115359"
            },
            {
              "key": "Avanss",
              "value": "59728917.97418773"
            },
            {
              "key": "Maksat",
              "value": "-47769817.10671375"
            },
            {
              "key": "Maijam",
              "value": "83069445.01797524"
            },
            {
              "key": "Augustam",
              "value": "-61569402.2848507"
            },
            {
              "key": "Novembrim",
              "value": "22547570.178499714"
            },
            {
              "key": "NakGadam",
              "value": "-82144116.73096827"
            },
            {
              "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\":\"proident amet qui\"}",
              "description": "Pielikumu 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\":\"cupidatat labore dolor\"}",
              "description": "Pielikumu faili."
            },
            {
              "key": "MaksajumuDatumuNobide",
              "value": "false",
              "description": "Vai R9_2 un R9_2 maksājumu datumi jāpāgarina par mēnesi"
            },
            {
              "key": "NmrKods",
              "value": "adipisic",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "16880507",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "cillum eiusmod nostrud",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/avav3",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "avav3"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}