Chilkat Online Tools

SQL Server / EDS API / Izveidot dokumentu "Informācija par atteiktiem attālinātiem maksājumiem".

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', 'sint qui Ut in'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'TaksGads', '63269840'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Talrunis', 'n'

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

    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'MaksajumaDatums', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'MaksatajaPersonasKods', 'tempor aut'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'MaksatajaVardsUzvards', 'dolore eu exercitation'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'SanemejaNmrKods', 'cul'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'SanemejaNosaukums', 'cupidatat aute Duis'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'Valsts', 'irure'
    EXEC sp_OAMethod @jsonParam4, 'UpdateString', @success OUT, 'Piezimes', 'eu dolor ut'
    EXEC sp_OAMethod @jsonParam4, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'AtteiktieMaksajumi', @sTmp0

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

    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'MaksajumaDatums', '2000-01-31T00:00:00'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'MaksatajaPersonasKods', 'ea conse'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'MaksatajaVardsUzvards', 'labore irure officia adipisicing'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'SanemejaNmrKods', 'se'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'SanemejaNosaukums', 'occaecat cillum aliqua officia'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'Valsts', 'sint'
    EXEC sp_OAMethod @jsonParam5, 'UpdateString', @success OUT, 'Piezimes', 'deserunt cupidatat proident'
    EXEC sp_OAMethod @jsonParam5, 'Emit', @sTmp0 OUT
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'AtteiktieMaksajumi', @sTmp0
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'NmrKods', 'enim deser'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'Precizejums', 'true'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejamaisDokuments', '-52611474'
    EXEC sp_OAMethod @req, 'AddParam', NULL, 'PrecizejumaPamatojums', 'Lorem'

    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/aamv1', @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 @jsonParam4
        EXEC @hr = sp_OADestroy @jsonParam5
        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 @jsonParam4
        EXEC @hr = sp_OADestroy @jsonParam5
        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 @jsonParam4
    EXEC @hr = sp_OADestroy @jsonParam5
    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=sint qui Ut in'
	--data-urlencode 'TaksGads=63269840'
	--data-urlencode 'Talrunis=n'
	--data-urlencode 'AtteiktieMaksajumi={"MaksajumaDatums":"2000-01-31T00:00:00","MaksatajaPersonasKods":"tempor aut","MaksatajaVardsUzvards":"dolore eu exercitation","SanemejaNmrKods":"cul","SanemejaNosaukums":"cupidatat aute Duis","Valsts":"irure","Piezimes":"eu dolor ut"}'
	--data-urlencode 'AtteiktieMaksajumi={"MaksajumaDatums":"2000-01-31T00:00:00","MaksatajaPersonasKods":"ea conse","MaksatajaVardsUzvards":"labore irure officia adipisicing","SanemejaNmrKods":"se","SanemejaNosaukums":"occaecat cillum aliqua officia","Valsts":"sint","Piezimes":"deserunt cupidatat proident"}'
	--data-urlencode 'NmrKods=enim deser'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=-52611474'
	--data-urlencode 'PrecizejumaPamatojums=Lorem'
https://eds.vid.gov.lv/api/doc/aamv1

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Informācija par atteiktiem attālinātiem maksājumiem\".",
  "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": "sint qui Ut in",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "TaksGads",
          "value": "63269840",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Talrunis",
          "value": "n",
          "description": "Iesniedzēja tālrunis."
        },
        {
          "key": "AtteiktieMaksajumi",
          "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"tempor aut\",\"MaksatajaVardsUzvards\":\"dolore eu exercitation\",\"SanemejaNmrKods\":\"cul\",\"SanemejaNosaukums\":\"cupidatat aute Duis\",\"Valsts\":\"irure\",\"Piezimes\":\"eu dolor ut\"}",
          "description": "Atteiktie maksājumi."
        },
        {
          "key": "AtteiktieMaksajumi",
          "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea conse\",\"MaksatajaVardsUzvards\":\"labore irure officia adipisicing\",\"SanemejaNmrKods\":\"se\",\"SanemejaNosaukums\":\"occaecat cillum aliqua officia\",\"Valsts\":\"sint\",\"Piezimes\":\"deserunt cupidatat proident\"}",
          "description": "Atteiktie maksājumi."
        },
        {
          "key": "NmrKods",
          "value": "enim deser",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-52611474",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "Lorem",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/aamv1",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "aamv1"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "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": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "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": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "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": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "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": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "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": "minim sed enim occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "TaksGads",
              "value": "43781410",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Talrunis",
              "value": "do",
              "description": "Iesniedzēja tālrunis."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"ea se\",\"MaksatajaVardsUzvards\":\"ad esse\",\"SanemejaNmrKods\":\"dol\",\"SanemejaNosaukums\":\"esse dolore sunt in\",\"Valsts\":\"id\",\"Piezimes\":\"sint tempor\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "AtteiktieMaksajumi",
              "value": "{\"MaksajumaDatums\":\"2000-01-31T00:00:00\",\"MaksatajaPersonasKods\":\"dolor eni\",\"MaksatajaVardsUzvards\":\"non do ad\",\"SanemejaNmrKods\":\"U\",\"SanemejaNosaukums\":\"reprehenderit esse\",\"Valsts\":\"occaecat fugiat laborum\",\"Piezimes\":\"dolore reprehenderit sint Ut dolore\"}",
              "description": "Atteiktie maksājumi."
            },
            {
              "key": "NmrKods",
              "value": "dolor ",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "47757579",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "enim occaecat consectetur esse",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/aamv1",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "aamv1"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}