Chilkat Online Tools

SQL Server / EDS API / Izveidot dokumentu "PVN 3: Labojumu pārskats par preču piegādēm un sniegtajiem pakalpojumiem Eiropas Savienības teritorijā".

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', 'aute'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'a'

    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, 'UpdateInt', @success OUT, 'LabojumaVeids', 41999221
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'VecsTaksacijasPeriods', 'enim labore in mollit Ut'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'VecsValsts', 'mollit'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'VecsPVNRegistracijasNumurs', ''
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'VecsSumma', '-81557538.86355321'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'VecsPazime', 'ut aliquip tempor nisi'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'VecsDarijumaPartneraPVNRegistracijasNumurs', 'Lor'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'JaunsTaksacijasPeriods', 'deserunt tempor in ullamco'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'JaunsValsts', 'est exercitation esse qui eiusmod'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'JaunsPVNRegistracijasNumurs', 'ut incididu'
    EXEC sp_OAMethod @jsonParam3, 'UpdateNumber', @success OUT, 'JaunsSumma', '60562079.817480266'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'JaunsPazime', 'est officia enim dolor'
    EXEC sp_OAMethod @jsonParam3, 'UpdateString', @success OUT, 'JaunsDarijumaPartneraPVNRegistracijasNumurs', 'ut in'
    EXEC sp_OAMethod @jsonParam3, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @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, 'UpdateInt', @success OUT, 'LabojumaVeids', 11323859
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'VecsTaksacijasPeriods', 'ipsum aliquip pariatu'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'VecsValsts', 'sed'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'VecsPVNRegistracijasNumurs', 'dolor'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'VecsSumma', '-78847567.37177794'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'VecsPazime', 'i'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'VecsDarijumaPartneraPVNRegistracijasNumurs', 'co'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'JaunsTaksacijasPeriods', 'proident voluptate labore do'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'JaunsValsts', 'velit nostrud culpa amet'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'JaunsPVNRegistracijasNumurs', 'exe'
    EXEC sp_OAMethod @jsonParam4, 'UpdateNumber', @success OUT, 'JaunsSumma', '14902362.940973029'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'JaunsPazime', 'dolore cillum do'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'JaunsDarijumaPartneraPVNRegistracijasNumurs', 'elit'
    EXEC sp_OAMethod @jsonParam4, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Tabula', @sTmp0
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'volupta'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'true'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '69953397'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'proident ea reprehenderit'

    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/pvn3v2', @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=aute'
	--data-urlencode 'Talrunis=a'
	--data-urlencode 'Tabula={"LabojumaVeids":41999221,"VecsTaksacijasPeriods":"enim labore in mollit Ut","VecsValsts":"mollit","VecsPVNRegistracijasNumurs":"","VecsSumma":-81557538.86355321,"VecsPazime":"ut aliquip tempor nisi","VecsDarijumaPartneraPVNRegistracijasNumurs":"Lor","JaunsTaksacijasPeriods":"deserunt tempor in ullamco","JaunsValsts":"est exercitation esse qui eiusmod","JaunsPVNRegistracijasNumurs":"ut incididu","JaunsSumma":60562079.817480266,"JaunsPazime":"est officia enim dolor","JaunsDarijumaPartneraPVNRegistracijasNumurs":"ut in"}'
	--data-urlencode 'Tabula={"LabojumaVeids":11323859,"VecsTaksacijasPeriods":"ipsum aliquip pariatu","VecsValsts":"sed","VecsPVNRegistracijasNumurs":"dolor","VecsSumma":-78847567.37177794,"VecsPazime":"i","VecsDarijumaPartneraPVNRegistracijasNumurs":"co","JaunsTaksacijasPeriods":"proident voluptate labore do","JaunsValsts":"velit nostrud culpa amet","JaunsPVNRegistracijasNumurs":"exe","JaunsSumma":14902362.940973029,"JaunsPazime":"dolore cillum do","JaunsDarijumaPartneraPVNRegistracijasNumurs":"elit"}'
	--data-urlencode 'NmrKods=volupta'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=69953397'
	--data-urlencode 'PrecizejumaPamatojums=proident ea reprehenderit'
