Chilkat Online Tools

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

Back to Collection Items

Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vReq
    Handle hoReq
    Handle hoJsonParam6
    Handle hoJsonParam7
    Handle hoJsonParam8
    Handle hoJsonParam9
    Variant vResp
    Handle hoResp
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sTemp1
    Boolean bTemp1

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

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Get Create (RefClass(cComChilkatHttpRequest)) To hoReq
    If (Not(IsComObjectCreated(hoReq))) Begin
        Send CreateComObject of hoReq
    End
    Send ComAddParam To hoReq "ParskGads" "27511326"
    Send ComAddParam To hoReq "Epasts" "id ad dolor"
    Send ComAddParam To hoReq "Talrunis" "enim aute"
    Send ComAddParam To hoReq "ParskMen" "non tempor"
    Send ComAddParam To hoReq "NmrKods" ""

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam6
    If (Not(IsComObjectCreated(hoJsonParam6))) Begin
        Send CreateComObject of hoJsonParam6
    End
    Get ComUpdateString Of hoJsonParam6 "Vards" "minim" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "Uzvards" "ad ex ut" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "Valsts" "consequat est" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "AdrIela" "ipsum quis" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "AdrPilseta" "s" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "AdrPasts" "enim ma" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "IenVeids" "labore ut dolor" To iSuccess
    Get ComUpdateInt Of hoJsonParam6 "IzmDatums" 5 To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "IenSumma" "68842244.30638918" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "NodLikme" "-4532744.78351821" To iSuccess
    Get ComUpdateNumber Of hoJsonParam6 "NodSumma" "-73141137.23149602" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "CitsPersKods" "enim fugiat incididunt nulla est" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "LrNmrKods" "laboris " To iSuccess
    Get ComUpdateString Of hoJsonParam6 "DzimDatums" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateString Of hoJsonParam6 "ATVK" "et nisi" To iSuccess
    Get ComEmit Of hoJsonParam6 To sTemp1
    Send ComAddParam To hoReq "TabulaFP" sTemp1

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam7
    If (Not(IsComObjectCreated(hoJsonParam7))) Begin
        Send CreateComObject of hoJsonParam7
    End
    Get ComUpdateString Of hoJsonParam7 "Vards" "magna voluptate et" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "Uzvards" "id sit dolor" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "Valsts" "ad deserunt dolore nulla" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "AdrIela" "nostrud veniam" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "AdrPilseta" "velit Ut" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "AdrPasts" "Duis incididunt " To iSuccess
    Get ComUpdateString Of hoJsonParam7 "IenVeids" "aliqua minim Lorem mo" To iSuccess
    Get ComUpdateInt Of hoJsonParam7 "IzmDatums" 17 To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "IenSumma" "-96377012.18696697" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "NodLikme" "72181339.46018353" To iSuccess
    Get ComUpdateNumber Of hoJsonParam7 "NodSumma" "7407312.243400812" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "CitsPersKods" "reprehenderit tempor ullamco laboris eiusmod" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "LrNmrKods" "cill" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "DzimDatums" "2000-01-31T00:00:00" To iSuccess
    Get ComUpdateString Of hoJsonParam7 "ATVK" "do m" To iSuccess
    Get ComEmit Of hoJsonParam7 To sTemp1
    Send ComAddParam To hoReq "TabulaFP" sTemp1

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam8
    If (Not(IsComObjectCreated(hoJsonParam8))) Begin
        Send CreateComObject of hoJsonParam8
    End
    Get ComUpdateString Of hoJsonParam8 "Valsts" "sint sed dolore" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "AdrIela" "quis minim cupidatat consequat sint" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "AdrPilseta" "sed laboris laborum occaecat" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "AdrPasts" "ut " To iSuccess
    Get ComUpdateString Of hoJsonParam8 "IenVeids" "laboris aute i" To iSuccess
    Get ComUpdateInt Of hoJsonParam8 "IzmDatums" 10 To iSuccess
    Get ComUpdateNumber Of hoJsonParam8 "IenSumma" "-3727298.2054616064" To iSuccess
    Get ComUpdateNumber Of hoJsonParam8 "NodLikme" "75350436.87728763" To iSuccess
    Get ComUpdateNumber Of hoJsonParam8 "NodSumma" "49772940.04344842" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "JpKods" "consectetur aliqua anim aliquip" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "JpNosaukums" "nostrud non" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "Piezimes" "aute o" To iSuccess
    Get ComUpdateString Of hoJsonParam8 "ATVK" "qui laboris ut" To iSuccess
    Get ComEmit Of hoJsonParam8 To sTemp1
    Send ComAddParam To hoReq "TabulaJP" sTemp1

    Get Create (RefClass(cComChilkatJsonObject)) To hoJsonParam9
    If (Not(IsComObjectCreated(hoJsonParam9))) Begin
        Send CreateComObject of hoJsonParam9
    End
    Get ComUpdateString Of hoJsonParam9 "Valsts" "et enim irure deserunt" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "AdrIela" "do exercitation magna" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "AdrPilseta" "laboris ipsum" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "AdrPasts" "do" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "IenVeids" "Duis dolore dolor" To iSuccess
    Get ComUpdateInt Of hoJsonParam9 "IzmDatums" 6 To iSuccess
    Get ComUpdateNumber Of hoJsonParam9 "IenSumma" "-46097071.98561765" To iSuccess
    Get ComUpdateNumber Of hoJsonParam9 "NodLikme" "55493653.82805306" To iSuccess
    Get ComUpdateNumber Of hoJsonParam9 "NodSumma" "81797240.72361588" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "JpKods" "anim aliquip incididunt in" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "JpNosaukums" "velit tempor ut cupidatat" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "Piezimes" "deserunt laborum eu dol" To iSuccess
    Get ComUpdateString Of hoJsonParam9 "ATVK" "nostrud nulla" To iSuccess
    Get ComEmit Of hoJsonParam9 To sTemp1
    Send ComAddParam To hoReq "TabulaJP" sTemp1
    Send ComAddParam To hoReq "Precizejums" "true"
    Send ComAddParam To hoReq "PrecizejamaisDokuments" "35856446"
    Send ComAddParam To hoReq "PrecizejumaPamatojums" "dolor laborum"

    Send ComAddHeader To hoReq "Accept" "application/json"

    Get pvComObject of hoReq to vReq
    Get ComPostUrlEncoded Of hoHttp "https://eds.vid.gov.lv/api/doc/inrv2" vReq To vResp
    If (IsComObject(vResp)) Begin
        Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
        Set pvComObject Of hoResp To vResp
    End
    Get ComLastMethodSuccess Of hoHttp To bTemp1
    If (bTemp1 = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComGetBodySb Of hoResp vSbResponseBody To iSuccess

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComStatusCode Of hoResp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComHeader Of hoResp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Send Destroy of hoResp
        Procedure_Return
    End

    Send Destroy of hoResp


End_Procedure

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": ""
    }
  ]
}