Chilkat Online Tools

Foxpro / EDS API / Izveidot dokumentu "IeIeN pārskats par izmaksām nerezidentiem".

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loReq
LOCAL loJsonParam6
LOCAL loJsonParam7
LOCAL loJsonParam8
LOCAL loJsonParam9
LOCAL loResp
LOCAL loSbResponseBody
LOCAL loJResp
LOCAL lnRespStatusCode

* This example assumes the Chilkat API to have been previously unlocked.
* See Global Unlock Sample for sample code.

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.Http')
loHttp = CreateObject('Chilkat.Http')

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.HttpRequest')
loReq = CreateObject('Chilkat.HttpRequest')
loReq.AddParam("ParskGads","27511326")
loReq.AddParam("Epasts","id ad dolor")
loReq.AddParam("Talrunis","enim aute")
loReq.AddParam("ParskMen","non tempor")
loReq.AddParam("NmrKods","")

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJsonParam6 = CreateObject('Chilkat.JsonObject')
loJsonParam6.UpdateString("Vards","minim")
loJsonParam6.UpdateString("Uzvards","ad ex ut")
loJsonParam6.UpdateString("Valsts","consequat est")
loJsonParam6.UpdateString("AdrIela","ipsum quis")
loJsonParam6.UpdateString("AdrPilseta","s")
loJsonParam6.UpdateString("AdrPasts","enim ma")
loJsonParam6.UpdateString("IenVeids","labore ut dolor")
loJsonParam6.UpdateInt("IzmDatums",5)
loJsonParam6.UpdateNumber("IenSumma","68842244.30638918")
loJsonParam6.UpdateNumber("NodLikme","-4532744.78351821")
loJsonParam6.UpdateNumber("NodSumma","-73141137.23149602")
loJsonParam6.UpdateString("CitsPersKods","enim fugiat incididunt nulla est")
loJsonParam6.UpdateString("LrNmrKods","laboris ")
loJsonParam6.UpdateString("DzimDatums","2000-01-31T00:00:00")
loJsonParam6.UpdateString("ATVK","et nisi")
loReq.AddParam("TabulaFP",loJsonParam6.Emit())

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJsonParam7 = CreateObject('Chilkat.JsonObject')
loJsonParam7.UpdateString("Vards","magna voluptate et")
loJsonParam7.UpdateString("Uzvards","id sit dolor")
loJsonParam7.UpdateString("Valsts","ad deserunt dolore nulla")
loJsonParam7.UpdateString("AdrIela","nostrud veniam")
loJsonParam7.UpdateString("AdrPilseta","velit Ut")
loJsonParam7.UpdateString("AdrPasts","Duis incididunt ")
loJsonParam7.UpdateString("IenVeids","aliqua minim Lorem mo")
loJsonParam7.UpdateInt("IzmDatums",17)
loJsonParam7.UpdateNumber("IenSumma","-96377012.18696697")
loJsonParam7.UpdateNumber("NodLikme","72181339.46018353")
loJsonParam7.UpdateNumber("NodSumma","7407312.243400812")
loJsonParam7.UpdateString("CitsPersKods","reprehenderit tempor ullamco laboris eiusmod")
loJsonParam7.UpdateString("LrNmrKods","cill")
loJsonParam7.UpdateString("DzimDatums","2000-01-31T00:00:00")
loJsonParam7.UpdateString("ATVK","do m")
loReq.AddParam("TabulaFP",loJsonParam7.Emit())

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJsonParam8 = CreateObject('Chilkat.JsonObject')
loJsonParam8.UpdateString("Valsts","sint sed dolore")
loJsonParam8.UpdateString("AdrIela","quis minim cupidatat consequat sint")
loJsonParam8.UpdateString("AdrPilseta","sed laboris laborum occaecat")
loJsonParam8.UpdateString("AdrPasts","ut ")
loJsonParam8.UpdateString("IenVeids","laboris aute i")
loJsonParam8.UpdateInt("IzmDatums",10)
loJsonParam8.UpdateNumber("IenSumma","-3727298.2054616064")
loJsonParam8.UpdateNumber("NodLikme","75350436.87728763")
loJsonParam8.UpdateNumber("NodSumma","49772940.04344842")
loJsonParam8.UpdateString("JpKods","consectetur aliqua anim aliquip")
loJsonParam8.UpdateString("JpNosaukums","nostrud non")
loJsonParam8.UpdateString("Piezimes","aute o")
loJsonParam8.UpdateString("ATVK","qui laboris ut")
loReq.AddParam("TabulaJP",loJsonParam8.Emit())

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJsonParam9 = CreateObject('Chilkat.JsonObject')
loJsonParam9.UpdateString("Valsts","et enim irure deserunt")
loJsonParam9.UpdateString("AdrIela","do exercitation magna")
loJsonParam9.UpdateString("AdrPilseta","laboris ipsum")
loJsonParam9.UpdateString("AdrPasts","do")
loJsonParam9.UpdateString("IenVeids","Duis dolore dolor")
loJsonParam9.UpdateInt("IzmDatums",6)
loJsonParam9.UpdateNumber("IenSumma","-46097071.98561765")
loJsonParam9.UpdateNumber("NodLikme","55493653.82805306")
loJsonParam9.UpdateNumber("NodSumma","81797240.72361588")
loJsonParam9.UpdateString("JpKods","anim aliquip incididunt in")
loJsonParam9.UpdateString("JpNosaukums","velit tempor ut cupidatat")
loJsonParam9.UpdateString("Piezimes","deserunt laborum eu dol")
loJsonParam9.UpdateString("ATVK","nostrud nulla")
loReq.AddParam("TabulaJP",loJsonParam9.Emit())
loReq.AddParam("Precizejums","true")
loReq.AddParam("PrecizejamaisDokuments","35856446")
loReq.AddParam("PrecizejumaPamatojums","dolor laborum")

