Chilkat Online Tools

unicodeCpp / EDS API / Izveidot dokumentu "Paziņojums par PVN samaksu".

Back to Collection Items

#include <CkHttpW.h>
#include <CkHttpRequestW.h>
#include <CkJsonObjectW.h>
#include <CkHttpResponseW.h>
#include <CkStringBuilderW.h>

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

    CkHttpW http;
    bool success;

    CkHttpRequestW req;
    req.AddParam(L"Epasts",L"eiusmod deserunt et");
    req.AddParam(L"Talrunis",L"ci");
    req.AddParam(L"IesniegsanasIemesls",L"dolor nulla consectetur");
    req.AddParam(L"IzslegsanasDatums",L"2000-01-31T00:00:00");

    CkJsonObjectW jsonParam5;
    jsonParam5.UpdateString(L"DarVeids",L"cupidatat enim irure in");
    jsonParam5.UpdateNumber(L"VertibaDar",L"-63681398.40149607");
    jsonParam5.UpdateNumber(L"PvnVertiba",L"-53125710.538811654");
    jsonParam5.UpdateString(L"SamDatums",L"2000-01-31T00:00:00");
    jsonParam5.UpdateString(L"DpValsts",L"dolore reprehenderit");
    jsonParam5.UpdateString(L"DpNumurs",L"ex et");
    jsonParam5.UpdateString(L"DpNosaukums",L"non proident");
    jsonParam5.UpdateString(L"MiNumurs",L"ad enim");
    jsonParam5.UpdateString(L"DokVeids",L"dolor");
    jsonParam5.UpdateString(L"DokNumurs",L"irure proi");
    jsonParam5.UpdateString(L"DokDatums",L"2000-01-31T00:00:00");
    jsonParam5.UpdateString(L"Piezimes",L"in ea et");
    req.AddParam(L"Tabula",jsonParam5.emit());

    CkJsonObjectW jsonParam6;
    jsonParam6.UpdateString(L"DarVeids",L"sint officia irure pariatur");
    jsonParam6.UpdateNumber(L"VertibaDar",L"-43606258.34851573");
    jsonParam6.UpdateNumber(L"PvnVertiba",L"75375256.44965553");
    jsonParam6.UpdateString(L"SamDatums",L"2000-01-31T00:00:00");
    jsonParam6.UpdateString(L"DpValsts",L"velit ullamco");
    jsonParam6.UpdateString(L"DpNumurs",L"quis");
    jsonParam6.UpdateString(L"DpNosaukums",L"enim dol");
    jsonParam6.UpdateString(L"MiNumurs",L"ullamco am");
    jsonParam6.UpdateString(L"DokVeids",L"Excepteur exercitation nostrud eiusmod");
    jsonParam6.UpdateString(L"DokNumurs",L"qui");
    jsonParam6.UpdateString(L"DokDatums",L"2000-01-31T00:00:00");
    jsonParam6.UpdateString(L"Piezimes",L"sed exercitation magna incididunt");
    req.AddParam(L"Tabula",jsonParam6.emit());
    req.AddParam(L"NmrKods",L"minim aute");
    req.AddParam(L"Precizejums",L"false");
    req.AddParam(L"PrecizejamaisDokuments",L"-70337099");
    req.AddParam(L"PrecizejumaPamatojums",L"in consectetur ad laborum cillum");

    req.AddHeader(L"Accept",L"application/json");

    CkHttpResponseW *resp = http.PostUrlEncoded(L"https://eds.vid.gov.lv/api/doc/pvnsv2",req);
    if (http.get_LastMethodSuccess() == false) {
        wprintf(L"%s\n",http.lastErrorText());
        return;
    }

    CkStringBuilderW sbResponseBody;
    resp->GetBodySb(sbResponseBody);

    CkJsonObjectW jResp;
    jResp.LoadSb(sbResponseBody);
    jResp.put_EmitCompact(false);

    wprintf(L"Response Body:\n");
    wprintf(L"%s\n",jResp.emit());

    int respStatusCode = resp->get_StatusCode();
    wprintf(L"Response Status Code = %d\n",respStatusCode);
    if (respStatusCode >= 400) {
        wprintf(L"Response Header:\n");
        wprintf(L"%s\n",resp->header());
        wprintf(L"Failed.\n");
        delete resp;
        return;
    }

    delete resp;
    }

Curl Command

curl -X POST
	-H "Content-Type: application/x-www-form-urlencoded"
	-H "Accept: application/json"
	--data-urlencode 'Epasts=eiusmod deserunt et'
	--data-urlencode 'Talrunis=ci'
	--data-urlencode 'IesniegsanasIemesls=dolor nulla consectetur'
	--data-urlencode 'IzslegsanasDatums=2000-01-31T00:00:00'
	--data-urlencode 'Tabula={"DarVeids":"cupidatat enim irure in","VertibaDar":-63681398.40149607,"PvnVertiba":-53125710.538811654,"SamDatums":"2000-01-31T00:00:00","DpValsts":"dolore reprehenderit","DpNumurs":"ex et","DpNosaukums":"non proident","MiNumurs":"ad enim","DokVeids":"dolor","DokNumurs":"irure proi","DokDatums":"2000-01-31T00:00:00","Piezimes":"in ea et"}'
	--data-urlencode 'Tabula={"DarVeids":"sint officia irure pariatur","VertibaDar":-43606258.34851573,"PvnVertiba":75375256.44965553,"SamDatums":"2000-01-31T00:00:00","DpValsts":"velit ullamco","DpNumurs":"quis","DpNosaukums":"enim dol","MiNumurs":"ullamco am","DokVeids":"Excepteur exercitation nostrud eiusmod","DokNumurs":"qui","DokDatums":"2000-01-31T00:00:00","Piezimes":"sed exercitation magna incididunt"}'
	--data-urlencode 'NmrKods=minim aute'
	--data-urlencode 'Precizejums=false'
	--data-urlencode 'PrecizejamaisDokuments=-70337099'
	--data-urlencode 'PrecizejumaPamatojums=in consectetur ad laborum cillum'
