Chilkat Online Tools

SQL Server / EDS API / Izveidot dokumentu "Pārskats par nekustamā īpašuma nodokļa atlaižu piemēroš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, 'TaksNo', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'TaksLidz', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Epasts', 'nisi aliqua exercitation i'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'ut Du'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Sagatavotajs', 'qui sint eu minim velit'

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

    EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'NmrKods', 'exercit'
    EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'NmrNos', 'laboris minim'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'AprNodoklis', '64436936.639737606'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'PasvAtlaide10p', '57151730.73127589'
    EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'Ieguldijumi[0].value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'Ieguldijumi[1].value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam6, 'UpdateString', @success OUT, 'IeguldNos', 'magna'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'LikAtlaide6p', '-96708705.09289923'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'PasvAtlaide6p', '-67378075.7604864'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'PasvSamAtlaide6p', '48176826.36900696'
    EXEC sp_OAMethod @jsonParam6, 'UpdateNumber', @success OUT, 'PapildusSumma', '-95173907.17047283'
    EXEC sp_OAMethod @jsonParam6, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0

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

    EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'NmrKods', 'sit'
    EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'NmrNos', 'mollit quis'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'AprNodoklis', '-35069126.74183789'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'PasvAtlaide10p', '-80664557.63724849'
    EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'Ieguldijumi[0].value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'Ieguldijumi[1].value', '<Error: Too many levels of nesting to fake this schema>'
    EXEC sp_OAMethod @jsonParam7, 'UpdateString', @success OUT, 'IeguldNos', 'eiusmod irure'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'LikAtlaide6p', '6480994.27095668'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'PasvAtlaide6p', '-34211698.40032814'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'PasvSamAtlaide6p', '12212589.175849333'
    EXEC sp_OAMethod @jsonParam7, 'UpdateNumber', @success OUT, 'PapildusSumma', '59736170.70152205'
    EXEC sp_OAMethod @jsonParam7, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'nos'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'false'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '52429257'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'non id labo'

    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/ninav2', @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 @jsonParam6
        EXEC @hr = sp_OADestroy @jsonParam7
        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 @jsonParam6
        EXEC @hr = sp_OADestroy @jsonParam7
        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 @jsonParam6
    EXEC @hr = sp_OADestroy @jsonParam7
    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 'TaksNo=2000-01-31T00:00:00'
	--data-urlencode 'TaksLidz=2000-01-31T00:00:00'
	--data-urlencode 'Epasts=nisi aliqua exercitation i'
	--data-urlencode 'Talrunis=ut Du'
	--data-urlencode 'Sagatavotajs=qui sint eu minim velit'
	--data-urlencode 'Tabula={"NmrKods":"exercit","NmrNos":"laboris minim","AprNodoklis":64436936.639737606,"PasvAtlaide10p":57151730.73127589,"Ieguldijumi":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"IeguldNos":"magna","LikAtlaide6p":-96708705.09289923,"PasvAtlaide6p":-67378075.7604864,"PasvSamAtlaide6p":48176826.36900696,"PapildusSumma":-95173907.17047283}'
	--data-urlencode 'Tabula={"NmrKods":"sit","NmrNos":"mollit quis","AprNodoklis":-35069126.74183789,"PasvAtlaide10p":-80664557.63724849,"Ieguldijumi":[{"value":"<Error: Too many levels of nesting to fake this schema>"},{"value":"<Error: Too many levels of nesting to fake this schema>"}],"IeguldNos":"eiusmod irure","LikAtlaide6p":6480994.27095668,"PasvAtlaide6p":-34211698.40032814,"PasvSamAtlaide6p":12212589.175849333,"PapildusSumma":59736170.70152205}'
	--data-urlencode 'NmrKods=nos'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=52429257'
	--data-urlencode 'PrecizejumaPamatojums=non id labo'
https://eds.vid.gov.lv/api/doc/ninav2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Pārskats par nekustamā īpašuma nodokļa atlaižu piemērošanu\".",
  "request": {
    "method": "POST",
    "header": [
      {
        "key": "Content-Type",
        "value": "application/x-www-form-urlencoded"
      },
      {
        "key": "Accept",
        "value": "application/json"
      }
    ],
    "body": {
      "mode": "urlencoded",
      "urlencoded": [
        {
          "key": "TaksNo",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Gets or sets the taxation date from."
        },
        {
          "key": "TaksLidz",
          "value": "2000-01-31T00:00:00",
          "description": "(Required) Gets or sets the taxation date to."
        },
        {
          "key": "Epasts",
          "value": "nisi aliqua exercitation i",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "ut Du",
          "description": "Iesniedzēja tālrunis."
        },
        {
          "key": "Sagatavotajs",
          "value": "qui sint eu minim velit",
          "description": "Sagatavotāja vārds, uzvārds."
        },
        {
          "key": "Tabula",
          "value": "{\"NmrKods\":\"exercit\",\"NmrNos\":\"laboris minim\",\"AprNodoklis\":64436936.639737606,\"PasvAtlaide10p\":57151730.73127589,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"magna\",\"LikAtlaide6p\":-96708705.09289923,\"PasvAtlaide6p\":-67378075.7604864,\"PasvSamAtlaide6p\":48176826.36900696,\"PapildusSumma\":-95173907.17047283}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"NmrKods\":\"sit\",\"NmrNos\":\"mollit quis\",\"AprNodoklis\":-35069126.74183789,\"PasvAtlaide10p\":-80664557.63724849,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"eiusmod irure\",\"LikAtlaide6p\":6480994.27095668,\"PasvAtlaide6p\":-34211698.40032814,\"PasvSamAtlaide6p\":12212589.175849333,\"PapildusSumma\":59736170.70152205}",
          "description": "Dokumenta tabula."
        },
        {
          "key": "NmrKods",
          "value": "nos",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "52429257",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "non id labo",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/ninav2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "ninav2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "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": "TaksNo",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date from."
            },
            {
              "key": "TaksLidz",
              "value": "2000-01-31T00:00:00",
              "description": "(Required) Gets or sets the taxation date to."
            },
            {
              "key": "Epasts",
              "value": "aute lab",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "magna u",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "Sagatavotajs",
              "value": "incididunt eiusmod cupidatat nulla",
              "description": "Sagatavotāja vārds, uzvārds."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"consec\",\"NmrNos\":\"con\",\"AprNodoklis\":50560659.82315281,\"PasvAtlaide10p\":-78392666.7492667,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"sit\",\"LikAtlaide6p\":-62707896.06006124,\"PasvAtlaide6p\":37325440.96415785,\"PasvSamAtlaide6p\":14736370.061717793,\"PapildusSumma\":37793915.50891346}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"NmrKods\":\"volupta\",\"NmrNos\":\"voluptate pariatur cupidatat officia\",\"AprNodoklis\":-70191277.14254871,\"PasvAtlaide10p\":32226140.278763264,\"Ieguldijumi\":[{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"},{\"value\":\"<Error: Too many levels of nesting to fake this schema>\"}],\"IeguldNos\":\"ex est cillum\",\"LikAtlaide6p\":-96199646.55021524,\"PasvAtlaide6p\":32684607.872767165,\"PasvSamAtlaide6p\":61675134.135974735,\"PapildusSumma\":88361937.92984694}",
              "description": "Dokumenta tabula."
            },
            {
              "key": "NmrKods",
              "value": "dolore",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "true",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-29759860",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "consequat nisi Ut ad reprehenderit",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/ninav2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "ninav2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}