loReq.AddHeader("Accept","application/json")

loResp = loHttp.PostUrlEncoded("https://eds.vid.gov.lv/api/doc/inrv2",loReq)
IF (loHttp.LastMethodSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loReq
    RELEASE loJsonParam6
    RELEASE loJsonParam7
    RELEASE loJsonParam8
    RELEASE loJsonParam9
    CANCEL
ENDIF

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.StringBuilder')
loSbResponseBody = CreateObject('Chilkat.StringBuilder')
loResp.GetBodySb(loSbResponseBody)

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJResp = CreateObject('Chilkat.JsonObject')
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = 0

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + STR(lnRespStatusCode)
IF (lnRespStatusCode >= 400) THEN
    ? "Response Header:"
    ? loResp.Header
    ? "Failed."
    RELEASE loResp
    RELEASE loHttp
    RELEASE loReq
    RELEASE loJsonParam6
    RELEASE loJsonParam7
    RELEASE loJsonParam8
    RELEASE loJsonParam9
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

RELEASE loResp

RELEASE loHttp
RELEASE loReq
RELEASE loJsonParam6
RELEASE loJsonParam7
RELEASE loJsonParam8
RELEASE loJsonParam9
RELEASE loSbResponseBody
RELEASE loJResp

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'ParskGads=27511326'
	--data-urlencode 'Epasts=id ad dolor'
	--data-urlencode 'Talrunis=enim aute'
	--data-urlencode 'ParskMen=non tempor'
	--data-urlencode 'NmrKods='
	--data-urlencode 'TabulaFP={"Vards":"minim","Uzvards":"ad ex ut","Valsts":"consequat est","AdrIela":"ipsum quis","AdrPilseta":"s","AdrPasts":"enim ma","IenVeids":"labore ut dolor","IzmDatums":5,"IenSumma":68842244.30638918,"NodLikme":-4532744.78351821,"NodSumma":-73141137.23149602,"CitsPersKods":"enim fugiat incididunt nulla est","LrNmrKods":"laboris ","DzimDatums":"2000-01-31T00:00:00","ATVK":"et nisi"}'
	--data-urlencode 'TabulaFP={"Vards":"magna voluptate et","Uzvards":"id sit dolor","Valsts":"ad deserunt dolore nulla","AdrIela":"nostrud veniam","AdrPilseta":"velit Ut","AdrPasts":"Duis incididunt ","IenVeids":"aliqua minim Lorem mo","IzmDatums":17,"IenSumma":-96377012.18696697,"NodLikme":72181339.46018353,"NodSumma":7407312.243400812,"CitsPersKods":"reprehenderit tempor ullamco laboris eiusmod","LrNmrKods":"cill","DzimDatums":"2000-01-31T00:00:00","ATVK":"do m"}'
	--data-urlencode 'TabulaJP={"Valsts":"sint sed dolore","AdrIela":"quis minim cupidatat consequat sint","AdrPilseta":"sed laboris laborum occaecat","AdrPasts":"ut ","IenVeids":"laboris aute i","IzmDatums":10,"IenSumma":-3727298.2054616064,"NodLikme":75350436.87728763,"NodSumma":49772940.04344842,"JpKods":"consectetur aliqua anim aliquip","JpNosaukums":"nostrud non","Piezimes":"aute o","ATVK":"qui laboris ut"}'
	--data-urlencode 'TabulaJP={"Valsts":"et enim irure deserunt","AdrIela":"do exercitation magna","AdrPilseta":"laboris ipsum","AdrPasts":"do","IenVeids":"Duis dolore dolor","IzmDatums":6,"IenSumma":-46097071.98561765,"NodLikme":55493653.82805306,"NodSumma":81797240.72361588,"JpKods":"anim aliquip incididunt in","JpNosaukums":"velit tempor ut cupidatat","Piezimes":"deserunt laborum eu dol","ATVK":"nostrud nulla"}'
	--data-urlencode 'Precizejums=true'
	--data-urlencode 'PrecizejamaisDokuments=35856446'
	--data-urlencode 'PrecizejumaPamatojums=dolor laborum'
https://eds.vid.gov.lv/api/doc/inrv2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"IeIeN pārskats par izmaksām nerezidentiem\".",
  "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": "27511326",
          "description": "(Required) Taksācijas gads."
        },
        {
          "key": "Epasts",
          "value": "id ad dolor",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "enim aute",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "ParskMen",
          "value": "non tempor",
          "description": "Taksācijas mēneša kods (01-12)."
        },
        {
          "key": "NmrKods",
          "value": "",
          "description": "Nodokļu maksātāja reģistrācijas kods."
        },
        {
          "key": "TabulaFP",
          "value": "{\"Vards\":\"minim\",\"Uzvards\":\"ad ex ut\",\"Valsts\":\"consequat est\",\"AdrIela\":\"ipsum quis\",\"AdrPilseta\":\"s\",\"AdrPasts\":\"enim ma\",\"IenVeids\":\"labore ut dolor\",\"IzmDatums\":5,\"IenSumma\":68842244.30638918,\"NodLikme\":-4532744.78351821,\"NodSumma\":-73141137.23149602,\"CitsPersKods\":\"enim fugiat incididunt nulla est\",\"LrNmrKods\":\"laboris \",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"et nisi\"}",
          "description": "INRv2 datu tabula."
        },
        {
          "key": "TabulaFP",
          "value": "{\"Vards\":\"magna voluptate et\",\"Uzvards\":\"id sit dolor\",\"Valsts\":\"ad deserunt dolore nulla\",\"AdrIela\":\"nostrud veniam\",\"AdrPilseta\":\"velit Ut\",\"AdrPasts\":\"Duis incididunt \",\"IenVeids\":\"aliqua minim Lorem mo\",\"IzmDatums\":17,\"IenSumma\":-96377012.18696697,\"NodLikme\":72181339.46018353,\"NodSumma\":7407312.243400812,\"CitsPersKods\":\"reprehenderit tempor ullamco laboris eiusmod\",\"LrNmrKods\":\"cill\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"do m\"}",
          "description": "INRv2 datu tabula."
        },
        {
          "key": "TabulaJP",
          "value": "{\"Valsts\":\"sint sed dolore\",\"AdrIela\":\"quis minim cupidatat consequat sint\",\"AdrPilseta\":\"sed laboris laborum occaecat\",\"AdrPasts\":\"ut \",\"IenVeids\":\"laboris aute i\",\"IzmDatums\":10,\"IenSumma\":-3727298.2054616064,\"NodLikme\":75350436.87728763,\"NodSumma\":49772940.04344842,\"JpKods\":\"consectetur aliqua anim aliquip\",\"JpNosaukums\":\"nostrud non\",\"Piezimes\":\"aute o\",\"ATVK\":\"qui laboris ut\"}",
          "description": "INRv2 datu tabula."
        },
        {
          "key": "TabulaJP",
          "value": "{\"Valsts\":\"et enim irure deserunt\",\"AdrIela\":\"do exercitation magna\",\"AdrPilseta\":\"laboris ipsum\",\"AdrPasts\":\"do\",\"IenVeids\":\"Duis dolore dolor\",\"IzmDatums\":6,\"IenSumma\":-46097071.98561765,\"NodLikme\":55493653.82805306,\"NodSumma\":81797240.72361588,\"JpKods\":\"anim aliquip incididunt in\",\"JpNosaukums\":\"velit tempor ut cupidatat\",\"Piezimes\":\"deserunt laborum eu dol\",\"ATVK\":\"nostrud nulla\"}",
          "description": "INRv2 datu tabula."
        },
        {
          "key": "Precizejums",
          "value": "true",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "35856446",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "dolor laborum",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/inrv2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "inrv2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "ParskGads",
              "value": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "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": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "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": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "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": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "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": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "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": "94056525",
              "description": "(Required) Taksācijas gads."
            },
            {
              "key": "Epasts",
              "value": "sit amet",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "s",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "ParskMen",
              "value": "consequat Duis proident amet",
              "description": "Taksācijas mēneša kods (01-12)."
            },
            {
              "key": "NmrKods",
              "value": "ad in",
              "description": "Nodokļu maksātāja reģistrācijas kods."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"Ut Lorem\",\"Uzvards\":\"est velit occaecat pariatur\",\"Valsts\":\"ipsum do anim\",\"AdrIela\":\"adipisicing enim\",\"AdrPilseta\":\"esse adipisicing\",\"AdrPasts\":\"d\",\"IenVeids\":\"Duis commodo pariatur\",\"IzmDatums\":13,\"IenSumma\":-69485680.18456078,\"NodLikme\":-12161148.032470018,\"NodSumma\":-60496044.857110046,\"CitsPersKods\":\"nostrud dolore ut magna\",\"LrNmrKods\":\"in dolor i\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"ex\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaFP",
              "value": "{\"Vards\":\"incididunt\",\"Uzvards\":\"Lorem ad\",\"Valsts\":\"eiusmod Excepteur\",\"AdrIela\":\"exercitation laboris do\",\"AdrPilseta\":\"sed Du\",\"AdrPasts\":\"est\",\"IenVeids\":\"id exercitation quis ex\",\"IzmDatums\":10,\"IenSumma\":-21007691.486682713,\"NodLikme\":-49241262.5959747,\"NodSumma\":-99033168.43707816,\"CitsPersKods\":\"occaecat irure Excepteur veniam\",\"LrNmrKods\":\"enim eu v\",\"DzimDatums\":\"2000-01-31T00:00:00\",\"ATVK\":\"consectetur\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"anim proident labore est magna\",\"AdrIela\":\"ea ipsum esse\",\"AdrPilseta\":\"dolor consequat ut elit\",\"AdrPasts\":\"laboris reprehen\",\"IenVeids\":\"repreh\",\"IzmDatums\":20,\"IenSumma\":28547025.43119259,\"NodLikme\":64802313.68753353,\"NodSumma\":-97794271.19893703,\"JpKods\":\"Lorem culpa ex\",\"JpNosaukums\":\"do est nulla\",\"Piezimes\":\"nisi veniam velit dolore\",\"ATVK\":\"irure pariatur consequat tempor\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "TabulaJP",
              "value": "{\"Valsts\":\"aliqua magna ad officia\",\"AdrIela\":\"nulla aliqua nisi ut\",\"AdrPilseta\":\"et laboris laborum fugiat volup\",\"AdrPasts\":\"do\",\"IenVeids\":\"cillum dolor\",\"IzmDatums\":22,\"IenSumma\":-78729125.30394523,\"NodLikme\":45650428.28291386,\"NodSumma\":20614567.32063456,\"JpKods\":\"eu reprehenderit velit do ea\",\"JpNosaukums\":\"in dolor Duis elit sed\",\"Piezimes\":\"fugiat qu\",\"ATVK\":\"reprehenderit nulla officia\"}",
              "description": "INRv2 datu tabula."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-82936918",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "id dolore aliqua laboris",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/inrv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "inrv2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}