https://eds.vid.gov.lv/api/doc/pvnsv2

Postman Collection Item JSON

{
  "name": "Izveidot dokumentu \"Paziņojums par PVN samaksu\".",
  "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": "eiusmod deserunt et",
          "description": "(Required) Epasta adrese."
        },
        {
          "key": "Talrunis",
          "value": "ci",
          "description": "(Required) Iesniedzēja tālrunis."
        },
        {
          "key": "IesniegsanasIemesls",
          "value": "dolor nulla consectetur",
          "description": "(Required) Iesniegšanas iemesls."
        },
        {
          "key": "IzslegsanasDatums",
          "value": "2000-01-31T00:00:00",
          "description": "Izslēgšanas datums."
        },
        {
          "key": "Tabula",
          "value": "{\"DarVeids\":\"cupidatat enim irure in\",\"VertibaDar\":-63681398.40149607,\"PvnVertiba\":-53125710.538811654,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"dolore reprehenderit\",\"DpNumurs\":\"ex et\",\"DpNosaukums\":\"non proident\",\"MiNumurs\":\"ad enim\",\"DokVeids\":\"dolor\",\"DokNumurs\":\"irure proi\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"in ea et\"}",
          "description": "PVNSv2 datu tabula."
        },
        {
          "key": "Tabula",
          "value": "{\"DarVeids\":\"sint officia irure pariatur\",\"VertibaDar\":-43606258.34851573,\"PvnVertiba\":75375256.44965553,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit ullamco\",\"DpNumurs\":\"quis\",\"DpNosaukums\":\"enim dol\",\"MiNumurs\":\"ullamco am\",\"DokVeids\":\"Excepteur exercitation nostrud eiusmod\",\"DokNumurs\":\"qui\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sed exercitation magna incididunt\"}",
          "description": "PVNSv2 datu tabula."
        },
        {
          "key": "NmrKods",
          "value": "minim aute ",
          "description": "Nodokļu maksātāja kods."
        },
        {
          "key": "Precizejums",
          "value": "false",
          "description": "Vai dokuments ir precizējums."
        },
        {
          "key": "PrecizejamaisDokuments",
          "value": "-70337099",
          "description": "Precizējamā dokumenta numurs."
        },
        {
          "key": "PrecizejumaPamatojums",
          "value": "in consectetur ad laborum cillum",
          "description": "Precizējuma pamatojums."
        }
      ]
    },
    "url": {
      "raw": "{{baseUrl}}/api/doc/pvnsv2",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "doc",
        "pvnsv2"
      ]
    }
  },
  "response": [
    {
      "name": "OK",
      "originalRequest": {
        "method": "POST",
        "header": [
        ],
        "body": {
          "mode": "urlencoded",
          "urlencoded": [
            {
              "key": "Epasts",
              "value": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "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": "id enim ut occaecat",
              "description": "(Required) Epasta adrese."
            },
            {
              "key": "Talrunis",
              "value": "cupidat",
              "description": "(Required) Iesniedzēja tālrunis."
            },
            {
              "key": "IesniegsanasIemesls",
              "value": "velit",
              "description": "(Required) Iesniegšanas iemesls."
            },
            {
              "key": "IzslegsanasDatums",
              "value": "2000-01-31T00:00:00",
              "description": "Izslēgšanas datums."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"voluptate\",\"VertibaDar\":-12859357.727299824,\"PvnVertiba\":-52428668.116634734,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"velit culpa\",\"DpNumurs\":\"s\",\"DpNosaukums\":\"laboris esse\",\"MiNumurs\":\"ullamc\",\"DokVeids\":\"Ut adipisicing\",\"DokNumurs\":\"moll\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"sunt\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "Tabula",
              "value": "{\"DarVeids\":\"esse in ex\",\"VertibaDar\":42558909.33699283,\"PvnVertiba\":34138678.45265223,\"SamDatums\":\"2000-01-31T00:00:00\",\"DpValsts\":\"anim dolor dolore et labore\",\"DpNumurs\":\"ex commodo \",\"DpNosaukums\":\"qui enim\",\"MiNumurs\":\"nisi\",\"DokVeids\":\"culpa exercitation in sint\",\"DokNumurs\":\"non commodo velit\",\"DokDatums\":\"2000-01-31T00:00:00\",\"Piezimes\":\"deserunt aliquip mollit ut\"}",
              "description": "PVNSv2 datu tabula."
            },
            {
              "key": "NmrKods",
              "value": "sunt nul",
              "description": "Nodokļu maksātāja kods."
            },
            {
              "key": "Precizejums",
              "value": "false",
              "description": "Vai dokuments ir precizējums."
            },
            {
              "key": "PrecizejamaisDokuments",
              "value": "-33723634",
              "description": "Precizējamā dokumenta numurs."
            },
            {
              "key": "PrecizejumaPamatojums",
              "value": "ex velit dolor",
              "description": "Precizējuma pamatojums."
            }
          ]
        },
        "url": {
          "raw": "{{baseUrl}}/api/doc/pvnsv2",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "doc",
            "pvnsv2"
          ]
        }
      },
      "status": "Too Many Requests",
      "code": 429,
      "_postman_previewlanguage": "text",
      "header": [
        {
          "key": "Content-Type",
          "value": "text/plain"
        }
      ],
      "cookie": [
      ],
      "body": ""
    }
  ]
}