https://eds.vid.gov.lv/api/doc/pvn3v2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"PVN 3: Labojumu pārskats par preču piegādēm un sniegtajiem pakalpojumiem Eiropas Savienības teritorijā\".",
  "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": "aute",
          "description": "(Required) Iesniedzēja epasts."
        },
        {
          "key": "Talrunis",
          "value": "a",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "Tabula",
          "value": "{\"LabojumaVeids\":41999221,\"VecsTaksacijasPeriods\":\"enim labore in mollit Ut\",\"VecsValsts\":\"mollit\",\"VecsPVNRegistracijasNumurs\":\"\",\"VecsSumma\":-81557538.86355321,\"VecsPazime\":\"ut aliquip tempor nisi\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"Lor\",\"JaunsTaksacijasPeriods\":\"deserunt tempor in ullamco\",\"JaunsValsts\":\"est exercitation esse qui eiusmod\",\"JaunsPVNRegistracijasNumurs\":\"ut incididu\",\"JaunsSumma\":60562079.817480266,\"JaunsPazime\":\"est officia enim dolor\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"ut in\"}",
          "description": "Personu tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"LabojumaVeids\":11323859,\"VecsTaksacijasPeriods\":\"ipsum aliquip pariatu\",\"VecsValsts\":\"sed\",\"VecsPVNRegistracijasNumurs\":\"dolor\",\"VecsSumma\":-78847567.37177794,\"VecsPazime\":\"i\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"co\",\"JaunsTaksacijasPeriods\":\"proident voluptate labore do\",\"JaunsValsts\":\"velit nostrud culpa amet\",\"JaunsPVNRegistracijasNumurs\":\"exe\",\"JaunsSumma\":14902362.940973029,\"JaunsPazime\":\"dolore cillum do\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"elit\"}",
          "description": "Personu tabula."
        },
        {
          "key": "NmrKods",
          "value": "volupta",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "69953397",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "proident ea reprehenderit",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/pvn3v2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "pvn3v2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "status": "Created",
      "code": 201,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "-12855709"
    },
    {
      "name": "Pieprasījuma dati ir kļūdaini.",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "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": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "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": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "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": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "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": "velit commodo",
              "description": "(Required) Iesniedzēja epasts."
            },
            {
              "key": "Talrunis",
              "value": "est qui",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":44492376,\"VecsTaksacijasPeriods\":\"magna quis Ut aliqua\",\"VecsValsts\":\"occaecat officia velit\",\"VecsPVNRegistracijasNumurs\":\"proident sit \",\"VecsSumma\":45972248.98549461,\"VecsPazime\":\"in velit eiusmod\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"anim\",\"JaunsTaksacijasPeriods\":\"enim ea dolore\",\"JaunsValsts\":\"laboris aliqua ip\",\"JaunsPVNRegistracijasNumurs\":\"amet\",\"JaunsSumma\":35013079.82579678,\"JaunsPazime\":\"do nulla\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"occaecat\"}",
              "description": "Personu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"LabojumaVeids\":23958622,\"VecsTaksacijasPeriods\":\"Duis \",\"VecsValsts\":\"culpa enim consectetur adipisicing\",\"VecsPVNRegistracijasNumurs\":\"c\",\"VecsSumma\":30119157.947111353,\"VecsPazime\":\"ut qui\",\"VecsDarijumaPartneraPVNRegistracijasNumurs\":\"minim consect\",\"JaunsTaksacijasPeriods\":\"enim pariatur Excepteur dolore\",\"JaunsValsts\":\"sunt commod\",\"JaunsPVNRegistracijasNumurs\":\"sunt\",\"JaunsSumma\":61898190.417714626,\"JaunsPazime\":\"culpa enim ea et\",\"JaunsDarijumaPartneraPVNRegistracijasNumurs\":\"dolore \"}",
              "description": "Personu tabula."
            },
            {
              "key": "NmrKods",
              "value": "enim su",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "51267526",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "et ad pariatur quis",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvn3v2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvn3v2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}